commit:     3502841473ef8cf94ef14e47449863bbd37f4b5d
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 12 16:35:14 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Jun 12 17:14:20 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35028414

dev-python/noseofyeti: Stop installing .pth file

Stop installing the .pth file as we do not need it, and it breaks
builds of dev-lang/python (sigh!).

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 .../{noseofyeti-2.4.9.ebuild => noseofyeti-2.4.9-r1.ebuild}         | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/dev-python/noseofyeti/noseofyeti-2.4.9.ebuild 
b/dev-python/noseofyeti/noseofyeti-2.4.9-r1.ebuild
similarity index 81%
rename from dev-python/noseofyeti/noseofyeti-2.4.9.ebuild
rename to dev-python/noseofyeti/noseofyeti-2.4.9-r1.ebuild
index aa6f56d6b284..47214fbcd460 100644
--- a/dev-python/noseofyeti/noseofyeti-2.4.9.ebuild
+++ b/dev-python/noseofyeti/noseofyeti-2.4.9-r1.ebuild
@@ -31,3 +31,9 @@ EPYTEST_DESELECT=(
        # requires alt-pytest-asyncio
        tests/test_using_pytest.py::TestPyTest::test_it_collects_tests_correctly
 )
+
+src_install() {
+       distutils-r1_src_install
+       # delete the black .pth thingy, it breaks building CPython (sigh!)
+       find "${ED}" -name '*.pth' -delete || die
+}

Reply via email to