blob: 6603b851b54d8b35dda31a0151a2d6af16f5c1e9 (
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
|
# Maintainer: KokaKiwi <kokakiwi+aur@kokakiwi.net>
_name=qbittorrent-api
pkgname="python-$_name"
pkgver=2025.11.1
pkgrel=1
pkgdesc="Python client for qBittorrent v4.1+ Web API"
arch=('any')
url="https://pypi.org/project/$_name"
license=('MIT')
depends=('python' 'python-requests' 'python-urllib3' 'python-packaging')
makedepends=('python-build' 'python-installer' 'python-wheel' 'python-setuptools' 'python-setuptools-scm')
source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name//-/_}/${_name//-/_}-$pkgver.tar.gz")
sha256sums=('5cb2a469f8bc95f616e03bd0259d8b4be60a5c3df0d49910c44309b0f59724c4')
b2sums=('f672b92b19e49c85c41dc1fd20560aee3042a667c5bc2cdf132ba18cafb49b3f567bff8ec79717008afebeb69e2d6ac2427d5e5b923b4c40e3962f24134a98fa')
build() {
cd "${_name//-/_}-$pkgver"
python -m build --wheel --no-isolation
}
package() {
cd "${_name//-/_}-$pkgver"
python -m installer --destdir="$pkgdir" dist/*.whl
install -Dm0644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|