# Maintainer: prspkt pkgname=py3-tzlocal _pkgname=tzlocal pkgver=1.5.1 pkgrel=3 pkgdesc="Python tzinfo object for the local timezone" url="https://github.com/regebro/tzlocal" arch="noarch" 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" 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="9141e3941435fa16afe040f49b8225cdc3434e10003275fe5df9166cb9562764a51c83bc16b6d5be197feb45c913859a37393e13285f0e612510ce076a6451d9 tzlocal-1.5.1.tar.gz"