[107827] trunk/dports/python

jmr at macports.org jmr at macports.org
Sat Jul 6 05:11:04 PDT 2013


Revision: 107827
          https://trac.macports.org/changeset/107827
Author:   jmr at macports.org
Date:     2013-07-06 05:11:04 -0700 (Sat, 06 Jul 2013)
Log Message:
-----------
py25-processing: use unified portgroup

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

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

Removed Paths:
-------------
    trunk/dports/python/py25-processing/

Modified: trunk/dports/python/py-processing/Portfile
===================================================================
--- trunk/dports/python/py25-processing/Portfile	2013-07-06 08:50:49 UTC (rev 107824)
+++ trunk/dports/python/py-processing/Portfile	2013-07-06 12:11:04 UTC (rev 107827)
@@ -1,11 +1,10 @@
 # $Id$
 
 PortSystem 1.0
-PortGroup python25 1.0
+PortGroup python 1.0
 
-name			py25-processing
+name			py-processing
 version			0.52
-categories		python
 platforms		darwin
 maintainers		blair
 description		Using processes which mimics the threading module
@@ -26,12 +25,19 @@
 checksums		md5 62772fa3002d003b2395ed669072d51d \
 			sha1 242cd025d80a5e077de01676465f6b8582222bf4 \
 			rmd160 c04aa3ce3bf5534fa9d98dbfbec8c0ee0cf3fbd7
-use_zip			yes
 
-test.run		yes
-test.cmd		${python.bin} -m processing.tests
-test.env		"PYTHONPATH=build/lib.macosx-10.3-${os.arch}-2.5"
+python.versions	25
 
-livecheck.type		regex
-livecheck.url		http://pypi.python.org/pypi/processing
-livecheck.regex		processing-(\\d+.\\d+).zip
+if {$subport ne $name} {
+    use_zip			yes
+
+    test.run		yes
+    test.cmd		${python.bin} -m processing.tests
+    test.env		"PYTHONPATH=build/lib.macosx-10.3-${os.arch}-${python.branch}"
+
+    livecheck.type		none
+} else {
+    livecheck.type		regex
+    livecheck.url		http://pypi.python.org/pypi/processing
+    livecheck.regex		processing-(\\d+.\\d+).zip
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130706/33c520ea/attachment-0001.html>


More information about the macports-changes mailing list