backports/py3-svgpath: rebuild

This commit is contained in:
Antoine Martin 2024-04-14 18:28:24 -04:00
parent 92287e391b
commit bca4036e65
Signed by: forge
GPG key ID: D62A472A4AA7D541

View file

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