Revision: 118260 https://trac.macports.org/changeset/118260 Author: ram@macports.org Date: 2014-03-27 13:36:30 -0700 (Thu, 27 Mar 2014) Log Message: ----------- python/py-dateutil: update to 2.2, #43095 Modified Paths: -------------- trunk/dports/python/py-dateutil/Portfile Modified: trunk/dports/python/py-dateutil/Portfile =================================================================== --- trunk/dports/python/py-dateutil/Portfile 2014-03-27 20:05:15 UTC (rev 118259) +++ trunk/dports/python/py-dateutil/Portfile 2014-03-27 20:36:30 UTC (rev 118260) @@ -6,8 +6,7 @@ name py-dateutil set my_name python-dateutil -version 2.0 -revision 1 +version 2.2 platforms darwin supported_archs noarch maintainers dh ram openmaintainer @@ -16,24 +15,16 @@ description powerful extensions to the standard python datetime module long_description ${description} -homepage http://labix.org/python-dateutil -master_sites http://labix.org/download/python-dateutil +homepage https://pypi.python.org/pypi/python-dateutil +master_sites https://pypi.python.org/packages/source/p/python-dateutil distname ${my_name}-${version} -checksums md5 22297f7e891bcd79a80d9446d8b20542 \ - sha1 946337a273866cc4f51d32c86cdbc4209ab84a43 \ - rmd160 a7ae3c4948c69471c95466236a388d63fcdac120 +checksums rmd160 e72e546d762ffb3c2c952fcc77031352a9992b27 \ + sha256 eec865307ebe7f329a6a9945c15453265a449cdaaf3710340828a1934d53e468 -python.versions 24 25 26 27 31 32 33 34 +python.versions 26 27 31 32 33 34 if {${name} ne ${subport}} { - if {${python.version} < 30} { - version 1.5 - checksums md5 35f3732db3f2cc4afdc68a8533b60a52 \ - sha1 f489e1a70e415731d401422f711670288571040b \ - rmd160 5f7c80ec9bf68f1708213596a994130964e91e52 - distname ${my_name}-${version} - } depends_build port:py${python.version}-setuptools depends_run path:${python.pkgd}/pytz:py${python.version}-tz @@ -52,9 +43,6 @@ if {${name} eq ${subport}} { livecheck.type regex livecheck.regex /${my_name}-(\\d+(?:\\.\\d+)*) -} elseif {${subport} eq "py27-dateutil"} { - livecheck.type regex - livecheck.regex /${my_name}-(1.(\\d+)*) } else { livecheck.type none }