Revision: 100745 https://trac.macports.org/changeset/100745 Author: jmr@macports.org Date: 2012-12-21 15:27:26 -0800 (Fri, 21 Dec 2012) Log Message: ----------- py*-pyrex: unify Modified Paths: -------------- trunk/dports/python/py-pyrex/Portfile Removed Paths: ------------- trunk/dports/python/py25-pyrex/ trunk/dports/python/py26-pyrex/ trunk/dports/python/py27-pyrex/ Modified: trunk/dports/python/py-pyrex/Portfile =================================================================== --- trunk/dports/python/py-pyrex/Portfile 2012-12-21 23:25:10 UTC (rev 100744) +++ trunk/dports/python/py-pyrex/Portfile 2012-12-21 23:27:26 UTC (rev 100745) @@ -1,13 +1,13 @@ # $Id$ PortSystem 1.0 -PortGroup python24 1.0 +PortGroup python 1.0 name py-pyrex -version 0.9.8.5 +version 0.9.9 categories python devel license {Permissive Apache-2} -maintainers nomaintainer +maintainers lightnin openmaintainer platforms darwin supported_archs noarch description A language for writing Python extension modules. @@ -20,17 +20,22 @@ ${homepage}oldtar/ distname Pyrex-${version} -checksums md5 3b3d8397c2c9a58fc59a90e2b49c651a \ - sha1 8ee6fa87bae48a74f58e8328316aff4863ef7c05 \ - rmd160 ff79e39956afecf354bbe71d9f1e15cf9abf153d +checksums md5 515dee67d15d4393841e2d60e8341947 \ + sha1 7ed91685dd0bb7f06474b7ad915a7cac4177fa67 \ + rmd160 e703edf68bcb4afc31e70d5cebac2304a59460fb -post-destroot { - xinstall -m 644 -W ${worksrcpath}/Doc About.html FAQ.html \ - index.html primes.c ${destroot}${prefix}/share/doc/${name} - xinstall -m 644 -W ${worksrcpath} CHANGES.txt INSTALL.txt README.txt \ - ToDo.txt USAGE.txt ${destroot}${prefix}/share/doc/${name} +python.versions 24 25 26 27 + +if {$subport != $name} { + post-destroot { + xinstall -m 644 -W ${worksrcpath}/Doc About.html FAQ.html \ + index.html primes.c ${destroot}${prefix}/share/doc/${subport} + xinstall -m 644 -W ${worksrcpath} CHANGES.txt INSTALL.txt README.txt \ + ToDo.txt USAGE.txt ${destroot}${prefix}/share/doc/${subport} + } + livecheck.type none +} else { + livecheck.type regex + livecheck.url ${homepage} + livecheck.regex {Pyrex-(\d+(?:\.\d+)*).tar.gz} } - -livecheck.type regex -livecheck.url ${homepage} -livecheck.regex {Pyrex-(\d+(?:\.\d+)*).tar.gz}