[125260] trunk/dports/python

jmr at macports.org jmr at macports.org
Thu Sep 11 13:20:38 PDT 2014


Revision: 125260
          https://trac.macports.org/changeset/125260
Author:   jmr at macports.org
Date:     2014-09-11 13:20:38 -0700 (Thu, 11 Sep 2014)
Log Message:
-----------
py26-ete2: use unified python portgroup

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

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

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

Modified: trunk/dports/python/py-ete2/Portfile
===================================================================
--- trunk/dports/python/py26-ete2/Portfile	2014-09-10 06:46:56 UTC (rev 125210)
+++ trunk/dports/python/py-ete2/Portfile	2014-09-11 20:20:38 UTC (rev 125260)
@@ -2,9 +2,9 @@
 # $Id$
 
 PortSystem          1.0
-PortGroup           python26 1.0
+PortGroup           python 1.0
 
-name                py26-ete2
+name                py-ete2
 version             2.0rev90
 categories          python biology science
 maintainers         gmail.com:sopo.dev
@@ -31,12 +31,16 @@
                     rmd160  a8f1fb53784340f42fb5dcc0266340c4bcb8e4f6
 distname            ete2-${version}
 
-depends_build       port:py26-setuptools
+python.versions     26
 
-# Can use either py*-pyqt4 or py*-pyqt4-devel.
-depends_run         port:py26-mysql \
-                    port:py26-scipy \
-                    path:share/py26-sip/PyQt4:py26-pyqt4
+if {$subport ne $name} {
+    depends_build       port:py${python.version}-setuptools
 
-# py26-scipy is not universal
-universal_variant   no
+    # Can use either py*-pyqt4 or py*-pyqt4-devel.
+    depends_run         port:py${python.version}-mysql \
+                        port:py${python.version}-scipy \
+                        path:share/py${python.version}-sip/PyQt4:py${python.version}-pyqt4
+
+    # py*-scipy is not universal
+    universal_variant   no
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140911/046a4417/attachment.html>


More information about the macports-changes mailing list