commit:     3bcfb71425f15e237d6002ff3626e2e169df3f05
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Fri May  6 13:25:50 2016 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat May 21 19:39:53 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3bcfb714

distutils-r1.eclass: Do not modify the HOME variable

This was only necessary when we ran phases in parallel.
Also, PMS says this variable should not be modified.

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

diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
index afd29ed..dbc55ff 100644
--- a/eclass/distutils-r1.eclass
+++ b/eclass/distutils-r1.eclass
@@ -632,12 +632,6 @@ distutils-r1_run_phase() {
        # in the sys.path_importer_cache)
        mkdir -p "${BUILD_DIR}/lib" || die
 
-       # We need separate home for each implementation, for .pydistutils.cfg.
-       if [[ ! ${DISTUTILS_SINGLE_IMPL} ]]; then
-               local -x HOME=${HOME}/${EPYTHON}
-               mkdir -p "${HOME}" || die
-       fi
-
        # Set up build environment, bug #513664.
        local -x AR=${AR} CC=${CC} CPP=${CPP} CXX=${CXX}
        tc-export AR CC CPP CXX

Reply via email to