Revision: 100276 https://trac.macports.org/changeset/100276 Author: ram@macports.org Date: 2012-12-06 13:48:33 -0800 (Thu, 06 Dec 2012) Log Message: ----------- python/py-numpy: switch to github portgroup #37223 Modified Paths: -------------- trunk/dports/python/py-numpy/Portfile Modified: trunk/dports/python/py-numpy/Portfile =================================================================== --- trunk/dports/python/py-numpy/Portfile 2012-12-06 19:03:53 UTC (rev 100275) +++ trunk/dports/python/py-numpy/Portfile 2012-12-06 21:48:33 UTC (rev 100276) @@ -3,9 +3,12 @@ PortSystem 1.0 PortGroup python 1.0 +PortGroup github 1.0 +github.setup numpy numpy 1.6.2 v name py-numpy -version 1.6.2 +revision 1 +dist_subdir ${name}/${version}_1 categories python math license BSD @@ -14,13 +17,9 @@ description The core utilities for the scientific library scipy for Python long_description ${description} -homepage http://numpy.scipy.org/ -master_sites sourceforge:project/numpy/NumPy/${version}/ -distname numpy-${version} +checksums rmd160 9643c04a2e8fbb99cdb047281eedbbfb99423553 \ + sha256 0992d326147d0ed83bd059519897e7a8ee52dea5ee66bbe04c0ea1c502cd8618 -checksums rmd160 4dcaa30e30171c2bc582495043e8e885c89935a3 \ - sha256 0b83d96ab79711b548470b7aeee1272c4ba8fcbba6586a67116b566a21ed16c6 - python.versions 24 25 26 27 31 32 if {${subport} != ${name}} { @@ -182,9 +181,7 @@ } if {${name} == ${subport}} { - livecheck.type regex - livecheck.url http://www.scipy.org - livecheck.regex {NumPy (\d+(\.\d+)*) released} + livecheck.regex archive/[join ${github.tag_prefix} ""](\[\\d+(?:\\.\\d+)*"\]+)${extract.suffix}" } else { livecheck.type none }