python3-shxparser: use pytest for tests
This commit is contained in:
parent
86870336d9
commit
0c63fa97e7
@ -4,7 +4,7 @@ version=0.0.2
|
||||
revision=1
|
||||
build_style=python3-module
|
||||
hostmakedepends="python3-setuptools"
|
||||
checkdepends="python3-svgelements"
|
||||
checkdepends="python3-pytest python3-svgelements"
|
||||
short_desc="Pure Python Parser for SHX Hershey font files"
|
||||
maintainer="Luciogi <lucigithubcommit@skiff.com>"
|
||||
license="MIT"
|
||||
@ -12,10 +12,7 @@ homepage="https://github.com/tatarize/shxparser"
|
||||
distfiles="${PYPI_SITE}/s/shxparser/shxparser-${version}.tar.gz"
|
||||
checksum=8541e4bce62876822c93f3959e7f6909ef1bf8352691b343bacdaaa9b92ff270
|
||||
|
||||
pre_install() {
|
||||
rm -r build/lib/test test
|
||||
}
|
||||
|
||||
post_install() {
|
||||
rm -r ${DESTDIR}/${py3_sitelib}/test
|
||||
vlicense LICENSE
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user