diff options
author | Bart Ribbers <bribbers@disroot.org> | 2020-12-08 21:37:35 +0100 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2020-12-12 09:37:57 +0000 |
commit | ceb6b48ceeceb988669d07f7c6eded1e1e01ad2c (patch) | |
tree | 145c0901836c2cf35ba8bbecde2dd6e790100eec | |
parent | d956f578313ecf725135bcf61685c8874e956990 (diff) | |
download | aports-ceb6b48ceeceb988669d07f7c6eded1e1e01ad2c.tar.gz aports-ceb6b48ceeceb988669d07f7c6eded1e1e01ad2c.tar.bz2 aports-ceb6b48ceeceb988669d07f7c6eded1e1e01ad2c.tar.xz |
testing/py3-upnpclient: rebuild
Somehow Poetry creates a faulty package when running with "abuild -r",
where it works fine with "abuild rootbld". PyPi generates a "setup.py"
we can use, so let's use that instead
-rw-r--r-- | testing/py3-upnpclient/APKBUILD | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/testing/py3-upnpclient/APKBUILD b/testing/py3-upnpclient/APKBUILD index bc81cfa6b7..9b00a05e27 100644 --- a/testing/py3-upnpclient/APKBUILD +++ b/testing/py3-upnpclient/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Bart Ribbers <bribbers@disroot.org> pkgname=py3-upnpclient pkgver=1.0.3 -pkgrel=0 +pkgrel=1 pkgdesc="Library for accessing uPnP devices" url="https://github.com/flyte/upnpclient" arch="noarch" @@ -17,7 +17,6 @@ depends=" " makedepends=" py3-pytest-runner - poetry py3-pip " checkdepends=" @@ -25,20 +24,16 @@ checkdepends=" py3-pytest py3-pytest-runner " -source="https://github.com/flyte/upnpclient/archive/$pkgver/upnpclient-$pkgver.tar.gz" -options="!check" # Depends on itself +source="https://pypi.python.org/packages/source/u/upnpclient/upnpclient-$pkgver.tar.gz" +options="!check" # No tests in PyPi package builddir="$srcdir/upnpclient-$pkgver" build() { - poetry build --format wheel -} - -check() { - PYTHONPATH="$PWD/dist" pytest + python3 setup.py build } package() { - pip install --isolated --root="$pkgdir" --ignore-installed --no-deps dist/*.whl + python3 setup.py install --root="$pkgdir" } -sha512sums="034460b9821e99130b557a628c7b98537d2e1781eaf2819fc27a19e2ea63e2a001299bee0a615f7edc78c816b02923df6a51414b1f95b738252e26ff3562df94 upnpclient-1.0.3.tar.gz" +sha512sums="6f730fb86177b4a23aaaab4c9ea844a669921e15da99d5f67434cfe9db485eaf1316390cb7be5e1b6ad156b3a43fab1723c1f85af51a1f033690bb99ebef0b44 upnpclient-1.0.3.tar.gz" |