[126211] trunk/dports/science/glue/Portfile

ram at macports.org ram at macports.org
Sun Oct 5 09:34:49 PDT 2014


Revision: 126211
          https://trac.macports.org/changeset/126211
Author:   ram at macports.org
Date:     2014-10-05 09:34:49 -0700 (Sun, 05 Oct 2014)
Log Message:
-----------
science/glue: use unified python portgroup

Modified Paths:
--------------
    trunk/dports/science/glue/Portfile

Modified: trunk/dports/science/glue/Portfile
===================================================================
--- trunk/dports/science/glue/Portfile	2014-10-05 16:07:25 UTC (rev 126210)
+++ trunk/dports/science/glue/Portfile	2014-10-05 16:34:49 UTC (rev 126211)
@@ -1,7 +1,7 @@
 # $Id$
 
 PortSystem    1.0
-PortGroup     python27 1.0
+PortGroup     python 1.0
 
 name          glue
 version       1.46
@@ -21,11 +21,13 @@
 checksums     rmd160 45941cf99c93e4b1fd92655f4632179e23ed969f \
               sha256 a2a5935e9a5fa1ac30b5235000c9caf4868e6c458a11cbc2dd0ca4d71f750c22
 
-depends_lib-append port:py27-numpy \
-                   port:py27-pyrxp \
-                   port:py27-m2crypto \
-                   port:py27-cjson
+python.default_version 27
 
+depends_lib-append port:py${python.version}-numpy \
+                   port:py${python.version}-pyrxp \
+                   port:py${python.version}-m2crypto \
+                   port:py${python.version}-cjson
+
 python.link_binaries_suffix
 
 livecheck.type   regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141005/64bb0d2e/attachment-0001.html>


More information about the macports-changes mailing list