[84982] trunk/dports/lang/py-htmldocs/Portfile
eborisch at macports.org
eborisch at macports.org
Thu Oct 6 07:01:21 PDT 2011
Revision: 84982
http://trac.macports.org/changeset/84982
Author: eborisch at macports.org
Date: 2011-10-06 07:01:18 -0700 (Thu, 06 Oct 2011)
Log Message:
-----------
py-htmldocs: Add livecheck
Modified Paths:
--------------
trunk/dports/lang/py-htmldocs/Portfile
Modified: trunk/dports/lang/py-htmldocs/Portfile
===================================================================
--- trunk/dports/lang/py-htmldocs/Portfile 2011-10-06 12:32:15 UTC (rev 84981)
+++ trunk/dports/lang/py-htmldocs/Portfile 2011-10-06 14:01:18 UTC (rev 84982)
@@ -38,6 +38,10 @@
description HTML documentation for Python
long_description ${description}. Unified port supplies py2\[567\]-htmldocs
homepage http://www.python.org/
+livecheck.url http://www.python.org/ftp/python/doc/
+livecheck.type regex
+set version_pattern [string range ${python.version} 0 end-1]\\.[string index ${python.version} end]
+livecheck.regex (${version_pattern}\[\\.0-9\]*)
if {${name} != ${subport}} {
description HTML documentation for Python ${version}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111006/930684e0/attachment.html>
More information about the macports-changes
mailing list