[128181] trunk/dports/python/py-w3lib/Portfile

petr at macports.org petr at macports.org
Sat Nov 15 16:28:58 PST 2014


Revision: 128181
          https://trac.macports.org/changeset/128181
Author:   petr at macports.org
Date:     2014-11-15 16:28:58 -0800 (Sat, 15 Nov 2014)
Log Message:
-----------
py-w3lib: correct livecheck, cleanup

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

Modified: trunk/dports/python/py-w3lib/Portfile
===================================================================
--- trunk/dports/python/py-w3lib/Portfile	2014-11-16 00:20:07 UTC (rev 128180)
+++ trunk/dports/python/py-w3lib/Portfile	2014-11-16 00:28:58 UTC (rev 128181)
@@ -21,12 +21,13 @@
                     sha256  b124659467de0a161f17ade88d616c2270356c5eeea66aea20285d92efb515f3
 
 python.versions     27 33 34
-python.default_version 27
 
 if {${name} ne ${subport}} {
     depends_build-append    port:py${python.version}-setuptools
+
+    livecheck.type  none
+} else {
+    livecheck.type  regex
+    livecheck.url   ${homepage}
+    livecheck.regex {>w3lib (.+) :}
 }
-
-livecheck.regex     {>w3lib (.+) :}
-livecheck.type      regex
-livecheck.url       ${homepage}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141115/8579dbba/attachment.html>


More information about the macports-changes mailing list