diff --git a/backports/py3-svgpath/APKBUILD b/backports/py3-svgpath/APKBUILD index e0d19f4..875abb4 100644 --- a/backports/py3-svgpath/APKBUILD +++ b/backports/py3-svgpath/APKBUILD @@ -2,13 +2,12 @@ # Maintainer: Aiden Grossman pkgname=py3-svgpath pkgver=6.3 -pkgrel=0 +pkgrel=1 pkgdesc="SVG path and object parser" url="https://github.com/regebro/svg.path" arch="noarch" license="MIT" -depends="python3" -makedepends="py3-setuptools" +makedepends="py3-setuptools py3-gpep517 py3-wheel" checkdepends="py3-pytest py3-pillow" subpackages="$pkgname-pyc" source="$pkgname-$pkgver.tar.gz::https://github.com/regebro/svg.path/archive/refs/tags/$pkgver.tar.gz @@ -17,7 +16,9 @@ source="$pkgname-$pkgver.tar.gz::https://github.com/regebro/svg.path/archive/ref builddir="$srcdir/svg.path-$pkgver" build() { - python3 setup.py build + gpep517 build-wheel \ + --wheel-dir .dist \ + --output-fd 3 3>&1 >&2 } check() { @@ -25,7 +26,8 @@ check() { } package() { - python3 setup.py install --skip-build --root="$pkgdir" + python3 -m installer -d "$pkgdir" \ + .dist/*.whl } sha512sums="