From bca4036e6537a0f366f89858e6342e5f578e4c21 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Sun, 14 Apr 2024 18:28:24 -0400 Subject: [PATCH] backports/py3-svgpath: rebuild --- backports/py3-svgpath/APKBUILD | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) 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="