1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-24 19:55:26 +03:00
aports/community/py3-geotiler/APKBUILD
psykose aa528d2a76 */*: unify gpep517 use to output to fd 3
outputting to 3 then redirecting all to stderr prevents clobbering of
wrapped build fds
2023-01-18 12:58:53 +01:00

50 lines
1.1 KiB
Text

# Contributor: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
# Maintainer: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
pkgname=py3-geotiler
_pkgorig=geotiler
pkgver=0.14.7
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
"
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="
b740a32e22e24d8ce2336b5f4082b1565a5554a1cb8ca194bb6b3bdd2f4c835b36a8e6e83b17c4bc135b614a8b97e21ad8b2977facd3bd0cbbda59fd21eb6bb9 py3-geotiler-0.14.7.tar.gz
"