# Maintainer: prspkt pkgname=py3-tzlocal _pkgname=tzlocal pkgver=2.0.0 pkgrel=1 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="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() { python3 setup.py build } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="b72487f791df1dda7370ef5de58e524a451bf87a2ad5ce9d365591fb45af1e080499956d9b19410aeacdf3013ce09c84cd3ec243e15d3bbbee4cec32685298d9 tzlocal-2.0.0.tar.gz"