Gentoo Archives: gentoo-python

From: "Michał Górny" <mgorny@g.o>
To: gentoo-python@l.g.o
Cc: python@g.o, "Michał Górny" <mgorny@g.o>
Subject: [gentoo-python] [PATCH 1/3] Make HOME per-impl in addition to TMPDIR.
Date: Thu, 19 Sep 2013 10:30:41
Message-Id: 1379586664-19620-2-git-send-email-mgorny@gentoo.org
In Reply to: [gentoo-python] [PATCHES] Use pydistutils.cfg to pass build-dir by "Michał Górny"
1 ---
2 gx86/eclass/distutils-r1.eclass | 5 +++--
3 1 file changed, 3 insertions(+), 2 deletions(-)
4
5 diff --git a/gx86/eclass/distutils-r1.eclass b/gx86/eclass/distutils-r1.eclass
6 index dad6eed..2337891 100644
7 --- a/gx86/eclass/distutils-r1.eclass
8 +++ b/gx86/eclass/distutils-r1.eclass
9 @@ -545,9 +545,10 @@ distutils-r1_run_phase() {
10 fi
11 local -x PYTHONPATH="${BUILD_DIR}/lib:${PYTHONPATH}"
12
13 - local TMPDIR=${T}/${EPYTHON}
14 + local -x TMPDIR=${T}/${EPYTHON}
15 + local -x HOME=${TMPDIR}/home
16
17 - mkdir -p "${TMPDIR}" || die
18 + mkdir -p "${TMPDIR}" "${HOME}" || die
19
20 "${@}"
21
22 --
23 1.8.3.2