aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>2022-06-05 11:31:37 +0500
committerAnna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>2022-06-05 11:31:37 +0500
commit041980b053d752cf3a1220722736b3f7e047a83e (patch)
treec632fa1c272ec7ccc10a0d107c8d6f8041230f12 /dev-python/cymem
parentdev-python/hunter: PEP517 (diff)
downloadguru-041980b053d752cf3a1220722736b3f7e047a83e.tar.gz
guru-041980b053d752cf3a1220722736b3f7e047a83e.tar.bz2
guru-041980b053d752cf3a1220722736b3f7e047a83e.zip
dev-python/cymem: fix tests
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
Diffstat (limited to 'dev-python/cymem')
-rw-r--r--dev-python/cymem/cymem-2.0.6.ebuild7
1 files changed, 3 insertions, 4 deletions
diff --git a/dev-python/cymem/cymem-2.0.6.ebuild b/dev-python/cymem/cymem-2.0.6.ebuild
index 6d30881a8..a0f809ba0 100644
--- a/dev-python/cymem/cymem-2.0.6.ebuild
+++ b/dev-python/cymem/cymem-2.0.6.ebuild
@@ -22,8 +22,7 @@ DEPEND="dev-python/cython[${PYTHON_USEDEP}]"
distutils_enable_tests pytest
-python_compile() {
- distutils-r1_python_compile
- use test && esetup.py build_ext --inplace
- rm -rf build || die
+python_test() {
+ cd "${T}" || die
+ epytest --pyargs ${PN}
}