[145100] trunk/dports/python/py-gdal/Portfile

petr at macports.org petr at macports.org
Mon Jan 25 15:43:46 PST 2016


Revision: 145100
          https://trac.macports.org/changeset/145100
Author:   petr at macports.org
Date:     2016-01-25 15:43:46 -0800 (Mon, 25 Jan 2016)
Log Message:
-----------
py-gdal: fix livecheck

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

Modified: trunk/dports/python/py-gdal/Portfile
===================================================================
--- trunk/dports/python/py-gdal/Portfile	2016-01-25 23:38:54 UTC (rev 145099)
+++ trunk/dports/python/py-gdal/Portfile	2016-01-25 23:43:46 UTC (rev 145100)
@@ -49,6 +49,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\]+)\\.tar\\.gz\""
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160125/7d559396/attachment.html>


More information about the macports-changes mailing list