[112138] trunk/dports/python/py-psycopg2/Portfile
stromnov at macports.org
stromnov at macports.org
Sat Oct 12 12:10:56 PDT 2013
Revision: 112138
https://trac.macports.org/changeset/112138
Author: stromnov at macports.org
Date: 2013-10-12 12:10:56 -0700 (Sat, 12 Oct 2013)
Log Message:
-----------
py-psycopg2: add postgresql93 variant
Modified Paths:
--------------
trunk/dports/python/py-psycopg2/Portfile
Modified: trunk/dports/python/py-psycopg2/Portfile
===================================================================
--- trunk/dports/python/py-psycopg2/Portfile 2013-10-12 19:09:49 UTC (rev 112137)
+++ trunk/dports/python/py-psycopg2/Portfile 2013-10-12 19:10:56 UTC (rev 112138)
@@ -65,6 +65,12 @@
s|@PG_CONFIG@|${prefix}/lib/postgresql92/bin/pg_config|g \
${worksrcpath}/setup.cfg
}
+
+ if {[variant_isset postgresql93]} {
+ reinplace \
+ s|@PG_CONFIG@|${prefix}/lib/postgresql93/bin/pg_config|g \
+ ${worksrcpath}/setup.cfg
+ }
}
livecheck.type none
@@ -74,26 +80,30 @@
}
-if {![variant_isset postgresql83] && ![variant_isset postgresql84] && ![variant_isset postgresql90] && ![variant_isset postgresql91] && ![variant_isset postgresql92]} {
+if {![variant_isset postgresql83] && ![variant_isset postgresql84] && ![variant_isset postgresql90] && ![variant_isset postgresql91] && ![variant_isset postgresql92] && ![variant_isset postgresql93]} {
default_variants +postgresql92
}
-variant postgresql83 conflicts postgresql84 postgresql90 postgresql91 postgresql92 description "Build using postgresql v8.3" {
+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 description "Build using postgresql v8.4" {
+variant postgresql84 conflicts postgresql83 postgresql90 postgresql91 postgresql92 postgresql93 description "Build using postgresql v8.4" {
depends_lib-append port:postgresql84
}
-variant postgresql90 conflicts postgresql83 postgresql84 postgresql91 postgresql92 description "Build using postgresql v9.0" {
+variant postgresql90 conflicts postgresql83 postgresql84 postgresql91 postgresql92 postgresql93 description "Build using postgresql v9.0" {
depends_lib-append port:postgresql90
}
-variant postgresql91 conflicts postgresql83 postgresql84 postgresql90 description "Build using postgresql v9.1" {
+variant postgresql91 conflicts postgresql83 postgresql84 postgresql90 postgresql92 postgresql93 description "Build using postgresql v9.1" {
depends_lib-append port:postgresql91
}
-variant postgresql92 conflicts postgresql83 postgresql84 postgresql90 postgresql91 description "Build using postgresql v9.2" {
+variant postgresql92 conflicts postgresql83 postgresql84 postgresql90 postgresql91 postgresql93 description "Build using postgresql v9.2" {
depends_lib-append port:postgresql92
}
+
+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: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20131012/73fc2316/attachment.html>
More information about the macports-changes
mailing list