[148168] trunk/dports/python/py-pytools/Portfile
petr at macports.org
petr at macports.org
Thu Apr 28 12:32:34 PDT 2016
Revision: 148168
https://trac.macports.org/changeset/148168
Author: petr at macports.org
Date: 2016-04-28 12:32:34 -0700 (Thu, 28 Apr 2016)
Log Message:
-----------
py-pytools: add py35 subport, fix livecheck
Modified Paths:
--------------
trunk/dports/python/py-pytools/Portfile
Modified: trunk/dports/python/py-pytools/Portfile
===================================================================
--- 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}\""
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160428/ebfc42fa/attachment.html>
More information about the macports-changes
mailing list