distutils-r1.eclass: Do not modify the HOME variable
authorMike Gilbert <floppym@gentoo.org>
Sun, 29 May 2016 12:57:59 +0000 (08:57 -0400)
committerMike Gilbert <floppym@gentoo.org>
Sun, 5 Jun 2016 16:47:11 +0000 (12:47 -0400)
This was only necessary when we ran phases in parallel.
Also, PMS says this variable should not be modified.

eclass/distutils-r1.eclass

index 334ce73a65031608fab9368bc9ac35997b3b9a79..c5452906e2bdd361b788f31e05caf327ea344ae1 100644 (file)
@@ -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