2024-11-07 22:57:51 +00:00

37 lines
1004 B
Plaintext

# Contributor: Holger Jaekel <holger.jaekel@gmx.de>
# Maintainer: Holger Jaekel <holger.jaekel@gmx.de>
pkgname=py3-owslib
#_pkgreal is used by apkbuild-pypi to find modules at PyPI
_pkgreal=OWSLib
pkgver=0.32.0
pkgrel=0
pkgdesc="OGC Web Service utility library"
url="https://pypi.org/project/OWSLib/"
arch="noarch"
license="BSD-3-Clause"
depends="python3 py3-dateutil py3-tz py3-requests py3-lxml"
checkdepends="python3-dev py3-pytest py3-tox py3-lxml"
makedepends="py3-gpep517 py3-setuptools py3-wheel"
subpackages="$pkgname-pyc"
source="https://files.pythonhosted.org/packages/source/O/OWSLib/OWSLib-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
build() {
gpep517 build-wheel \
--wheel-dir .dist \
--output-fd 3 3>&1 >&2
}
check() {
tox --sitepackages
}
package() {
python3 -m installer -d "$pkgdir" \
.dist/*.whl
}
sha512sums="
e71a553b4cbba7b5d650e495a376bab8e27ce99dcb0ada26997b29d6deae1ac6d1de5ac30d980f2b12c494af1179e6c14ed8eae606efc820a17e8f2d94786b78 OWSLib-0.32.0.tar.gz
"