Gentoo Archives: gentoo-dev

From: Mike Gilbert <floppym@g.o>
To: gentoo-dev@l.g.o
Cc: python@g.o
Subject: [gentoo-dev] [PATCH 3/3] distutils-r1.eclass: Do not modify the HOME variable
Date: Sun, 29 May 2016 13:26:25
Message-Id: 20160529132532.24694-3-floppym@gentoo.org
In Reply to: [gentoo-dev] [PATCH 1/3] distutils-r1.eclass: Strip the trailing slash from D by Mike Gilbert
1 This was only necessary when we ran phases in parallel.
2 Also, PMS says this variable should not be modified.
3 ---
4 eclass/distutils-r1.eclass | 6 ------
5 1 file changed, 6 deletions(-)
6
7 diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
8 index 334ce73..c545290 100644
9 --- a/eclass/distutils-r1.eclass
10 +++ b/eclass/distutils-r1.eclass
11 @@ -637,12 +637,6 @@ distutils-r1_run_phase() {
12 # in the sys.path_importer_cache)
13 mkdir -p "${BUILD_DIR}/lib" || die
14
15 - # We need separate home for each implementation, for .pydistutils.cfg.
16 - if [[ ! ${DISTUTILS_SINGLE_IMPL} ]]; then
17 - local -x HOME=${HOME}/${EPYTHON}
18 - mkdir -p "${HOME}" || die
19 - fi
20 -
21 # Set up build environment, bug #513664.
22 local -x AR=${AR} CC=${CC} CPP=${CPP} CXX=${CXX}
23 tc-export AR CC CPP CXX
24 --
25 2.8.3