diff options
author | Fabian Affolter <fabian@affolter-engineering.ch> | 2017-11-13 20:56:22 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-11-15 07:48:36 +0000 |
commit | 52a4540ca8c0b02ce4595090ba49a2669b770a13 (patch) | |
tree | d02aedef64ecb47e5e611ea18ca045bdd7427b95 /main/py-tz | |
parent | fa9af846c6196d5b9dfe85bb2226aedad59ffb9a (diff) | |
download | aports-52a4540ca8c0b02ce4595090ba49a2669b770a13.tar.bz2 aports-52a4540ca8c0b02ce4595090ba49a2669b770a13.tar.xz |
main/py-tz: upgrade to 2017.3
Diffstat (limited to 'main/py-tz')
-rw-r--r-- | main/py-tz/APKBUILD | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/main/py-tz/APKBUILD b/main/py-tz/APKBUILD index 062fc566c0..988a14e984 100644 --- a/main/py-tz/APKBUILD +++ b/main/py-tz/APKBUILD @@ -2,21 +2,22 @@ # Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> pkgname=py-tz _pkgname=pytz -pkgver=2016.7 -pkgrel=1 +pkgver=2017.3 +pkgrel=0 pkgdesc="A Python definitions of world timezone" url="http://pytz.sourceforge.net/" arch="noarch" license="MIT" +options="!check" depends="" 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" +source="https://pypi.io/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.zip" builddir="$srcdir/$_pkgname-$pkgver" build() { cd "$builddir" - python2 setup.py build || return 1 + python2 setup.py build python3 setup.py build } @@ -43,6 +44,4 @@ _py() { $python setup.py install --prefix=/usr --root="$subpkgdir" } -md5sums="8660ba7c3c0abd23e6e4efa493b02966 pytz-2016.7.tar.gz" -sha256sums="8787de03f35f31699bcaf127e56ad14c00647965ed24d72dbaca87c6e4f843a3 pytz-2016.7.tar.gz" -sha512sums="005ce547176afe9b6a9b4bd9f776e699cddb9a4b33dcc17b50d3da44a05b999d6e5a1ed812a40da5b108cc5fafe2981120a87cfe42252bc04970082b2d3bf48c pytz-2016.7.tar.gz" +sha512sums="7c2358cea351f1bd909e00b8f1e6fba32e9f60f2a3be8a64038ede972189e87070d95314ca430315c8a9644653cfcb8f0e4c4d87d11c472eacc5c1277a777bdc pytz-2017.3.zip" |