Revision
86807
Author
snc@macports.org
Date
2011-11-04 18:23:28 -0700 (Fri, 04 Nov 2011)

Log Message

py-pp: fix livecheck

Modified Paths

Diff

Modified: trunk/dports/python/py-pp/Portfile (86806 => 86807)


--- trunk/dports/python/py-pp/Portfile	2011-11-05 01:00:39 UTC (rev 86806)
+++ trunk/dports/python/py-pp/Portfile	2011-11-05 01:23:28 UTC (rev 86807)
@@ -24,6 +24,10 @@
 checksums           rmd160  3d7ea02e65a0542ca99f7d21ec4770817aa4500e \
                     sha256  4926ad51a9b21753672f71883441287ff3a1a66fc9d6ee0f0e357b8652b3cb98
 
-livecheck.type      regex
-livecheck.url       http://www.parallelpython.com/content/view/18/32/
-livecheck.regex     pp-(\\d+(\\.\\d+)+)
+if {$subport != $name} {
+    livecheck.type      none
+} else {
+    livecheck.type      regex
+    livecheck.url       http://www.parallelpython.com/content/view/18/32/
+    livecheck.regex     pp-(\\d+(\\.\\d+)+)\\ \\(latest stable
+}