From 43a45d318c9680ca2a8c293220ddbd721a173591 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Fri, 1 Nov 2024 10:13:13 -0400 Subject: [PATCH] backports/py3-svgpath: build using gpep517 --- backports/py3-svgpath/APKBUILD | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/backports/py3-svgpath/APKBUILD b/backports/py3-svgpath/APKBUILD index 12901b9..3cfbc91 100644 --- a/backports/py3-svgpath/APKBUILD +++ b/backports/py3-svgpath/APKBUILD @@ -1,8 +1,9 @@ # Contributor: Aiden Grossman -# Maintainer: Aiden Grossman +# Maintainer: Celeste +maintainer="Celeste " pkgname=py3-svgpath pkgver=6.3 -pkgrel=2 +pkgrel=3 pkgdesc="SVG path and object parser" url="https://github.com/regebro/svg.path" arch="noarch" @@ -12,7 +13,8 @@ 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 105_use-better-than-nothing-font.patch - no-install-tests.patch" + no-install-tests.patch + " builddir="$srcdir/svg.path-$pkgver" build() { @@ -22,7 +24,9 @@ build() { } check() { - PYTHONPATH=build/lib pytest + python3 -m venv --clear --without-pip --system-site-packages .testenv + .testenv/bin/python3 -m installer .dist/*.whl + .testenv/bin/python3 -m pytest } package() {