Revision: 103352 https://trac.macports.org/changeset/103352 Author: g5pw@macports.org Date: 2013-02-22 11:26:36 -0800 (Fri, 22 Feb 2013) Log Message: ----------- python/py-colorama: update to 0.2.5 fix livecheck Modified Paths: -------------- trunk/dports/python/py-colorama/Portfile Modified: trunk/dports/python/py-colorama/Portfile =================================================================== --- trunk/dports/python/py-colorama/Portfile 2013-02-22 16:43:51 UTC (rev 103351) +++ trunk/dports/python/py-colorama/Portfile 2013-02-22 19:26:36 UTC (rev 103352) @@ -5,7 +5,7 @@ PortGroup python 1.0 name py-colorama -version 0.2.4 +version 0.2.5 categories-append devel license Python platforms darwin @@ -20,13 +20,18 @@ homepage http://code.google.com/p/colorama/ master_sites http://pypi.python.org/packages/source/c/colorama/ -distname colorama-${version} +python.versions 24 25 26 27 31 32 33 -checksums rmd160 1175b6b0a1163ad5f248e57b855ef0874d76b3a2 \ - sha256 ab2a1f39493a7cfe61b919ec3c6c204f593db2bf3818a70f6f0aa6b8b0a52e55 -python.versions 24 25 26 27 31 32 +if {${name} != ${subport}} { + distname colorama-${version} -livecheck.type regex -livecheck.url ${master_sites} -livecheck.regex "colorama-(\\d+(?:\\.\\d+)*)${extract.suffix}" + checksums rmd160 447ba0791b07dc7ae24883d9242c1325f9556e4d \ + sha256 55bad9c74fbda47c558d581e287cfd9bfff48f196caedcff76bf2fb17149b80b + + livecheck.type none +} else { + livecheck.type regex + livecheck.url ${master_sites} + livecheck.regex "colorama-(\\d+(?:\\.\\d+)*)${extract.suffix}" +}