diff --git a/testing/py3-aioxmpp/APKBUILD b/testing/py3-aioxmpp/APKBUILD index cdde72431aa..bcff7a1c31a 100644 --- a/testing/py3-aioxmpp/APKBUILD +++ b/testing/py3-aioxmpp/APKBUILD @@ -3,7 +3,7 @@ pkgname=py3-aioxmpp _pkgname=aioxmpp pkgver=0.13.3 -pkgrel=2 +pkgrel=3 pkgdesc="An XMPP library in pure Python and using asyncio." url="https://pypi.org/project/aioxmpp/" arch="noarch" @@ -23,18 +23,21 @@ py3-sortedcontainers py3-tzlocal python3 " -makedepends="py3-setuptools" +makedepends="py3-setuptools py3-gpep517" source="https://files.pythonhosted.org/packages/source/a/aioxmpp/aioxmpp-$pkgver.tar.gz" subpackages="$pkgname-doc $pkgname-pyc" builddir="$srcdir/$_pkgname-$pkgver" options="!check" # tests not included in source package. 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 install -Dm644 COPYING.LESSER COPYING.gpl3 LICENSES README.rst \ -t "$pkgdir"/usr/share/licenses/$pkgname }