Revision
86883
Author
ram@macports.org
Date
2011-11-06 09:59:22 -0800 (Sun, 06 Nov 2011)

Log Message

python/py-m2crypto: don't run livecheck on all subports

Modified Paths

Diff

Modified: trunk/dports/python/py-m2crypto/Portfile (86882 => 86883)


--- trunk/dports/python/py-m2crypto/Portfile	2011-11-06 17:58:48 UTC (rev 86882)
+++ trunk/dports/python/py-m2crypto/Portfile	2011-11-06 17:59:22 UTC (rev 86883)
@@ -41,7 +41,10 @@
     }
   }
 }
-
-livecheck.type     regex
-livecheck.url      ${homepage}
-livecheck.regex    M2Crypto-(\[0-9\\.\]+)\.tar\.gz
+if {${name} == ${subport}} {
+  livecheck.type     regex
+  livecheck.url      ${homepage}
+  livecheck.regex    M2Crypto-(\[0-9\\.\]+)\.tar\.gz
+} else {
+  livecheck.type     none
+}