dev-python/cython: skip layout test

It needs dev-python/pip and if pip is installed, it'll (often?) fail
because of 'externally managed'.

Closes: https://bugs.gentoo.org/927995
Closes: https://bugs.gentoo.org/930482
Closes: https://bugs.gentoo.org/942426
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2025-04-20 00:30:06 +01:00
parent 00053c753c
commit 4e15dabbac
3 changed files with 21 additions and 0 deletions

View File

@@ -44,6 +44,13 @@ distutils_enable_sphinx docs \
dev-python/sphinx-issues \
dev-python/sphinx-tabs
python_prepare_all() {
# Needs dev-python/pip and doesn't like 'externally-managed' (bug #927995)
rm tests/run/coverage_cmd_src_pkg_layout.srctree || die
distutils-r1_python_prepare_all
}
python_compile() {
# Python gets confused when it is in sys.path before build.
local -x PYTHONPATH=

View File

@@ -50,6 +50,13 @@ distutils_enable_sphinx docs \
dev-python/sphinx-issues \
dev-python/sphinx-tabs
python_prepare_all() {
# Needs dev-python/pip and doesn't like 'externally-managed' (bug #927995)
rm tests/run/coverage_cmd_src_pkg_layout.srctree || die
distutils-r1_python_prepare_all
}
python_compile() {
# Python gets confused when it is in sys.path before build.
local -x PYTHONPATH=

View File

@@ -45,6 +45,13 @@ distutils_enable_sphinx docs \
dev-python/sphinx-issues \
dev-python/sphinx-tabs
python_prepare_all() {
# Needs dev-python/pip and doesn't like 'externally-managed' (bug #927995)
rm tests/run/coverage_cmd_src_pkg_layout.srctree || die
distutils-r1_python_prepare_all
}
python_compile() {
# Python gets confused when it is in sys.path before build.
local -x PYTHONPATH=