user/py3-webdavclient3: new aport
This commit is contained in:
parent
0ca7adc3a8
commit
261bedbaac
1 changed files with 32 additions and 0 deletions
32
user/py3-webdavclient3/APKBUILD
Normal file
32
user/py3-webdavclient3/APKBUILD
Normal file
|
@ -0,0 +1,32 @@
|
|||
# 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
|
||||
"
|
Loading…
Reference in a new issue