# -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4 # $Id$ PortSystem 1.0 PortGroup python25 1.0 name py25-psycopg2 version 2.2.2 categories python databases maintainers snc openmaintainer platforms darwin freebsd description A python DBAPI-2.0 ompliant database adapter for postgresql long_description Psycopg2 is a postgresql database adapter for python. \ It's fully compliant to pythons DBAPI-2.0. psycopg is \ designed for heavily multi-threaded applications \ featuring connection pooling. homepage http://www.initd.org/software/initd/psycopg/ master_sites http://initd.org/pub/software/psycopg/ \ http://initd.org/pub/software/psycopg/PSYCOPG-2-0/ distname psycopg2-${version} checksums sha1 850f6bfa2bf986376b45e49334b7f153a33e4960 \ rmd160 df51d6bfe81a603cfac54afe2c5eb07de165c0ab depends_lib-append port:openssl patchfiles patch-setup.cfg if {![variant_isset postgresql83] && ![variant_isset postgresql84] && ![variant_isset postgresql90]} { default_variants +postgresql90 } variant postgresql83 conflicts postgresql84 postgresql90 description "Build using postgresql v8.3" { depends_lib-append port:postgresql83 post-patch { reinplace \ s|@PG_CONFIG@|${prefix}/lib/postgresql83/bin/pg_config|g \ ${worksrcpath}/setup.cfg } } variant postgresql84 conflicts postgresql83 postgresql90 description "Build using postgresql v8.4" { depends_lib-append port:postgresql84 post-patch { reinplace \ s|@PG_CONFIG@|${prefix}/lib/postgresql84/bin/pg_config|g \ ${worksrcpath}/setup.cfg } } variant postgresql90 conflicts postgresql83 postgresql84 description "Build using postgresql v9.0" { depends_lib-append port:postgresql90 post-patch { reinplace \ s|@PG_CONFIG@|${prefix}/lib/postgresql90/bin/pg_config|g \ ${worksrcpath}/setup.cfg } } livecheck.url ${master_sites} livecheck.regex psycopg2-(\\d+\\.\\d+(\\.\\d+)?)\\.tar\\.gz