diff --git a/testing/py3-helper/APKBUILD b/testing/py3-helper/APKBUILD index 754e77723e8..07875751bb1 100644 --- a/testing/py3-helper/APKBUILD +++ b/testing/py3-helper/APKBUILD @@ -3,25 +3,30 @@ pkgname=py3-helper _pkgname=helper pkgver=2.5.0 -pkgrel=4 +pkgrel=5 pkgdesc="A Python library for quickly writing configurable applications and daemons" url="https://helper.readthedocs.org/" arch="noarch" license="BSD-3-Clause" -replaces="py-helper" # for backwards compatibility -provides="py-helper=$pkgver-r$pkgrel" # for backwards compatibility depends="python3 py3-yaml" -makedepends="python3-dev py3-setuptools" +makedepends="python3-dev py3-setuptools py3-gpep517" subpackages="$pkgname-pyc" source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" builddir="$srcdir"/$_pkgname-$pkgver +options="!check" # no tests provided + +replaces="py-helper" # for backwards compatibility +provides="py-helper=$pkgver-r$pkgrel" # for backwards compatibility build() { - python3 setup.py build + gpep517 build-wheel \ + --wheel-dir .dist \ + --output-fd 3 3>&1 >&2 } package() { - python3 setup.py install --skip-build --root="$pkgdir" + gpep517 install-wheel --destdir "$pkgdir" \ + .dist/*.whl } sha512sums="