Revision
148177
Author
petr@macports.org
Date
2016-04-28 15:06:39 -0700 (Thu, 28 Apr 2016)

Log Message

py-threadpool: fix livecheck

Modified Paths

Diff

Modified: trunk/dports/python/py-threadpool/Portfile (148176 => 148177)


--- trunk/dports/python/py-threadpool/Portfile	2016-04-28 21:58:43 UTC (rev 148176)
+++ trunk/dports/python/py-threadpool/Portfile	2016-04-28 22:06:39 UTC (rev 148177)
@@ -51,7 +51,7 @@
 
     livecheck.type  none
 } else {
-    livecheck.type      regex
-    livecheck.url       [lindex ${master_sites} 0]
-    livecheck.regex     ">${_name}-(\\d+\\.\\d+\\.\\d+)\\${extract.suffix}<"
+    livecheck.type  regex
+    livecheck.url   https://pypi.python.org/pypi/${_name}/json
+    livecheck.regex "\"${_name}-(\[.\\d\]+)\\${extract.suffix}\""
 }