diff --git a/testing/py3-agithub/APKBUILD b/testing/py3-agithub/APKBUILD index 462633051c8..a1d1e931833 100644 --- a/testing/py3-agithub/APKBUILD +++ b/testing/py3-agithub/APKBUILD @@ -1,24 +1,29 @@ # Maintainer: Marian Buschsieweke pkgname=py3-agithub pkgver=2.2.2 -pkgrel=5 +pkgrel=6 pkgdesc="The Agnostic GitHub API" url="https://github.com/mozilla/agithub" arch="noarch" license="MIT" depends="python3" -makedepends="py3-setuptools" +makedepends="py3-setuptools py3-gpep517" subpackages="$pkgname-pyc" source="https://github.com/mozilla/agithub/archive/v$pkgver/mautrix-python-v$pkgver.tar.gz" options="!check" # No tests builddir="$srcdir/agithub-$pkgver" 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="8b9761bd31f30965bf9904a017dac3f97a7539987b6aa76a287dab16a698a98972b44e4781f67e312bb1ca4e77d4d15d575e567f08ac791789bd7114e8f430a0 mautrix-python-v2.2.2.tar.gz" +sha512sums=" +8b9761bd31f30965bf9904a017dac3f97a7539987b6aa76a287dab16a698a98972b44e4781f67e312bb1ca4e77d4d15d575e567f08ac791789bd7114e8f430a0 mautrix-python-v2.2.2.tar.gz +"