mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-12 16:06:42 +02:00
36 lines
1,004 B
Text
36 lines
1,004 B
Text
# 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.1
|
|
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="
|
|
1bdaab334eb6fc8569ac1fb08e97538186f5d85cd3769597764666544d95ec7adc0e94a301518596fb8c1bd106efbe1e36b34e510686bae91c66a6eefec2c5c6 OWSLib-0.32.1.tar.gz
|
|
"
|