summaryrefslogtreecommitdiff
path: root/eclass/distutils-r1.eclass
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2016-06-20 16:30:16 -0400
committerMike Gilbert <floppym@gentoo.org>2016-07-03 14:25:23 -0400
commita9c810832dc49fb0e444a53fb841b77e2be558e3 (patch)
tree4f80537797180992c91e3809b83f3c5a95b5cee7 /eclass/distutils-r1.eclass
parent6060c98ece21117982fac1fc258a140e79404966 (diff)
downloadgentoo-a9c810832dc49fb0e444a53fb841b77e2be558e3.tar.gz
gentoo-a9c810832dc49fb0e444a53fb841b77e2be558e3.tar.xz
distutils-r1.eclass: reset XDG env vars
Bug: https://bugs.gentoo.org/577704
Diffstat (limited to 'eclass/distutils-r1.eclass')
-rw-r--r--eclass/distutils-r1.eclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
index c5452906e2b..fb0362c3022 100644
--- a/eclass/distutils-r1.eclass
+++ b/eclass/distutils-r1.eclass
@@ -80,7 +80,7 @@ esac
if [[ ! ${_DISTUTILS_R1} ]]; then
[[ ${EAPI} == [45] ]] && inherit eutils
-inherit toolchain-funcs
+inherit toolchain-funcs xdg-utils
if [[ ! ${DISTUTILS_SINGLE_IMPL} ]]; then
inherit multiprocessing python-r1
@@ -749,6 +749,7 @@ distutils-r1_src_prepare() {
distutils-r1_src_configure() {
python_export_utf8_locale
+ xdg_environment_reset # Bug 577704
if declare -f python_configure >/dev/null; then
_distutils-r1_run_foreach_impl python_configure