summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSébastien Fabbro <bicatali@gentoo.org>2016-09-01 15:59:02 +0000
committerSébastien Fabbro <bicatali@gentoo.org>2016-09-01 17:00:06 +0000
commitb35ea7138fa1df4464b72773692b2d649ad50dc5 (patch)
treea6770ccf4c3201d0ee58ceca65c38bf3f20c61dc /dev-python/aplpy
parentdev-python/astropy-helpers: fix xdg sandbox violation (bug #587700) (diff)
downloadgentoo-b35ea7138fa1df4464b72773692b2d649ad50dc5.tar.gz
gentoo-b35ea7138fa1df4464b72773692b2d649ad50dc5.tar.bz2
gentoo-b35ea7138fa1df4464b72773692b2d649ad50dc5.zip
dev-python/aplpy: fix xdg sandbox violation (bug #586806)
Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-python/aplpy')
-rw-r--r--dev-python/aplpy/aplpy-1.0.ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/dev-python/aplpy/aplpy-1.0.ebuild b/dev-python/aplpy/aplpy-1.0.ebuild
index 4023bfce48f0..6687a2c5958b 100644
--- a/dev-python/aplpy/aplpy-1.0.ebuild
+++ b/dev-python/aplpy/aplpy-1.0.ebuild
@@ -6,7 +6,7 @@ EAPI=6
PYTHON_COMPAT=( python{2_7,3_4,3_5} )
-inherit distutils-r1 virtualx
+inherit distutils-r1 virtualx xdg-utils
MYPN=APLpy
MYP=${MYPN}-${PV}
@@ -38,6 +38,7 @@ PATCHES=(
python_prepare_all() {
sed -i -e '/auto_use/s/True/False/' setup.cfg || die
+ xdg_environment_reset
distutils-r1_python_prepare_all
}