diff --git a/user/py3-webdavclient3/APKBUILD b/user/py3-webdavclient3/APKBUILD new file mode 100644 index 0000000..798cc69 --- /dev/null +++ b/user/py3-webdavclient3/APKBUILD @@ -0,0 +1,32 @@ +# Contributor: Antoine Martin (ayakael) +# Maintainer: Antoine Martin (ayakael) +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 +"