diff --git a/community/py3-dotmap/APKBUILD b/community/py3-dotmap/APKBUILD index 29f642adb6f..022d545f27b 100644 --- a/community/py3-dotmap/APKBUILD +++ b/community/py3-dotmap/APKBUILD @@ -3,20 +3,22 @@ pkgname=py3-dotmap _pkgorig=dotmap pkgver=1.3.30 -pkgrel=2 +pkgrel=3 pkgdesc="Dot access dictionary with dynamic hierarchy creation and ordered iteration" url="https://github.com/drgrib/dotmap" arch="noarch" license="MIT" depends="python3" -makedepends="py3-setuptools" -checkdepends="py3-pytest" +makedepends="py3-gpep517 py3-setuptools py3-wheel" +checkdepends="py3-pytest-xdist" subpackages="$pkgname-pyc" source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/d/dotmap/dotmap-$pkgver.tar.gz" builddir="$srcdir/$_pkgorig-$pkgver" build() { - python3 setup.py build + gpep517 build-wheel \ + --wheel-dir .dist \ + --output-fd 3 3>&1 >&2 } check() { @@ -24,7 +26,8 @@ check() { } package() { - python3 setup.py install --skip-build --root="$pkgdir" + python3 -m installer -d "$pkgdir" \ + .dist/*.whl } sha512sums="