the Fink project is an effort to port
popular Unix programs to Mac OS X
Info2: <<
Package: psycopg2-py%type_pkg[python]
Version: 2.4.4
Revision: 1
Distribution: (%type_pkg[python] = 24) 10.4, (%type_pkg[python] = 24) 10.5
Description: PostgreSQL database adapter for Python
License: LGPL
Maintainer: Kurt Schwehr
Type: python (2.4 2.5 2.6 2.7)
# Not sure on python 3.1. Need 2to3-python31 to be run before setup.py gets run.
# Dependencies:
BuildDepends: python%type_pkg[python], postgresql90-dev
# python-mx-py%type_pkg[python]
Depends: python%type_pkg[python], postgresql90-shlibs
Recommends: postgresql90, postgis90
# Unpack Phase:
Source-MD5: 639e014ea9ce3aa3306724f12d16d79b
Source: http://pypi.python.org/packages/source/p/psycopg2/psycopg2-%v.tar.gz
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: <<
PYTHONPATH=`pwd` %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.
<<
Homepage: http://initd.org/pub/software/psycopg2
DescPackaging: <<
In order for the -m maintainer tests to work, you need to
run these two commands first:
createdb psycopg2_test
createuser root
No need for python-mx date module. Now uses built in datetime.
<<
<<