commit:     0952a9fdfe55c8869cb527a06f8e3c85267db92a
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 26 06:23:32 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Jul 26 06:32:04 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0952a9fd

distutils-r1.eclass: Remove unneccess. addpredict for PEP517 mode

We do not unset PYTHONDONTWRITEBYTECODE in the PEP517 mode, so we
shouldn't need to be adding addpredicts for that.

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

 eclass/distutils-r1.eclass | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
index f29c62c5964c..95fd0756ff02 100644
--- a/eclass/distutils-r1.eclass
+++ b/eclass/distutils-r1.eclass
@@ -1465,13 +1465,6 @@ distutils-r1_python_compile() {
        esac
 
        if [[ ${DISTUTILS_USE_PEP517} ]]; then
-               # python likes to compile any module it sees, which triggers 
sandbox
-               # failures if some packages haven't compiled their modules yet.
-               addpredict "${EPREFIX}/usr/lib/${EPYTHON}"
-               addpredict /usr/lib/pypy3.8
-               addpredict /usr/lib/portage/pym
-               addpredict /usr/local # bug 498232
-
                distutils_pep517_install "${BUILD_DIR}/install"
        fi
 }

Reply via email to