dev-python/ignore-python: copy the .so file instead of overriding pythonpath

Closes: https://bugs.gentoo.org/979206
Signed-off-by: Pavel Sobolev <contact@paveloom.dev>
This commit is contained in:
Pavel Sobolev
2026-07-14 21:21:34 +03:00
parent aa4a2baa61
commit 54d2365565

View File

@@ -31,5 +31,6 @@ EPYTEST_PLUGINS=()
distutils_enable_tests pytest
python_test() {
epytest --override-ini="pythonpath=${BUILD_DIR}/install$(python_get_sitedir)"
cp "${BUILD_DIR}/install$(python_get_sitedir)/ignore/ignore"*.so ignore || die
epytest
}