# Contributor: Iztok Fister, Jr. # Maintainer: Iztok Fister, Jr. pkgname=py3-geotiler _pkgorig=geotiler pkgver=0.15.0 pkgrel=0 pkgdesc="GeoTiler is a library to create map using tiles from a map provider" url="https://github.com/wrobell/geotiler" arch="noarch" license="GPL-3.0-or-later" depends=" python3 py3-aiohttp py3-cytoolz py3-pillow py3-setuptools " checkdepends=" python3-dev py3-numpy py3-pytest py3-pytest-cov " makedepends=" py3-gpep517 py3-setuptools py3-wheel " subpackages="$pkgname-pyc" source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/g/geotiler/geotiler-$pkgver.tar.gz" builddir="$srcdir/$_pkgorig-$pkgver" build() { gpep517 build-wheel \ --wheel-dir .dist \ --output-fd 3 3>&1 >&2 } check() { python3 -m pytest } package() { python3 -m installer --destdir="$pkgdir" .dist/*.whl rm -r "$pkgdir"/usr/lib/python3.*/site-packages/geotiler/tests } sha512sums=" 88a2f92f9a41db76a2164fb10c5460eef0cc4f82395adc36d82ea8e24a056755b945788896faa49852bbc4598e3cce00ee87e9af04712b9fc5205966ea385338 py3-geotiler-0.15.0.tar.gz "