5 | | name py-psycopg2 |
6 | | version 2.0.5.1 |
7 | | categories python databases |
8 | | maintainers landonf |
9 | | platforms darwin freebsd |
10 | | description A python DBAPI-2.0 ompliant database adapter for postgresql |
11 | | long_description Psycopg2 is a postgresql database adapter for python. \ |
12 | | It's fully compliant to pythons DBAPI-2.0. psycopg is \ |
13 | | designed for heavily multi-threaded applications \ |
14 | | featuring connection pooling. |
| 6 | name py-psycopg2 |
| 7 | version 2.0.13 |
| 8 | categories python databases |
| 9 | maintainers openmaintainer |
| 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 | | homepage http://www.initd.org/software/initd/psycopg/ |
17 | | master_sites http://initd.org/pub/software/psycopg/ \ |
18 | | http://initd.org/pub/software/psycopg/PSYCOPG-2-0/ |
19 | | distname psycopg2-${version} |
20 | | checksums md5 052e4b97dab47708fdcdc36ffb25af66 |
| 17 | homepage http://initd.org/ |
| 18 | master_sites http://initd.org/pub/software/psycopg/ \ |
| 19 | |
| 20 | distname psycopg2-${version} |
| 21 | checksums md5 f520260595f4fcf035d26cfd57a75f19 \ |
| 22 | sha1 859725d0c830dc3590cb5666c8465bd29ab167cc \ |
| 23 | rmd160 6099f593ea1f05b78b6f2c3c4106b86cbcab7386 |
| 33 | |
| 34 | variant postgresql82 conflicts postgresql83 postgresql84 description "Build using postgresql v8.2" { |
| 35 | depends_lib-append port:postgresql82 |
| 36 | |
| 37 | post-patch { |
| 38 | reinplace \ |
| 39 | s|@PG_CONFIG@|${prefix}/lib/postgresql82/bin/pg_config|g \ |
| 40 | ${worksrcpath}/setup.cfg |
| 41 | } |
| 42 | } |
| 43 | |
| 44 | variant postgresql83 conflicts postgresql82 postgresql84 description "Build using postgresql v8.3" { |
| 45 | depends_lib-append port:postgresql83 |
| 46 | |
| 47 | post-patch { |
| 48 | reinplace \ |
| 49 | s|@PG_CONFIG@|${prefix}/lib/postgresql83/bin/pg_config|g \ |
| 50 | ${worksrcpath}/setup.cfg |
| 51 | } |
| 52 | } |
| 53 | |
| 54 | variant postgresql84 conflicts postgresql82 postgresql83 description "Build using postgresql v8.4" { |
| 55 | depends_lib-append port:postgresql84 |
| 56 | |
| 57 | post-patch { |
| 58 | reinplace \ |
| 59 | s|@PG_CONFIG@|${prefix}/lib/postgresql84/bin/pg_config|g \ |
| 60 | ${worksrcpath}/setup.cfg |
| 61 | } |
| 62 | } |
| 63 | |
| 64 | livecheck.url ${master_sites} |
| 65 | livecheck.regex "psycopg2-(\\d+\\.\\d+(\\.\\d+)?)" |