[89138] trunk/dports/python

singingwolfboy at macports.org singingwolfboy at macports.org
Thu Jan 19 13:49:18 PST 2012


Revision: 89138
          http://trac.macports.org/changeset/89138
Author:   singingwolfboy at macports.org
Date:     2012-01-19 13:49:18 -0800 (Thu, 19 Jan 2012)
Log Message:
-----------
moved py26-weberror to py-weberror, converted to unified format

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

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

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

Modified: trunk/dports/python/py-weberror/Portfile
===================================================================
--- trunk/dports/python/py26-weberror/Portfile	2012-01-19 20:26:01 UTC (rev 89123)
+++ trunk/dports/python/py-weberror/Portfile	2012-01-19 21:49:18 UTC (rev 89138)
@@ -1,10 +1,11 @@
 # $Id$
 
 PortSystem              1.0
-PortGroup               python26 1.0
+PortGroup               python 1.0
 
-name                    py26-weberror
+name                    py-weberror
 version                 0.10.3
+python.versions         24 25 26 27
 maintainers             perry openmaintainer
 platforms               darwin
 
@@ -17,13 +18,15 @@
 livecheck.type          regex
 livecheck.url           ${homepage}
 
-depends_build-append    port:py26-distribute
-depends_lib-append \
-    port:py26-paste \
-    port:py26-pygments \
-    port:py26-simplejson \
-    port:py26-tempita \
-    port:py26-webob
+if {$name != $subport} {
+    depends_build-append    port:py${python.version}-distribute
+    depends_lib-append \
+        port:py${python.version}-paste \
+        port:py${python.version}-pygments \
+        port:py${python.version}-simplejson \
+        port:py${python.version}-tempita \
+        port:py${python.version}-webob
+}
 
 distname                WebError-${version}
 master_sites            http://pypi.python.org/packages/source/W/WebError/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120119/2d296b13/attachment.html>


More information about the macports-changes mailing list