summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 60c7021cbaecceaafdad8d9efb9345b92e6bee93 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Maintainer: dragon <drgn@fn.de>

pkgname=python-aiobtclientrpc
_pkgname=${pkgname#python-}
pkgver=6.0.1
pkgrel=1
pkgdesc='Asynchronous low-level communication with BitTorrent clients'
arch=('any')
url="https://codeberg.org/plotski/aiobtclientrpc"
license=('GPL-3.0-only')
depends=(
	python
	python-async-timeout
	python-httpx
	python-httpx-socks
	python-python-socks
	python-rencode
)
makedepends=(git python-{build,installer,wheel,setuptools})
source=("git+$url#tag=v$pkgver")
sha512sums=('ef3a9f7fca215d76419a18666fd0cdbdb892482e1b3663e17dd59dd1f418d2b6258938f63482352feeac506ff91dcabceb8db8a8c2138870da4cee84ba9632ac')


build() {
    cd $_pkgname
    python -m build --wheel --no-isolation
}

package() {
    cd $_pkgname
    python -m installer --destdir="$pkgdir" dist/*.whl

    rm -rf "$pkgdir/usr/lib/python3."*/site-packages/{tests,docs,build}
}