[127085] trunk/dports/python/py-psycopg2/Portfile
snc at macports.org
snc at macports.org
Mon Oct 20 12:01:34 PDT 2014
Revision: 127085
https://trac.macports.org/changeset/127085
Author: snc at macports.org
Date: 2014-10-20 12:01:34 -0700 (Mon, 20 Oct 2014)
Log Message:
-----------
py-psycopg2: update to 2.5.4, add postgresql94 variant
Modified Paths:
--------------
trunk/dports/python/py-psycopg2/Portfile
Modified: trunk/dports/python/py-psycopg2/Portfile
===================================================================
--- trunk/dports/python/py-psycopg2/Portfile 2014-10-20 18:56:38 UTC (rev 127084)
+++ trunk/dports/python/py-psycopg2/Portfile 2014-10-20 19:01:34 UTC (rev 127085)
@@ -5,7 +5,7 @@
PortGroup python 1.0
name py-psycopg2
-version 2.5.3
+version 2.5.4
python.versions 25 26 27 33 34
python.default_version 27
categories-append databases
@@ -26,9 +26,9 @@
master_sites http://www.psycopg.org/psycopg/tarballs/PSYCOPG-${branch}/
distname psycopg2-${version}
-checksums md5 09dcec70f623a9ef774f1aef75690995 \
- rmd160 018c76409358a063de0db56da50e76219004f957 \
- sha256 3a2df3bb113187227aa97d0dd3d06e0f26be3d50dcdeeaef67fac59ed51a030a
+checksums md5 25216543a707eb33fd83aa8efb6e3f26 \
+ rmd160 5d2db3817856a05d5a7cf978d086ea5c4d4fee6e \
+ sha256 24ba3f328aba08d8d505bc2a8f68a94ebe24a85e8483640b667221bc0efd3b1e
if {${name} ne ${subport}} {
depends_lib-append port:openssl
@@ -66,29 +66,39 @@
s|@PG_CONFIG@|${prefix}/lib/postgresql93/bin/pg_config|g \
${worksrcpath}/setup.cfg
}
+
+ if {[variant_isset postgresql94]} {
+ reinplace \
+ s|@PG_CONFIG@|${prefix}/lib/postgresql94/bin/pg_config|g \
+ ${worksrcpath}/setup.cfg
+ }
}
- variant postgresql84 conflicts postgresql90 postgresql91 postgresql92 postgresql93 description "Build using postgresql v8.4" {
+ variant postgresql84 conflicts postgresql90 postgresql91 postgresql92 postgresql93 postgresql94 description "Build using postgresql v8.4" {
depends_lib-append port:postgresql84
}
- variant postgresql90 conflicts postgresql84 postgresql91 postgresql92 postgresql93 description "Build using postgresql v9.0" {
+ 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 description "Build using postgresql v9.1" {
+ variant postgresql91 conflicts postgresql84 postgresql90 postgresql92 postgresql93 postgresql94 description "Build using postgresql v9.1" {
depends_lib-append port:postgresql91
}
- variant postgresql92 conflicts postgresql84 postgresql90 postgresql91 postgresql93 description "Build using postgresql v9.2" {
+ variant postgresql92 conflicts postgresql84 postgresql90 postgresql91 postgresql93 postgresql94 description "Build using postgresql v9.2" {
depends_lib-append port:postgresql92
}
- variant postgresql93 conflicts postgresql84 postgresql90 postgresql91 postgresql92 description "Build using postgresql v9.3" {
+ variant postgresql93 conflicts postgresql84 postgresql90 postgresql91 postgresql92 postgresql94 description "Build using postgresql v9.3" {
depends_lib-append port:postgresql93
}
- if {![variant_isset postgresql84] && ![variant_isset postgresql90] && ![variant_isset postgresql91] && ![variant_isset postgresql92] && ![variant_isset postgresql93]} {
+ variant postgresql94 conflicts postgresql84 postgresql90 postgresql91 postgresql92 postgresql93 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
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141020/5d895391/attachment.html>
More information about the macports-changes
mailing list