# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=py3-timezonefinder pkgver=5.2.0 pkgrel=3 pkgdesc="Fast python package for finding the timezone of any point on earth (coordinates) offline" url="https://github.com/jannikmi/timezonefinder" arch="noarch" license="MIT" depends=" py3-numpy python3 " makedepends="py3-setuptools" checkdepends=" py3-pytest py3-pytest-cov " subpackages="$pkgname-pyc" source="https://pypi.python.org/packages/source/t/timezonefinder/timezonefinder-$pkgver.tar.gz" builddir="$srcdir/timezonefinder-$pkgver" build() { python3 setup.py build } check() { PYTHONPATH="$PWD/build/lib" pytest } package() { python3 setup.py install --skip-build --root="$pkgdir" } sha512sums="94da76328aa95d72c886c5b3e8a07d9044c032c500bbc3d88f6739f463e32a66a9246f988c4123e3ebc446b543f3ca1270b18d22d90569b4945dc478f02cad48 timezonefinder-5.2.0.tar.gz"