commit: 4e15dabbacc0307c6d5d2090435a774b36446f6a Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Sat Apr 19 23:30:06 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sat Apr 19 23:30:06 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e15dabb
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 <AT> gentoo.org> dev-python/cython/cython-3.0.12-r1.ebuild | 7 +++++++ dev-python/cython/cython-3.0.12.ebuild | 7 +++++++ dev-python/cython/cython-3.1.0_beta1-r1.ebuild | 7 +++++++ 3 files changed, 21 insertions(+) diff --git a/dev-python/cython/cython-3.0.12-r1.ebuild b/dev-python/cython/cython-3.0.12-r1.ebuild index 07e00cd150eb..470e50beedd2 100644 --- a/dev-python/cython/cython-3.0.12-r1.ebuild +++ b/dev-python/cython/cython-3.0.12-r1.ebuild @@ -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= diff --git a/dev-python/cython/cython-3.0.12.ebuild b/dev-python/cython/cython-3.0.12.ebuild index b784ea272766..2c0ca14e790f 100644 --- a/dev-python/cython/cython-3.0.12.ebuild +++ b/dev-python/cython/cython-3.0.12.ebuild @@ -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= diff --git a/dev-python/cython/cython-3.1.0_beta1-r1.ebuild b/dev-python/cython/cython-3.1.0_beta1-r1.ebuild index 763a686503d7..540e52b73a79 100644 --- a/dev-python/cython/cython-3.1.0_beta1-r1.ebuild +++ b/dev-python/cython/cython-3.1.0_beta1-r1.ebuild @@ -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=
