diff options
author | Fabian Affolter <fabian@affolter-engineering.ch> | 2016-11-09 05:38:16 +0000 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2016-12-27 13:14:26 +0200 |
commit | 555a2da26e60badeee5b607d285e6427ef0b9d90 (patch) | |
tree | 9a3824c8f11fdf13108bc1eef680a9a51aee065d /main/py-dateutil | |
parent | fedc34755440807f2bcf8b241962d91a64814b2f (diff) | |
download | aports-555a2da26e60badeee5b607d285e6427ef0b9d90.tar.bz2 aports-555a2da26e60badeee5b607d285e6427ef0b9d90.tar.xz |
main/py-dateutil: upgrade to 2.6.0
Diffstat (limited to 'main/py-dateutil')
-rw-r--r-- | main/py-dateutil/APKBUILD | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/main/py-dateutil/APKBUILD b/main/py-dateutil/APKBUILD index 90e83dcb12..bc122b89d0 100644 --- a/main/py-dateutil/APKBUILD +++ b/main/py-dateutil/APKBUILD @@ -2,13 +2,13 @@ # Maintainer: William Pitcock <nenolod@dereferenced.org> pkgname=py-dateutil _pkgname=python-dateutil -pkgver=2.5.3 +pkgver=2.6.0 pkgrel=0 pkgdesc="Python extensions for datetime module" -url="http://labix.org/python-dateutil" +url="https://dateutil.readthedocs.io" arch="noarch" license="BSD" -depends="" +depends="py-six" makedepends="python2-dev python3-dev py-setuptools" subpackages="py2-${pkgname#py-}:_py2 py3-${pkgname#py-}:_py3" source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" @@ -16,9 +16,8 @@ builddir="$srcdir/$_pkgname-$pkgver" build() { cd "$builddir" - python2 setup.py build || return 1 - python3 setup.py build + python3 setup.py build || return 1 } package() { @@ -27,12 +26,12 @@ package() { _py2() { replaces="$pkgname" - depends="py2-six" + depends="${depends//py-/py2-}" _py python2 } _py3() { - depends="py3-six" + depends="${depends//py-/py3-}" _py python3 } @@ -46,6 +45,6 @@ _py() { $python setup.py install --prefix=/usr --root="$subpkgdir" } -md5sums="05ffc6d2cc85a7fd93bb245807f715ef python-dateutil-2.5.3.tar.gz" -sha256sums="1408fdb07c6a1fa9997567ce3fcee6a337b39a503d80699e0f213de4aa4b32ed python-dateutil-2.5.3.tar.gz" -sha512sums="413b935321f0a65fd8e8ba49990acd5bed60b9bcd614837a26c1cf52ecbf268543a97791dfa7b91ebf183866a8de7be302ca7d18d10352e897994f60bce5df62 python-dateutil-2.5.3.tar.gz" +md5sums="6e38f91e8c94c15a79ce22768dfeca87 python-dateutil-2.6.0.tar.gz" +sha256sums="62a2f8df3d66f878373fd0072eacf4ee52194ba302e00082828e0d263b0418d2 python-dateutil-2.6.0.tar.gz" +sha512sums="1fec6dd6fc00650821fd826405414bcde79e1542a53608ebd837e924b4abc147a369214ec064adbff682fc5ff67440086f3000eaa77b274c7463c3f58686ced9 python-dateutil-2.6.0.tar.gz" |