[48040] trunk/dports/python/py-apycot/Portfile

dh at macports.org dh at macports.org
Fri Mar 13 03:04:00 PDT 2009


Revision: 48040
          http://trac.macports.org/changeset/48040
Author:   dh at macports.org
Date:     2009-03-13 03:03:59 -0700 (Fri, 13 Mar 2009)
Log Message:
-----------
Add livecheck to Portfile

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

Modified: trunk/dports/python/py-apycot/Portfile
===================================================================
--- trunk/dports/python/py-apycot/Portfile	2009-03-13 10:03:55 UTC (rev 48039)
+++ trunk/dports/python/py-apycot/Portfile	2009-03-13 10:03:59 UTC (rev 48040)
@@ -17,6 +17,11 @@
 homepage            http://www.logilab.org/projects/apycot/
 master_sites        ftp://ftp.logilab.org/pub/apycot/
 distname            apycot-${version}
+
+livecheck.url       ${homepage}
+livecheck.check     regex
+livecheck.regex     "latest published version:.*<a.*?>(\\d+(?:\\.\\d+)*)</a>"
+
 checksums           md5 60e98754ee0cc69d5bb3d76817bfcde0
 
 post-destroot   {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090313/d401eea9/attachment-0001.html>


More information about the macports-changes mailing list