summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1314395829e3f37a84c916b1d8815c8848dd493c (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
# Maintainer: Stefan Gehr <stefangehr@protonmail.com>

_name=tr064
pkgname=python-tr064
pkgver=0.1.1
pkgrel=1
pkgdesc="Lightweight and Straight-Forward TR-064 Client"
arch=(any)
url="https://github.com/bfueldner/tr064"
license=(MIT)
depends=(python-requests python-lxml)
makedepends=(git python-pytest-runner python-wheel)
source=(git+"https://github.com/bfueldner/tr064#commit=6b12f879fa5ccec4cd2d68fac48db1c2815f131c")
b2sums=("SKIP")

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

package() {
	cd $_name
	python -m installer --destdir="$pkgdir" dist/*.whl
	install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}