commit:     da4e991e2ac745a1d202b964072b69d3bf4bbd01
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Sun May 29 12:57:59 2016 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Sun Jun  5 16:47:11 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da4e991e

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 334ce73..c545290 100644
--- a/eclass/distutils-r1.eclass
+++ b/eclass/distutils-r1.eclass
@@ -637,12 +637,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