Changeset 82250
- Timestamp:
- 08/11/11 11:16:51 (4 years ago)
- Location:
- trunk/dports/python
- Files:
-
- 3 deleted
- 1 edited
- 1 moved
-
py-psycopg2/Portfile (modified) (2 diffs)
-
py-psycopg2/files/patch-setup.cfg.diff (moved) (moved from trunk/dports/python/py-psycopg2/files/patch-setup.cfg)
-
py25-psycopg2 (deleted)
-
py26-psycopg2 (deleted)
-
py27-psycopg2 (deleted)
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/python/py-psycopg2/Portfile
r69520 r82250 2 2 3 3 PortSystem 1.0 4 PortGroup python 241.04 PortGroup python 1.0 5 5 6 6 name py-psycopg2 7 version 2.0.5.1 8 revision 1 7 version 2.4.2 8 python.versions 24 25 26 27 9 python.default_version 27 9 10 categories python databases 10 maintainers landonf11 maintainers snc openmaintainer 11 12 platforms darwin freebsd 12 13 description A python DBAPI-2.0 ompliant database adapter for postgresql … … 17 18 18 19 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/ 20 21 set branch [join [lrange [split ${version} .] 0 1] -] 22 master_sites http://www.psycopg.org/psycopg/tarballs/PSYCOPG-${branch}/ 21 23 distname psycopg2-${version} 22 checksums md5 052e4b97dab47708fdcdc36ffb25af6623 24 24 depends_lib port:postgresql81 \ 25 port:python24 \ 26 port:openssl 25 checksums rmd160 ec0fe7573260773b5e701f00ea365a1b7d4cc329 \ 26 sha256 16c2ad8b19039888354944c75f25da40c22f91a79d230ed2aedeabf9d3b585b9 27 27 28 patchfiles patch-setup.cfg 28 if {$subport != $name} { 29 depends_lib-append port:openssl 29 30 30 post-patch { 31 reinplace \ 32 s|@PG_CONFIG@|${prefix}/lib/postgresql81/bin/pg_config|g \ 33 ${worksrcpath}/setup.cfg 31 patchfiles patch-setup.cfg.diff 32 33 post-patch { 34 35 if {[variant_isset postgresql83]} { 36 reinplace \ 37 s|@PG_CONFIG@|${prefix}/lib/postgresql83/bin/pg_config|g \ 38 ${worksrcpath}/setup.cfg 39 } 40 41 if {[variant_isset postgresql84]} { 42 reinplace \ 43 s|@PG_CONFIG@|${prefix}/lib/postgresql84/bin/pg_config|g \ 44 ${worksrcpath}/setup.cfg 45 } 46 47 if {[variant_isset postgresql90]} { 48 reinplace \ 49 s|@PG_CONFIG@|${prefix}/lib/postgresql90/bin/pg_config|g \ 50 ${worksrcpath}/setup.cfg 51 } 52 } 34 53 } 54 55 56 if {![variant_isset postgresql83] && ![variant_isset postgresql84] && ![variant_isset postgresql90]} { 57 default_variants +postgresql90 58 } 59 60 variant postgresql83 conflicts postgresql84 postgresql90 description "Build using postgresql v8.3" { 61 depends_lib-append port:postgresql83 62 } 63 64 variant postgresql84 conflicts postgresql83 postgresql90 description "Build using postgresql v8.4" { 65 depends_lib-append port:postgresql84 66 } 67 68 variant postgresql90 conflicts postgresql83 postgresql84 description "Build using postgresql v9.0" { 69 depends_lib-append port:postgresql90 70 } 71 72 livecheck.url ${master_sites} 73 livecheck.regex psycopg2-(\\d+(\\.\\d+)+)${extract.suffix}
Note: See TracChangeset
for help on using the changeset viewer.

