[134040] trunk/dports/python/py-jcc/Portfile

petr at macports.org petr at macports.org
Tue Mar 17 11:12:12 PDT 2015


Revision: 134040
          https://trac.macports.org/changeset/134040
Author:   petr at macports.org
Date:     2015-03-17 11:12:12 -0700 (Tue, 17 Mar 2015)
Log Message:
-----------
py-jcc: adapt livecheck to new PyPI behaviour

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

Modified: trunk/dports/python/py-jcc/Portfile
===================================================================
--- trunk/dports/python/py-jcc/Portfile	2015-03-17 18:04:59 UTC (rev 134039)
+++ trunk/dports/python/py-jcc/Portfile	2015-03-17 18:12:12 UTC (rev 134040)
@@ -43,6 +43,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/20150317/c971c72e/attachment.html>


More information about the macports-changes mailing list