Modified: trunk/dports/python/py-pytools/Portfile (148167 => 148168)
--- trunk/dports/python/py-pytools/Portfile 2016-04-28 19:12:18 UTC (rev 148167)
+++ trunk/dports/python/py-pytools/Portfile 2016-04-28 19:32:34 UTC (rev 148168)
@@ -5,6 +5,7 @@
PortGroup python 1.0
set real_name pytools
+
name py-${real_name}
version 2013.5.6
platforms darwin
@@ -22,14 +23,15 @@
checksums rmd160 295d30e025fdae08a495da2bbd076d86fce898f4 \
sha256 e15dc874f9d8b3f13cf6297e509eaffe722c459cd92a39858813b8dba55bc77e
-python.versions 26 27 33 34
+python.versions 26 27 33 34 35
if {${name} ne ${subport}} {
depends_build-append port:py${python.version}-setuptools
depends_run-append port:py${python.version}-decorator
- livecheck.type none
+
+ livecheck.type none
} else {
- livecheck.type regex
- livecheck.url ${master_sites}
- livecheck.regex "${real_name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
+ livecheck.type regex
+ livecheck.url https://pypi.python.org/pypi/${python.rootname}/json
+ livecheck.regex "\"${python.rootname}-(\[.\\d\]+)\\${extract.suffix}\""
}