33 lines
974 B
Text
33 lines
974 B
Text
|
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
|
||
|
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
|
||
|
pkgname=py3-webdavclient3
|
||
|
#_pkgreal is used by apkbuild-pypi to find modules at PyPI
|
||
|
_pkgreal=webdavclient3
|
||
|
pkgver=3.14.6
|
||
|
pkgrel=0
|
||
|
pkgdesc="WebDAV client"
|
||
|
url="https://pypi.python.org/project/webdavclient3"
|
||
|
arch="noarch"
|
||
|
license="MIT"
|
||
|
depends="py3-requests py3-lxml py3-dateutil"
|
||
|
checkdepends="py3-pytest"
|
||
|
makedepends="py3-setuptools py3-gpep517 py3-wheel"
|
||
|
source="$pkgname-$pkgver.tar.gz::https://pypi.io/packages/source/w/webdavclient3/webdavclient3-$pkgver.tar.gz"
|
||
|
builddir="$srcdir/$_pkgreal-$pkgver"
|
||
|
subpackages="$pkgname-pyc"
|
||
|
|
||
|
build() {
|
||
|
gpep517 build-wheel \
|
||
|
--wheel-dir .dist \
|
||
|
--output-fd 3 3>&1 >&2
|
||
|
}
|
||
|
|
||
|
package() {
|
||
|
python3 -m installer -d "$pkgdir" \
|
||
|
.dist/*.whl
|
||
|
}
|
||
|
|
||
|
sha512sums="
|
||
|
8561fc5fbfd4b0a5e65e8291ee5994aa941ceb586386a14de9f80cf4e3c12be88207c90b6fa991fbd690291019e45d2937e8a4c8fd19891d53d68de430ef9d9e py3-webdavclient3-3.14.6.tar.gz
|
||
|
"
|