diff --git a/srcpkgs/python3-pywt/template b/srcpkgs/python3-pywt/template index 2facec5491f..b4890de4450 100644 --- a/srcpkgs/python3-pywt/template +++ b/srcpkgs/python3-pywt/template @@ -4,6 +4,7 @@ version=1.6.0 revision=1 build_style=python3-pep517 build_helper="meson numpy" +make_check_target=".xbps-testdir/*/${py3_sitelib}/pywt/tests" hostmakedepends="python3-meson-python python3-Cython" makedepends="python3-devel" depends="python3-numpy" @@ -15,15 +16,6 @@ homepage="https://github.com/PyWavelets/pywt" distfiles="${homepage}/archive/v${version}.tar.gz" checksum=8f2cbc64ee8142bf069447bf26bc3ff0f5e332a18062c6ca0ea033f20a4fb995 -do_check() { - local testdir="${wrksrc}/.xbps-testdir/$(date +%s)" - python3 -m installer --destdir "${testdir}" dist/*.whl - - # Relative imports in tests preclude running from source tree - local pysite="${testdir}/${py3_sitelib}" - PYTHONPATH="${pysite}" pytest3 "${pysite}/pywt/tests" -} - post_install() { vlicense LICENSE }