[91979] trunk/dports/python

jmr at macports.org jmr at macports.org
Sat Apr 14 04:33:26 PDT 2012


Revision: 91979
          https://trac.macports.org/changeset/91979
Author:   jmr at macports.org
Date:     2012-04-14 04:33:24 -0700 (Sat, 14 Apr 2012)
Log Message:
-----------
move py26-oursql to unified portgroup, add py27, update to 0.9.2 (#29416)

Modified Paths:
--------------
    trunk/dports/python/py-oursql/Portfile

Added Paths:
-----------
    trunk/dports/python/py-oursql/

Removed Paths:
-------------
    trunk/dports/python/py26-oursql/

Modified: trunk/dports/python/py-oursql/Portfile
===================================================================
--- trunk/dports/python/py26-oursql/Portfile	2012-04-14 02:29:16 UTC (rev 91959)
+++ trunk/dports/python/py-oursql/Portfile	2012-04-14 11:33:24 UTC (rev 91979)
@@ -1,10 +1,10 @@
 # $Id$
 
 PortSystem 1.0
-PortGroup python26 1.0
+PortGroup python 1.0
 
-name                py26-oursql
-version             0.9.1
+name                py-oursql
+version             0.9.2
 categories          python devel databases
 maintainers         gmail.com:habnabit
 description         Python driver for MySQL
@@ -16,17 +16,24 @@
 master_sites        http://launchpad.net/oursql/trunk/${version}/+download/
 distname            oursql-${version}
 use_bzip2           yes
-checksums           md5 bb29062fd27b8e1ab5c91aa470276a52 \
-                    sha1 98b742a5de84d53579973fe4b2ab2cbe6a3ad23d
+checksums           sha1 d3d82bc5f6bf646f37853020171fed48e9920d9e \
+                    rmd160 0f38d57b34ce5194c8ad5a9717e5cf3fe2dcd7af
 
+python.versions     26 27
+python.default_version 27
+
 variant mysql4 conflicts mysql5 description {Build with MySQL 4} {
-    depends_lib-append  port:mysql4
-    build.env           MYSQL_CONFIG=mysql_config4
+    if {$subport != $name} {
+        depends_lib-append  port:mysql4
+        build.env           MYSQL_CONFIG=mysql_config4
+    }
 }
 
 variant mysql5 conflicts mysql4 description {Build with MySQL 5} {
-    depends_lib-append  path:bin/mysql_config5:mysql5
-    build.env           MYSQL_CONFIG=mysql_config5
+    if {$subport != $name} {
+        depends_lib-append  path:bin/mysql_config5:mysql5
+        build.env           MYSQL_CONFIG=mysql_config5
+    }
 }
 
 if {![variant_isset mysql4]} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120414/c8526cd0/attachment.html>


More information about the macports-changes mailing list