diff options
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 5 insertions, 4 deletions
@@ -6,7 +6,8 @@ pkgbase = python-tr064 arch = any license = MIT makedepends = git - makedepends = python-pip + makedepends = python-pytest-runner + makedepends = python-wheel depends = python-requests depends = python-lxml source = git+https://github.com/bfueldner/tr064#commit=6b12f879fa5ccec4cd2d68fac48db1c2815f131c @@ -9,17 +9,17 @@ arch=(any) url="https://github.com/bfueldner/tr064" license=(MIT) depends=(python-requests python-lxml) -makedepends=(git python-pip) +makedepends=(git python-pytest-runner python-wheel) source=(git+"https://github.com/bfueldner/tr064#commit=6b12f879fa5ccec4cd2d68fac48db1c2815f131c") b2sums=("SKIP") build() { cd $_name - python setup.py build + python -m build --wheel --no-isolation } package() { cd $_name - python setup.py install --root="$pkgdir" --optimize=1 + python -m installer --destdir="$pkgdir" dist/*.whl install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE } |