[141837] trunk/dports/python/py-autopep8/Portfile

petr at macports.org petr at macports.org
Sat Dec 12 03:13:07 PST 2015


Revision: 141837
          https://trac.macports.org/changeset/141837
Author:   petr at macports.org
Date:     2015-10-29 10:11:53 -0700 (Thu, 29 Oct 2015)
Log Message:
-----------
py-autopep8: fix livecheck

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

Modified: trunk/dports/python/py-autopep8/Portfile
===================================================================
--- trunk/dports/python/py-autopep8/Portfile	2015-10-29 17:08:38 UTC (rev 141836)
+++ trunk/dports/python/py-autopep8/Portfile	2015-10-29 17:11:53 UTC (rev 141837)
@@ -46,6 +46,6 @@
     livecheck.type  none
 } else {
     livecheck.type  regex
-    livecheck.url   [lindex ${master_sites} 0]
-    livecheck.regex ">${realname}-(\\d+(\\.\\d+)+)\\${extract.suffix}<"
+    livecheck.url   https://pypi.python.org/pypi/${realname}/json
+    livecheck.regex "\"${realname}-(\[.\\d\]+)\\${extract.suffix}\""
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151212/9f251865/attachment.html>


More information about the macports-changes mailing list