Ticket #18586: Portfile.2

File Portfile.2, 986 bytes (added by danger@…, 15 years ago)

updated Portfile for 2.0.9 release

Line 
1# $Id: Portfile 27198 2007-07-24 08:27:03Z ryandesign@macports.org $
2
3PortSystem 1.0
4PortGroup python24 1.0
5
6name                    py-psycopg2
7version                 2.0.5.1
8categories              python databases
9maintainers             landonf@macports.org
10platforms               darwin freebsd
11description             A python DBAPI-2.0 ompliant database adapter for postgresql
12long_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
17homepage                http://www.initd.org/software/initd/psycopg/
18master_sites            http://initd.org/pub/software/psycopg/ \
19                        http://initd.org/pub/software/psycopg/PSYCOPG-2-0/
20distname                psycopg2-${version}
21checksums               md5 052e4b97dab47708fdcdc36ffb25af66
22
23depends_lib             port:postgresql81 \
24                        port:python24 \
25                        port:openssl
26
27patchfiles              patch-setup.cfg
28
29post-patch              {
30        reinplace \
31                s|@PG_CONFIG@|${prefix}/lib/postgresql81/bin/pg_config|g \
32                ${worksrcpath}/setup.cfg
33}