Ticket #21993: py25-psycopg2-2.0.13.diff
File py25-psycopg2-2.0.13.diff, 3.2 KB (added by Themanwithoutaplan, 15 years ago) |
---|
-
Users/charlieclark/temp/MacPorts/py25-psycopg2/Portfile
1 # -*- 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=41 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 2 2 # $Id$ 3 3 4 4 PortSystem 1.0 5 5 PortGroup python25 1.0 6 6 7 7 name py25-psycopg2 8 version 2.0.1 28 version 2.0.13 9 9 categories python databases 10 maintainers sncopenmaintainer10 maintainers openmaintainer 11 11 platforms darwin freebsd 12 12 description A python DBAPI-2.0 ompliant database adapter for postgresql 13 13 long_description Psycopg2 is a postgresql database adapter for python. \ … … 15 15 designed for heavily multi-threaded applications \ 16 16 featuring connection pooling. 17 17 18 homepage http://www.initd.org/software/initd/psycopg/ 19 master_sites http://initd.org/pub/software/psycopg/ \ 20 http://initd.org/pub/software/psycopg/PSYCOPG-2-0/ 18 homepage http://initd.org/ 19 master_sites http://initd.org/pub/software/psycopg/ 20 distname psycopg2-${version} 21 checksums md5 f520260595f4fcf035d26cfd57a75f19 \ 22 sha1 859725d0c830dc3590cb5666c8465bd29ab167cc \ 23 rmd160 6099f593ea1f05b78b6f2c3c4106b86cbcab7386 21 24 22 distname psycopg2-${version}23 checksums md5 5c8080d0d0568479f041bb8534caf1f8 \24 sha1 a5649fced3ffc9968b21421023239f95a3a21ad3 \25 rmd160 eff28c1ab131ee55b42e0c129df88cebd79f38fd26 27 25 depends_lib-append port:openssl 28 26 29 patchfiles patch-setup.cfg30 31 27 if {![variant_isset postgresql82] && ![variant_isset postgresql83] && ![variant_isset postgresql84]} { 32 28 default_variants +postgresql84 33 29 } … … 36 32 depends_lib-append port:postgresql82 37 33 38 34 post-patch { 35 reinplace \ 36 s|@PG_CONFIG@|${prefix}/lib/postgresql82/bin/pg_config|g \ 37 ${worksrcpath}/setup.cfg 38 } 39 post-patch { 39 40 reinplace \ 40 41 s|@PG_CONFIG@|${prefix}/lib/postgresql82/bin/pg_config|g \ 41 42 ${worksrcpath}/setup.cfg … … 43 44 } 44 45 45 46 variant postgresql83 conflicts postgresql82 postgresql84 description "Build using postgresql v8.3" { 46 depends_lib-append 47 depends_lib-append port:postgresql83 47 48 48 49 post-patch { 49 50 reinplace \ … … 53 54 } 54 55 55 56 variant postgresql84 conflicts postgresql82 postgresql83 description "Build using postgresql v8.4" { 56 depends_lib-append 57 depends_lib-append port:postgresql84 57 58 58 59 post-patch { 59 60 reinplace \ … … 62 63 } 63 64 } 64 65 65 livecheck.url ${master_sites} 66 livecheck.regex psycopg2-(\\d+\\.\\d+(\\.\\d+)?)\\.tar\\.gz 66 livecheck.url ${master_sites} 67 livecheck.regex "psycopg2-(\\d+\\.\\d+(\\.\\d+)?)" 68 No newline at end of file