Revision
145100
Author
petr@macports.org
Date
2016-01-25 15:43:46 -0800 (Mon, 25 Jan 2016)

Log Message

py-gdal: fix livecheck

Modified Paths

Diff

Modified: trunk/dports/python/py-gdal/Portfile (145099 => 145100)


--- 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\""
 }