Gentoo Archives: gentoo-dev

From: Mike Gilbert <floppym@g.o>
To: gentoo-dev@l.g.o
Cc: python@g.o
Subject: [gentoo-dev] [PATCH] distutils-r1.eclass: reset XDG env vars
Date: Wed, 22 Jun 2016 16:42:54
Message-Id: 20160622164238.30530-1-floppym@gentoo.org
1 Bug: https://bugs.gentoo.org/577704
2 ---
3 eclass/distutils-r1.eclass | 3 ++-
4 1 file changed, 2 insertions(+), 1 deletion(-)
5
6 diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
7 index c545290..fb0362c 100644
8 --- a/eclass/distutils-r1.eclass
9 +++ b/eclass/distutils-r1.eclass
10 @@ -80,7 +80,7 @@ esac
11 if [[ ! ${_DISTUTILS_R1} ]]; then
12
13 [[ ${EAPI} == [45] ]] && inherit eutils
14 -inherit toolchain-funcs
15 +inherit toolchain-funcs xdg-utils
16
17 if [[ ! ${DISTUTILS_SINGLE_IMPL} ]]; then
18 inherit multiprocessing python-r1
19 @@ -749,6 +749,7 @@ distutils-r1_src_prepare() {
20
21 distutils-r1_src_configure() {
22 python_export_utf8_locale
23 + xdg_environment_reset # Bug 577704
24
25 if declare -f python_configure >/dev/null; then
26 _distutils-r1_run_foreach_impl python_configure
27 --
28 2.9.0