From bb4305d0744a43ef564331a6d60e41923f765dbc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Mon, 20 Nov 2023 16:56:07 +0100 Subject: [PATCH] dev-python/scikit-build: Enable pypy3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sponsored-by: Ex Makhina, Inc. Signed-off-by: Michał Górny --- dev-python/scikit-build/scikit-build-0.17.6.ebuild | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/dev-python/scikit-build/scikit-build-0.17.6.ebuild b/dev-python/scikit-build/scikit-build-0.17.6.ebuild index 12d717e09fe71..64d867f18fce0 100644 --- a/dev-python/scikit-build/scikit-build-0.17.6.ebuild +++ b/dev-python/scikit-build/scikit-build-0.17.6.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( pypy3 python3_{10..12} ) inherit distutils-r1 pypi @@ -52,6 +52,17 @@ src_prepare() { } python_test() { + local EPYTEST_DESELECT=() + + case ${EPYTHON} in + pypy3) + EPYTEST_DESELECT+=( + # no "library" in (our install of) pypy3 + tests/test_cmaker.py::test_get_python_library + ) + ;; + esac + epytest -m "not isolated and not nosetuptoolsscm" rm -r "${BUILD_DIR}/install$(python_get_sitedir)"/{easy-install.pth,*.egg,*.egg-link} || die }