python3-svgelements: use pytest for tests
This commit is contained in:
parent
ed31f3b2c2
commit
86870336d9
1 changed files with 2 additions and 5 deletions
|
@ -4,7 +4,7 @@ version=1.9.6
|
||||||
revision=1
|
revision=1
|
||||||
build_style=python3-module
|
build_style=python3-module
|
||||||
hostmakedepends="python3-setuptools"
|
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"
|
short_desc="SVG Parsing for Elements, Paths, and other SVG Objects"
|
||||||
maintainer="Luciogi <lucigithubcommit@skiff.com>"
|
maintainer="Luciogi <lucigithubcommit@skiff.com>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
|
@ -12,10 +12,7 @@ homepage="https://github.com/meerk40t/svgelements"
|
||||||
distfiles="${PYPI_SITE}/s/svgelements/svgelements-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/s/svgelements/svgelements-${version}.tar.gz"
|
||||||
checksum=7c02ad6404cd3d1771fd50e40fbfc0550b0893933466f86a6eb815f3ba3f37f7
|
checksum=7c02ad6404cd3d1771fd50e40fbfc0550b0893933466f86a6eb815f3ba3f37f7
|
||||||
|
|
||||||
pre_install() {
|
|
||||||
rm -r build/lib/test test
|
|
||||||
}
|
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
|
rm -r ${DESTDIR}/${py3_sitelib}/test
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue