summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2018-11-26 11:14:36 -0500
committerMike Gilbert <floppym@gentoo.org>2018-11-26 11:14:36 -0500
commit47f35700de86b896c91a5431870dd7b798187f5f (patch)
tree28303a5ce56a2e9476bea4b183dd0a4d74282a0b /eclass/distutils-r1.eclass
parentRevert "dev-python/cryptography: add missing pycparser dep" (diff)
downloadgentoo-47f35700de86b896c91a5431870dd7b798187f5f.tar.gz
gentoo-47f35700de86b896c91a5431870dd7b798187f5f.tar.bz2
gentoo-47f35700de86b896c91a5431870dd7b798187f5f.zip
distutils-r1.eclass: addpredict /usr/lib/${EPYTHON}
This works around sandbox failures with python3.7, which moved from /usr/$(get_libdir) to /usr/lib. Bug: https://bugs.gentoo.org/671948 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'eclass/distutils-r1.eclass')
-rw-r--r--eclass/distutils-r1.eclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
index ffb07441ad99..fa7a3ab5c12b 100644
--- a/eclass/distutils-r1.eclass
+++ b/eclass/distutils-r1.eclass
@@ -545,6 +545,7 @@ distutils-r1_python_install() {
# 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 "${EPREFIX}/usr/$(get_libdir)/${EPYTHON}"
addpredict /usr/lib/portage/pym
addpredict /usr/local # bug 498232