mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 13:27:09 +02:00
testing/py3-deluge-client: new aport
This commit is contained in:
parent
ccfe18903c
commit
30dff58c58
32
testing/py3-deluge-client/APKBUILD
Normal file
32
testing/py3-deluge-client/APKBUILD
Normal file
@ -0,0 +1,32 @@
|
||||
# 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
|
||||
"
|
Loading…
Reference in New Issue
Block a user