# Contributor: Aiden Grossman # Maintainer: Aiden Grossman pkgname=py3-svgpath pkgver=6.3 pkgrel=2 pkgdesc="SVG path and object parser" url="https://github.com/regebro/svg.path" arch="noarch" license="MIT" 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 105_use-better-than-nothing-font.patch no-install-tests.patch" builddir="$srcdir/svg.path-$pkgver" build() { gpep517 build-wheel \ --wheel-dir .dist \ --output-fd 3 3>&1 >&2 } check() { PYTHONPATH=build/lib pytest } package() { python3 -m installer -d "$pkgdir" \ .dist/*.whl } sha512sums=" fd9dd9e1e603be5e212e3eb247c9f3778203f5285397a4cdde4c038c3f31f7bc2b8904491c208256996e2fbd39b4e5f7ea58d964bd5d22bc09c57e4bc2c70317 py3-svgpath-6.3.tar.gz d12d32b0f6b075ee8602a7eee5dd1ddaa8f097fe3d471f2941fac0bba335641111eb2c0e2819dffea822f895833ffafa35baac80085cf759ca1ed8f7a6b92773 105_use-better-than-nothing-font.patch 62ab1e0980c7fb797f74b81c937a68b6af1112fff293e6ddec6389a8e490a08e181c37217408b58ce3a2ae2afda7813bb3bbe57d5414cfc18e4e53e6d2f2ea5a no-install-tests.patch "