diff --git a/srcpkgs/python3-shxparser/template b/srcpkgs/python3-shxparser/template index 45349956875..cb0a280a1b8 100644 --- a/srcpkgs/python3-shxparser/template +++ b/srcpkgs/python3-shxparser/template @@ -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 " 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 }