diff options
author | Mike Gilbert <floppym@gentoo.org> | 2018-11-26 11:14:36 -0500 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2018-11-26 11:14:36 -0500 |
commit | 47f35700de86b896c91a5431870dd7b798187f5f (patch) | |
tree | 28303a5ce56a2e9476bea4b183dd0a4d74282a0b /eclass/distutils-r1.eclass | |
parent | Revert "dev-python/cryptography: add missing pycparser dep" (diff) | |
download | gentoo-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.eclass | 1 |
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 |