the Fink project is an effort to port
popular Unix programs to Mac OS X
Info2: <<
# Mac OS X Configuration and Installation
# Fink - http://fink.sourceforge.net/
Package: psycopg2-py%type_pkg[python]
Version: 2.0.7
Revision: 1
# Description: PostgreSQL for Python %type_raw[python]
Description: PostgreSQL database adapter for Python
License: GPL
Maintainer: Kurt Schwehr
Type: python (2.4 2.5)
# Dependencies:
BuildDepends: python%type_pkg[python], postgresql83-dev
Depends: python%type_pkg[python], python-mx-py%type_pkg[python], postgresql83-shlibs
Recommends: postgresql83
# Unpack Phase:
Source-MD5: 39a2a2ec16f031d2bb1c54de403d4d77
# Source: http://initd.org/pub/software/psycopg/psycopg2-%v.tar.gz
Source: mirror:custom:psycopg2-%v.tar.gz
CustomMirror: <<
Primary: http://initd.org/pub/software/psycopg/
Secondary: http://initd.org/pub/software/psycopg/PSYCOPG-2-0/
<<
# Patch Phase:
# Compile Phase:
CompileScript: <<
%p/bin/python%type_raw[python] setup.py build
<<
# Test Phase:
# Must create role "nobody" or "root" in the database.
# Also note this can only be run after psycopg2
# is installed. Need more magic to run it before.
# As of September 30, 2006 results are:
# Ran 35 tests in 2.196s
# FAILED (failures=2, errors=1)
# Maintainer Notified.
InfoTest: <<
TestScript: <<
%p/bin/python%type_raw[python] tests/test_psycopg2_dbapi20.py || exit 2
<<
<<
#Install Phase:
DocFiles: AUTHORS ChangeLog INSTALL README
InstallScript: <<
%p/bin/python%type_raw[python] setup.py install --prefix=%p --root=%d
<<
# Additional Info
DescDetail: <<
psycopg 2 is an almost complete rewrite of psycopg. It still supports
all the features of psycopg but adds real adaptation for Python to
PostgreSQL type conversions, asynchronous queries, support for the
Python built-in datetime module and the new (Python 2.4) Decimal type.
psycopg2 is a PostgreSQL database adapter for the Python programming
language. It was written from scratch with the aim of being very small
and fast, and stable as a rock. The main advantages of psycopg2 are
that it supports the full Python DBAPI-2.0 and being thread safe at
level 2.
Wiki is at http://initd.org/tracker/psycopg/wiki/PsycopgTwo.
<<
DescUsage: <<
<<
HomePage: http://initd.org/projects/psycopg2
DescPackaging: <<
Previous maintainer: Neil Tiffin
<<
<<