aports/testing/py3-deluge-client/APKBUILD
2024-08-30 20:37:45 +00:00

33 lines
964 B
Plaintext

# Contributor: Fabricio Silva <hi@fabricio.dev>
# Maintainer: Fabricio Silva <hi@fabricio.dev>
pkgname=py3-deluge-client
pkgver=1.10.2
pkgrel=0
pkgdesc="A very lightweight pure-python Deluge RPC Client."
url="https://github.com/JohnDoee/deluge-client"
arch="noarch"
license="MIT"
makedepends="py3-gpep517 py3-setuptools py3-wheel"
subpackages="$pkgname-pyc $pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/JohnDoee/deluge-client/archive/$pkgver.tar.gz"
options="!check" # tests require an instance of deluge
builddir="$srcdir/deluge-client-$pkgver"
build() {
gpep517 build-wheel \
--wheel-dir .dist \
--output-fd 3 3>&1 >&2
}
package() {
python3 -m installer -d "$pkgdir" \
.dist/*.whl
install -Dm644 LICENSE \
-t "$pkgdir"/usr/share/licenses/$pkgname/
}
sha512sums="
6838b2ef9bc422c6bd2c778513d601dbb28d3217c1b1e61f7ddf945ce8208a5fe02de11f089ea5cc4d297ba3764d3bfde7f8d131dbf31a5ebeac00b7313ad9a3 py3-deluge-client-1.10.2.tar.gz
"