the Fink project is an effort to port
popular Unix programs to Mac OS X
Info2: <<
#GCC: 4.0
Package: sqlobject-py%type_pkg[python]
Version: 0.10.2
Revision: 1
Description: Python database Object-Relational Manager
DescDetail: <<
SQLObject is a popular Object Relational Manager for providing an
object interface to your database, with tables as classes, rows as
instances, and columns as attributes.
SQLObject includes a Python-object-based query language that makes SQL
more abstract, and provides substantial database independence for
applications.
Supports MySQL, PostgreSQL, SQLite, Firebird, Sybase, and MaxDB
(SAPDB).
<<
Source: http://cheeseshop.python.org/packages/source/S/SQLObject/SQLObject-%v.tar.gz
Source-MD5: 6ef1eb9464c08743fd25d8c10dae62af
Type: python (2.5)
Depends: python%type_pkg[python], formencode-py%type_pkg[python]
BuildDepends: setuptools-py%type_pkg[python]
Conflicts: sqlobject-py%type_pkg[python]-bin
CompileScript: <<
echo Skipping build
<<
InstallScript: <<
%p/bin/python%type_raw[python] setup.py install --root=%d
mv %i/bin/sqlobject-admin %i/bin/sqlobject-admin%type_raw[python]
#(cd %i/bin && ln -s sqlobject-admin%type_raw[python] sqlobject-admin)
<<
DocFiles: MANIFEST.in release PKG-INFO README.txt
PostInstScript: <<
update-alternatives --install %p/bin/sqlobject-admin sqlobject-admin %p/bin/sqlobject-admin%type_raw[python] %type_pkg[python]
<<
PreRmScript: <<
if [ $1 != "upgrade" ]; then
update-alternatives --remove sqlobject-admin %p/bin/sqlobject-admin%type_raw[python]
fi
<<
DescPort: <<
Does not depend on a database package because it can use anyone of
many. sqlite3 comes with python >= 2.5
<<
License: LGPL
Homepage: http://sqlobject.org/
Maintainer: Kurt Schwehr
# Info2
<<