[133089] trunk/dports/python/py-unidecode/Portfile
larryv at macports.org
larryv at macports.org
Thu Feb 19 20:48:40 PST 2015
Revision: 133089
https://trac.macports.org/changeset/133089
Author: larryv at macports.org
Date: 2015-02-19 20:48:40 -0800 (Thu, 19 Feb 2015)
Log Message:
-----------
py-unidecode: Add livecheck
Modified Paths:
--------------
trunk/dports/python/py-unidecode/Portfile
Modified: trunk/dports/python/py-unidecode/Portfile
===================================================================
--- trunk/dports/python/py-unidecode/Portfile 2015-02-20 04:48:37 UTC (rev 133088)
+++ trunk/dports/python/py-unidecode/Portfile 2015-02-20 04:48:40 UTC (rev 133089)
@@ -30,4 +30,11 @@
python.versions 27 33 34
if {${subport} ne ${name}} {
+ livecheck.type none
+} else {
+ livecheck.type regex
+ # The usual URL to use here would be the master site, but for some
+ # reason PyPi isn't serving anything at that URL.
+ livecheck.url ${homepage}
+ livecheck.regex $realName-(\\d+(?:\\.\\d+)*)${extract.suffix}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150219/9c1917d3/attachment.html>
More information about the macports-changes
mailing list