[106918] trunk/dports/python/py-weberror/Portfile

jmr at macports.org jmr at macports.org
Tue Jun 11 12:41:28 PDT 2013


Revision: 106918
          https://trac.macports.org/changeset/106918
Author:   jmr at macports.org
Date:     2013-06-11 12:41:28 -0700 (Tue, 11 Jun 2013)
Log Message:
-----------
py-weberror: add py25 subport needed by py25-pylons (#34267) -- also doesn't need simplejson dependency on python >= 2.6

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

Modified: trunk/dports/python/py-weberror/Portfile
===================================================================
--- trunk/dports/python/py-weberror/Portfile	2013-06-11 19:17:03 UTC (rev 106917)
+++ trunk/dports/python/py-weberror/Portfile	2013-06-11 19:41:28 UTC (rev 106918)
@@ -5,8 +5,7 @@
 
 name                    py-weberror
 version                 0.10.3
-python.versions         26 27
-python.default_version  27
+python.versions         25 26 27
 maintainers             perry openmaintainer
 platforms               darwin
 
@@ -24,9 +23,11 @@
     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
+    if {${python.version} < 26} {
+        depends_lib-append port:py${python.version}-simplejson
+    }
 
     post-extract {
         foreach file [glob ${worksrcpath}/WebError.egg-info/*] {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130611/56aeb868/attachment.html>


More information about the macports-changes mailing list