distutils-r1.eclass: Do not modify the HOME variable
authorMike Gilbert <floppym@gentoo.org>
Fri, 6 May 2016 13:25:50 +0000 (09:25 -0400)
committerMichał Górny <mgorny@gentoo.org>
Sat, 21 May 2016 19:39:53 +0000 (21:39 +0200)
This was only necessary when we ran phases in parallel.
Also, PMS says this variable should not be modified.

eclass/distutils-r1.eclass

index afd29ed272ffa68badb11deb1f797e094d255a14..dbc55ff45ebe588cd5352c4951463965ba2d510c 100644 (file)
@@ -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