python3-svgelements: use pytest for tests

This commit is contained in:
Emi Vasilek 2023-11-04 14:46:38 +01:00 committed by Michal Vasilek
parent ed31f3b2c2
commit 86870336d9

View file

@ -4,7 +4,7 @@ version=1.9.6
revision=1
build_style=python3-module
hostmakedepends="python3-setuptools"
checkdepends="python3-numpy python3-scipy python3-Pillow"
checkdepends="python3-pytest python3-numpy python3-scipy python3-Pillow"
short_desc="SVG Parsing for Elements, Paths, and other SVG Objects"
maintainer="Luciogi <lucigithubcommit@skiff.com>"
license="MIT"
@ -12,10 +12,7 @@ homepage="https://github.com/meerk40t/svgelements"
distfiles="${PYPI_SITE}/s/svgelements/svgelements-${version}.tar.gz"
checksum=7c02ad6404cd3d1771fd50e40fbfc0550b0893933466f86a6eb815f3ba3f37f7
pre_install() {
rm -r build/lib/test test
}
post_install() {
rm -r ${DESTDIR}/${py3_sitelib}/test
vlicense LICENSE
}