From 0c63fa97e71dea2faea368652bb2fadba7d733fb Mon Sep 17 00:00:00 2001 From: Emi Vasilek Date: Sat, 4 Nov 2023 14:50:47 +0100 Subject: [PATCH] python3-shxparser: use pytest for tests --- srcpkgs/python3-shxparser/template | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) 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 }