Skip to content
Permalink
Browse files

python/py-dateutil: update to 2.2, https://trac.macports.org/ticket/4…

…3095

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@118260 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
skymoo committed Mar 27, 2014
1 parent dd74829 commit 96620d63402d905368d4b817bc9207344a21e0d5
Showing with 6 additions and 18 deletions.
  1. +6 −18 python/py-dateutil/Portfile
@@ -6,8 +6,7 @@ PortGroup python 1.0

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 @@ license BSD
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} ne ${subport}} {
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
}

0 comments on commit 96620d6

Please sign in to comment.
You can’t perform that action at this time.