diff options
author | prspkt <prspkt@protonmail.com> | 2019-08-13 20:02:18 +0300 |
---|---|---|
committer | prspkt <prspkt@protonmail.com> | 2019-08-13 20:29:15 +0300 |
commit | 4503c2474930b5fe7749203bbfe73dab3d3e4225 (patch) | |
tree | 3349f02275a14187225c9f7bf2383f4aa68eda5f /testing/py3-tzlocal/APKBUILD | |
parent | 42b09b23cfab495038b10f94e2fccc479f772890 (diff) | |
download | aports-4503c2474930b5fe7749203bbfe73dab3d3e4225.tar.bz2 aports-4503c2474930b5fe7749203bbfe73dab3d3e4225.tar.xz |
testing/py3-tzlocal: upgrade to 2.0.0
Signed-off-by: prspkt <prspkt@protonmail.com>
Diffstat (limited to 'testing/py3-tzlocal/APKBUILD')
-rw-r--r-- | testing/py3-tzlocal/APKBUILD | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/testing/py3-tzlocal/APKBUILD b/testing/py3-tzlocal/APKBUILD index fd2a89ecbe..a38f1c891a 100644 --- a/testing/py3-tzlocal/APKBUILD +++ b/testing/py3-tzlocal/APKBUILD @@ -1,8 +1,8 @@ # Maintainer: prspkt <prspkt@protonmail.com> pkgname=py3-tzlocal _pkgname=tzlocal -pkgver=1.5.1 -pkgrel=3 +pkgver=2.0.0 +pkgrel=0 pkgdesc="Python tzinfo object for the local timezone" url="https://github.com/regebro/tzlocal" arch="noarch" @@ -10,19 +10,17 @@ license="MIT" replaces="py-tzlocal" # for backwards compatibility provides="py-tzlocal=$pkgver-r$pkgrel" # for backwards compatibility depends="python3 py3-tz" -makedepends="python3-dev py3-setuptools" +makedepends="py3-setuptools" source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" - builddir="$srcdir/$_pkgname-$pkgver" +options="!check" # the package requires a configured timezone build() { - cd "$builddir" python3 setup.py build } package() { - cd "$builddir" python3 setup.py install --prefix=/usr --root="$pkgdir" } -sha512sums="9141e3941435fa16afe040f49b8225cdc3434e10003275fe5df9166cb9562764a51c83bc16b6d5be197feb45c913859a37393e13285f0e612510ce076a6451d9 tzlocal-1.5.1.tar.gz" +sha512sums="b72487f791df1dda7370ef5de58e524a451bf87a2ad5ce9d365591fb45af1e080499956d9b19410aeacdf3013ce09c84cd3ec243e15d3bbbee4cec32685298d9 tzlocal-2.0.0.tar.gz" |