mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 19:25:25 +03:00
36 lines
1,003 B
Text
36 lines
1,003 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.34.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="
|
|
f320e0054dde9ff76fb75c938bc9648cabda4b8bd0e6fd79affa2461ff62159953278d39686e3d91724ba6417d35a4c9e83d44b703f12072e39d21d5f5b6ffca owslib-0.34.0.tar.gz
|
|
"
|