[94325] trunk/dports/python/py-pytools/Portfile

dports at macports.org dports at macports.org
Fri Jun 15 08:43:19 PDT 2012


Revision: 94325
          https://trac.macports.org/changeset/94325
Author:   dports at macports.org
Date:     2012-06-15 08:43:19 -0700 (Fri, 15 Jun 2012)
Log Message:
-----------
py-pytools: add livecheck (#34766)

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

Modified: trunk/dports/python/py-pytools/Portfile
===================================================================
--- trunk/dports/python/py-pytools/Portfile	2012-06-15 15:37:51 UTC (rev 94324)
+++ trunk/dports/python/py-pytools/Portfile	2012-06-15 15:43:19 UTC (rev 94325)
@@ -26,4 +26,9 @@
 
 if {${subport} != ${name}} {
     depends_build-append    port:py${python.version}-distribute
+    livecheck.type          none
+} else {
+    livecheck.type          regex
+    livecheck.url           ${master_sites}
+    livecheck.regex         "pytools-(\\d+(?:\\.\\d+)*)${extract.suffix}"
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120615/8ecf9a19/attachment.html>


More information about the macports-changes mailing list