[85148] trunk/dports/python/py-requests/Portfile

snc at macports.org snc at macports.org
Mon Oct 10 07:39:06 PDT 2011


Revision: 85148
          http://trac.macports.org/changeset/85148
Author:   snc at macports.org
Date:     2011-10-10 07:39:02 -0700 (Mon, 10 Oct 2011)
Log Message:
-----------
py-requests: fix livecheck

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

Modified: trunk/dports/python/py-requests/Portfile
===================================================================
--- trunk/dports/python/py-requests/Portfile	2011-10-10 14:02:54 UTC (rev 85147)
+++ trunk/dports/python/py-requests/Portfile	2011-10-10 14:39:02 UTC (rev 85148)
@@ -28,6 +28,10 @@
 checksums           rmd160  763f5c05fe7d161ea5564836fb3a0b1a9832ee9b \
                     sha256  2656b23db25398e990e6f5d75dfbd960454a1fe573aeedc651773ddd2a8a3bbc
 
-livecheck.type      regex
-livecheck.url       ${homepage}
-livecheck.regex     requests (\\d+(\\.\\d+)+)
+if {$subport != $name} {
+    livecheck.type      none
+} else {
+    livecheck.type      regex
+    livecheck.url       ${homepage}
+    livecheck.regex     requests (\\d+(\\.\\d+)+)
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111010/735ab92d/attachment.html>


More information about the macports-changes mailing list