[84069] trunk/dports/python
jmr at macports.org
jmr at macports.org
Thu Sep 15 21:13:00 PDT 2011
Revision: 84069
http://trac.macports.org/changeset/84069
Author: jmr at macports.org
Date: 2011-09-15 21:13:00 -0700 (Thu, 15 Sep 2011)
Log Message:
-----------
unify py*-opengl, part 2
Modified Paths:
--------------
trunk/dports/python/py-opengl/Portfile
Added Paths:
-----------
trunk/dports/python/py-opengl/
Removed Paths:
-------------
trunk/dports/python/py27-opengl/
Modified: trunk/dports/python/py-opengl/Portfile
===================================================================
--- trunk/dports/python/py27-opengl/Portfile 2011-09-16 00:38:17 UTC (rev 84056)
+++ trunk/dports/python/py-opengl/Portfile 2011-09-16 04:13:00 UTC (rev 84069)
@@ -1,9 +1,9 @@
# $Id$
PortSystem 1.0
-PortGroup python27 1.0
+PortGroup python 1.0
-name py27-opengl
+name py-opengl
version 3.0.1
categories python graphics
platforms darwin
@@ -26,11 +26,19 @@
sha1 3a5b4888b0c9f73513c9e41629c32e1279907524 \
rmd160 cd9c3f20ae7154cc4fcb810dea3a24bd469d3c05
-depends_build port:py27-distribute
-depends_lib port:py27-pil port:py27-opengl-accelerate port:py27-tkinter
+python.versions 24 25 26 27
-test.run yes
+if {$subport != $name} {
+ depends_build port:py${python.version}-distribute
+ depends_lib port:py${python.version}-pil \
+ port:py${python.version}-opengl-accelerate \
+ port:py${python.version}-tkinter
+ if {${python.version} == 24} {
+ depends_lib-append port:py-ctypes
+ }
+ test.run yes
+}
livecheck.type regex
livecheck.url http://pypi.python.org/pypi/PyOpenGL
-livecheck.regex {PyOpenGL ([0-9a-c.]+)}
+livecheck.regex {PyOpenGL ([0-9.]+)}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110915/14fa4b04/attachment.html>
More information about the macports-changes
mailing list