mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-12-30 05:42:12 +01:00
38 lines
1.1 KiB
Plaintext
38 lines
1.1 KiB
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.29.2
|
|
pkgrel=0
|
|
pkgdesc="OGC Web Service utility library"
|
|
url="http://packages.python.org/pypi/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-setuptools"
|
|
subpackages="$pkgname-pyc"
|
|
source="https://files.pythonhosted.org/packages/source/O/OWSLib/OWSLib-$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pkgreal-$pkgver"
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
tox --sitepackages
|
|
}
|
|
|
|
package() {
|
|
PYTHONPATH=$pkgdir$(python3 -c "import site; print(site.getsitepackages()[0])") \
|
|
python3 setup.py install \
|
|
--prefix=/usr \
|
|
--root="$pkgdir" \
|
|
--single-version-externally-managed
|
|
}
|
|
|
|
sha512sums="
|
|
bf645a36dc2acb41aaea7e8cce4ee3077ee7ff646ab89713fa70d935e158f5ee59e7d602141d0b51fac3658f5e78ef39d6de3ef7d64c0752a38e06c7fe94787d OWSLib-0.29.2.tar.gz
|
|
"
|