[84061] trunk/dports/python

jmr at macports.org jmr at macports.org
Thu Sep 15 19:40:12 PDT 2011


Revision: 84061
          http://trac.macports.org/changeset/84061
Author:   jmr at macports.org
Date:     2011-09-15 19:40:12 -0700 (Thu, 15 Sep 2011)
Log Message:
-----------
unify py*-opengl-accelerate

Modified Paths:
--------------
    trunk/dports/python/py-opengl-accelerate/Portfile

Added Paths:
-----------
    trunk/dports/python/py-opengl-accelerate/

Removed Paths:
-------------
    trunk/dports/python/py26-opengl-accelerate/
    trunk/dports/python/py27-opengl-accelerate/

Modified: trunk/dports/python/py-opengl-accelerate/Portfile
===================================================================
--- trunk/dports/python/py27-opengl-accelerate/Portfile	2011-09-16 00:38:17 UTC (rev 84056)
+++ trunk/dports/python/py-opengl-accelerate/Portfile	2011-09-16 02:40:12 UTC (rev 84061)
@@ -1,9 +1,9 @@
 # $Id$
 
 PortSystem          1.0
-PortGroup           python27 1.0
+PortGroup           python 1.0
 
-name                py27-opengl-accelerate
+name                py-opengl-accelerate
 version             3.0.1
 categories-append   graphics
 platforms           darwin
@@ -22,8 +22,12 @@
                     sha1 6bc955e2d22145b2fb91ab994ac133d921a4f58d \
                     rmd160 f3dafad585018455aa668bc33a6fa7822ca8ebae
 
-depends_lib         port:py27-numpy
+python.versions     24 25 26 27
 
+if {$subport != $name} {
+    depends_lib     port:py${python.version}-numpy
+}
+
 livecheck.type      regex
 livecheck.url       http://pypi.python.org/pypi/PyOpenGL-accelerate
 livecheck.regex     {PyOpenGL-accelerate ([0-9a-c.]+)}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110915/ee7d56fe/attachment.html>


More information about the macports-changes mailing list