[144515] trunk/dports/python/py-psycopg2/Portfile
snc at macports.org
snc at macports.org
Sun Jan 10 17:15:31 PST 2016
Revision: 144515
https://trac.macports.org/changeset/144515
Author: snc at macports.org
Date: 2016-01-10 17:15:31 -0800 (Sun, 10 Jan 2016)
Log Message:
-----------
py-psycopg2: update postgresql variants: add 95, remove 84 and 90
Modified Paths:
--------------
trunk/dports/python/py-psycopg2/Portfile
Modified: trunk/dports/python/py-psycopg2/Portfile
===================================================================
--- trunk/dports/python/py-psycopg2/Portfile 2016-01-11 00:59:38 UTC (rev 144514)
+++ trunk/dports/python/py-psycopg2/Portfile 2016-01-11 01:15:31 UTC (rev 144515)
@@ -38,18 +38,6 @@
post-patch {
- if {[variant_isset postgresql84]} {
- reinplace \
- s|@PG_CONFIG@|${prefix}/lib/postgresql84/bin/pg_config|g \
- ${worksrcpath}/setup.cfg
- }
-
- if {[variant_isset postgresql90]} {
- reinplace \
- s|@PG_CONFIG@|${prefix}/lib/postgresql90/bin/pg_config|g \
- ${worksrcpath}/setup.cfg
- }
-
if {[variant_isset postgresql91]} {
reinplace \
s|@PG_CONFIG@|${prefix}/lib/postgresql91/bin/pg_config|g \
@@ -73,36 +61,38 @@
s|@PG_CONFIG@|${prefix}/lib/postgresql94/bin/pg_config|g \
${worksrcpath}/setup.cfg
}
- }
- variant postgresql84 conflicts postgresql90 postgresql91 postgresql92 postgresql93 postgresql94 description "Build using postgresql v8.4" {
- depends_lib-append port:postgresql84
+ if {[variant_isset postgresql95]} {
+ reinplace \
+ s|@PG_CONFIG@|${prefix}/lib/postgresql95/bin/pg_config|g \
+ ${worksrcpath}/setup.cfg
+ }
}
- variant postgresql90 conflicts postgresql84 postgresql91 postgresql92 postgresql93 postgresql94 description "Build using postgresql v9.0" {
- depends_lib-append port:postgresql90
- }
-
- variant postgresql91 conflicts postgresql84 postgresql90 postgresql92 postgresql93 postgresql94 description "Build using postgresql v9.1" {
+ variant postgresql91 conflicts postgresql92 postgresql93 postgresql94 postgresql95 description "Build using postgresql v9.1" {
depends_lib-append port:postgresql91
}
- variant postgresql92 conflicts postgresql84 postgresql90 postgresql91 postgresql93 postgresql94 description "Build using postgresql v9.2" {
+ variant postgresql92 conflicts postgresql91 postgresql93 postgresql94 postgresql95 description "Build using postgresql v9.2" {
depends_lib-append port:postgresql92
}
- variant postgresql93 conflicts postgresql84 postgresql90 postgresql91 postgresql92 postgresql94 description "Build using postgresql v9.3" {
+ variant postgresql93 conflicts postgresql91 postgresql92 postgresql94 postgresql95 description "Build using postgresql v9.3" {
depends_lib-append port:postgresql93
}
- variant postgresql94 conflicts postgresql84 postgresql90 postgresql91 postgresql92 postgresql93 description "Build using postgresql v9.4" {
+ variant postgresql94 conflicts postgresql91 postgresql92 postgresql93 postgresql95 description "Build using postgresql v9.4" {
depends_lib-append port:postgresql94
}
- if {![variant_isset postgresql84] && ![variant_isset postgresql90] && ![variant_isset postgresql91] && ![variant_isset postgresql92] && ![variant_isset postgresql93] && ![variant_isset postgresql94]} {
- default_variants +postgresql93
+ variant postgresql95 conflicts postgresql91 postgresql92 postgresql93 postgresql94 description "Build using postgresql v9.5" {
+ depends_lib-append port:postgresql95
}
+ if {![variant_isset postgresql91] && ![variant_isset postgresql92] && ![variant_isset postgresql93] && ![variant_isset postgresql94] && ![variant_isset postgresql95]} {
+ default_variants +postgresql95
+ }
+
livecheck.type none
} else {
livecheck.url ${master_sites}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160110/c392e322/attachment.html>
More information about the macports-changes
mailing list