# Contributor: Alex Denes # Maintainer: Alex Denes _pkgname=geopy pkgname="py3-$_pkgname" pkgver=2.3.0 pkgrel=1 pkgdesc="Geocoding library" url="https://geopy.readthedocs.io/" arch="noarch" license="MIT" depends=" py3-geographiclib " makedepends="py3-setuptools_scm" checkdepends=" py3-async_generator py3-aiohttp py3-pytest py3-pytest-aiohttp py3-pytest-asyncio py3-pytest-xdist py3-sphinx " subpackages="$pkgname-pyc" source="https://files.pythonhosted.org/packages/source/g/geopy/geopy-$pkgver.tar.gz" builddir="$srcdir/$_pkgname-$pkgver" build() { python3 setup.py build } check() { PYTHONPATH=build/lib pytest -n auto -v \ --ignore='test/geocoders' \ --deselect=test/adapters/each_adapter.py # timeout read internet } package() { python3 setup.py install --root "$pkgdir" } sha512sums=" bb9409dddd03f609335cdf1d3f2925e179d51ae3697b399404052d7dd1449e48a27ae6c142bdc0b07c45c309753111a213d9aac378bb3d193be8b6230df031a0 geopy-2.3.0.tar.gz "