[141028] trunk/dports/python/py-lxml/Portfile

petr at macports.org petr at macports.org
Thu Oct 8 04:03:43 PDT 2015


Revision: 141028
          https://trac.macports.org/changeset/141028
Author:   petr at macports.org
Date:     2015-10-08 04:03:43 -0700 (Thu, 08 Oct 2015)
Log Message:
-----------
py-lxml: fix livecheck

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

Modified: trunk/dports/python/py-lxml/Portfile
===================================================================
--- trunk/dports/python/py-lxml/Portfile	2015-10-08 10:55:32 UTC (rev 141027)
+++ trunk/dports/python/py-lxml/Portfile	2015-10-08 11:03:43 UTC (rev 141028)
@@ -4,6 +4,8 @@
 PortSystem          1.0
 PortGroup           python 1.0
 
+set _name           lxml
+
 name                py-lxml
 version             3.4.1
 revision            0
@@ -43,6 +45,6 @@
     livecheck.type      none
 } else {
     livecheck.type      regex
-    livecheck.url       ${master_sites}
-    livecheck.regex     "lxml-(\\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/20151008/956397b8/attachment-0001.html>


More information about the macports-changes mailing list