[100522] trunk/dports/python/py-decorator/Portfile

ryandesign at macports.org ryandesign at macports.org
Fri Dec 14 11:54:17 PST 2012


Revision: 100522
          https://trac.macports.org/changeset/100522
Author:   ryandesign at macports.org
Date:     2012-12-14 11:54:17 -0800 (Fri, 14 Dec 2012)
Log Message:
-----------
py-decorator: add py3x subports (#37308); fix livecheck

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

Modified: trunk/dports/python/py-decorator/Portfile
===================================================================
--- trunk/dports/python/py-decorator/Portfile	2012-12-14 18:39:18 UTC (rev 100521)
+++ trunk/dports/python/py-decorator/Portfile	2012-12-14 19:54:17 UTC (rev 100522)
@@ -6,8 +6,6 @@
 
 name                py-decorator
 version             3.4.0
-python.versions     25 26 27
-python.default_version  27
 categories          python
 license             BSD
 maintainers         gmail.com:larry.velazquez
@@ -22,5 +20,14 @@
 checksums           rmd160  57b014f5fb2a1750910364882d430a85f94a8b85 \
                     sha256  c20b404cbb7ee5cebd506688e0114e3cd76f5ce233805a51f36e1a7988d9d783
 
-livecheck.type      regex
-livecheck.regex     {decorator/(\d+(?:\.\d+)*)<}
+python.versions     25 26 27 31 32 33
+
+if {${subport} != ${name}} {
+    if {${python.version} >= 31} {
+        depends_build-append    port:py${python.version}-distribute
+    }
+    livecheck.type          none
+} else {
+    livecheck.type          regex
+    livecheck.regex         {decorator/(\d+(?:\.\d+)*)}
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121214/662e6f46/attachment.html>


More information about the macports-changes mailing list