[135853] trunk/dports/python/py-prov/Portfile

petr at macports.org petr at macports.org
Tue May 5 11:10:51 PDT 2015


Revision: 135853
          https://trac.macports.org/changeset/135853
Author:   petr at macports.org
Date:     2015-05-05 11:10:51 -0700 (Tue, 05 May 2015)
Log Message:
-----------
py-prov: fix livecheck

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

Modified: trunk/dports/python/py-prov/Portfile
===================================================================
--- trunk/dports/python/py-prov/Portfile	2015-05-05 17:36:35 UTC (rev 135852)
+++ trunk/dports/python/py-prov/Portfile	2015-05-05 18:10:51 UTC (rev 135853)
@@ -61,6 +61,6 @@
     livecheck.type  none
 } else {
     livecheck.type  regex
-    livecheck.url   [lindex ${master_sites} 0]
-    livecheck.regex ">${_name}-(\\d+(\\.\\d+)+)\\${extract.suffix}<"
+    livecheck.url   https://pypi.python.org/pypi/${_name}/json
+    livecheck.regex "\"${_name}-(\[.\\d\]+)\\${extract.suffix}\""
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150505/1e316d00/attachment.html>


More information about the macports-changes mailing list