[113930] trunk/dports/python/py-psycopg2/Portfile
ryandesign at macports.org
ryandesign at macports.org
Mon Nov 25 18:04:12 PST 2013
Revision: 113930
https://trac.macports.org/changeset/113930
Author: ryandesign at macports.org
Date: 2013-11-25 18:04:12 -0800 (Mon, 25 Nov 2013)
Log Message:
-----------
py-psycopg2: remove variants from stub port; make postgresql93 the default
Modified Paths:
--------------
trunk/dports/python/py-psycopg2/Portfile
Modified: trunk/dports/python/py-psycopg2/Portfile
===================================================================
--- trunk/dports/python/py-psycopg2/Portfile 2013-11-26 00:32:58 UTC (rev 113929)
+++ trunk/dports/python/py-psycopg2/Portfile 2013-11-26 02:04:12 UTC (rev 113930)
@@ -29,7 +29,7 @@
checksums rmd160 aed3763e0c5e0e8e3adc32331cc8767d6ab2002a \
sha256 4edcb40b0a039b4b559a6bc887b2155db8b6c53d0f55b00af8338c77b725621f
-if {$subport != $name} {
+if {$subport ne $name} {
depends_lib-append port:openssl
patchfiles patch-setup.cfg.diff
@@ -73,37 +73,36 @@
}
}
- livecheck.type none
-} else {
- livecheck.url ${master_sites}
- livecheck.regex psycopg2-(\\d+(\\.\\d+)+)${extract.suffix}
-}
+ variant postgresql83 conflicts postgresql84 postgresql90 postgresql91 postgresql92 postgresql93 description "Build using postgresql v8.3" {
+ depends_lib-append port:postgresql83
+ }
+ variant postgresql84 conflicts postgresql83 postgresql90 postgresql91 postgresql92 postgresql93 description "Build using postgresql v8.4" {
+ depends_lib-append port:postgresql84
+ }
-if {![variant_isset postgresql83] && ![variant_isset postgresql84] && ![variant_isset postgresql90] && ![variant_isset postgresql91] && ![variant_isset postgresql92] && ![variant_isset postgresql93]} {
- default_variants +postgresql92
-}
+ variant postgresql90 conflicts postgresql83 postgresql84 postgresql91 postgresql92 postgresql93 description "Build using postgresql v9.0" {
+ depends_lib-append port:postgresql90
+ }
-variant postgresql83 conflicts postgresql84 postgresql90 postgresql91 postgresql92 postgresql93 description "Build using postgresql v8.3" {
- depends_lib-append port:postgresql83
-}
+ variant postgresql91 conflicts postgresql83 postgresql84 postgresql90 postgresql92 postgresql93 description "Build using postgresql v9.1" {
+ depends_lib-append port:postgresql91
+ }
-variant postgresql84 conflicts postgresql83 postgresql90 postgresql91 postgresql92 postgresql93 description "Build using postgresql v8.4" {
- depends_lib-append port:postgresql84
-}
+ variant postgresql92 conflicts postgresql83 postgresql84 postgresql90 postgresql91 postgresql93 description "Build using postgresql v9.2" {
+ depends_lib-append port:postgresql92
+ }
-variant postgresql90 conflicts postgresql83 postgresql84 postgresql91 postgresql92 postgresql93 description "Build using postgresql v9.0" {
- depends_lib-append port:postgresql90
-}
+ variant postgresql93 conflicts postgresql83 postgresql84 postgresql90 postgresql91 postgresql92 description "Build using postgresql v9.3" {
+ depends_lib-append port:postgresql93
+ }
-variant postgresql91 conflicts postgresql83 postgresql84 postgresql90 postgresql92 postgresql93 description "Build using postgresql v9.1" {
- depends_lib-append port:postgresql91
-}
+ if {![variant_isset postgresql83] && ![variant_isset postgresql84] && ![variant_isset postgresql90] && ![variant_isset postgresql91] && ![variant_isset postgresql92] && ![variant_isset postgresql93]} {
+ default_variants +postgresql93
+ }
-variant postgresql92 conflicts postgresql83 postgresql84 postgresql90 postgresql91 postgresql93 description "Build using postgresql v9.2" {
- depends_lib-append port:postgresql92
+ livecheck.type none
+} else {
+ livecheck.url ${master_sites}
+ livecheck.regex psycopg2-(\\d+(\\.\\d+)+)${extract.suffix}
}
-
-variant postgresql93 conflicts postgresql83 postgresql84 postgresql90 postgresql91 postgresql92 description "Build using postgresql v9.3" {
- depends_lib-append port:postgresql93
-}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20131125/08229e3c/attachment-0001.html>
More information about the macports-changes
mailing list