1 | # $Id: Portfile 27198 2007-07-24 08:27:03Z ryandesign@macports.org $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | PortGroup python24 1.0 |
---|
5 | |
---|
6 | name py-psycopg2 |
---|
7 | version 2.0.5.1 |
---|
8 | categories python databases |
---|
9 | maintainers landonf@macports.org |
---|
10 | platforms darwin freebsd |
---|
11 | description A python DBAPI-2.0 ompliant database adapter for postgresql |
---|
12 | long_description Psycopg2 is a postgresql database adapter for python. \ |
---|
13 | It's fully compliant to pythons DBAPI-2.0. psycopg is \ |
---|
14 | designed for heavily multi-threaded applications \ |
---|
15 | featuring connection pooling. |
---|
16 | |
---|
17 | homepage http://www.initd.org/software/initd/psycopg/ |
---|
18 | master_sites http://initd.org/pub/software/psycopg/ \ |
---|
19 | http://initd.org/pub/software/psycopg/PSYCOPG-2-0/ |
---|
20 | distname psycopg2-${version} |
---|
21 | checksums md5 052e4b97dab47708fdcdc36ffb25af66 |
---|
22 | |
---|
23 | depends_lib port:postgresql81 \ |
---|
24 | port:python24 \ |
---|
25 | port:openssl |
---|
26 | |
---|
27 | patchfiles patch-setup.cfg |
---|
28 | |
---|
29 | post-patch { |
---|
30 | reinplace \ |
---|
31 | s|@PG_CONFIG@|${prefix}/lib/postgresql81/bin/pg_config|g \ |
---|
32 | ${worksrcpath}/setup.cfg |
---|
33 | } |
---|