diff options
Diffstat (limited to 'testing/py3-tzlocal/APKBUILD')
-rw-r--r-- | testing/py3-tzlocal/APKBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/testing/py3-tzlocal/APKBUILD b/testing/py3-tzlocal/APKBUILD new file mode 100644 index 0000000000..05cb32e156 --- /dev/null +++ b/testing/py3-tzlocal/APKBUILD @@ -0,0 +1,28 @@ +# Maintainer: +pkgname=py3-tzlocal +_pkgname=tzlocal +pkgver=1.4 +pkgrel=1 +pkgdesc="Python tzinfo object for the local timezone" +url="http://pytz.sourceforge.net/" +arch="noarch" +license="CC0-1.0" +provides="py-tzlocal" # for backwards compatibility +provides="py-tzlocal=$pkgver-r$pkgrel" # for backwards compatibility +depends="python3 py3-tz" +makedepends="python3-dev py3-setuptools" +source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" + +builddir="$srcdir/$_pkgname-$pkgver" + +build() { + cd "$builddir" + python3 setup.py build +} + +package() { + cd "$builddir" + python3 setup.py install --prefix=/usr --root="$pkgdir" +} + +sha512sums="e846f00cb0571da0c891ca8576d614ebfed622431201c713ef38a80fc990fa19298873bad74e5020648ec4b8307ce8362412e0e05d260121e9d70691814a321b tzlocal-1.4.tar.gz" |