commit: a50308bde43da910d9e2b7c98b4ac9ce40d59830
Author: Sébastien Fabbro <bicatali <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 1 15:54:38 2016 +0000
Commit: Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
CommitDate: Thu Sep 1 17:00:01 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a50308bd
dev-python/gammapy: fixed sandbox issue with xdg (bug #586660)
Package-Manager: portage-2.3.0
dev-python/gammapy/gammapy-0.4.ebuild | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/dev-python/gammapy/gammapy-0.4.ebuild
b/dev-python/gammapy/gammapy-0.4.ebuild
index a220b30..3f1c11b 100644
--- a/dev-python/gammapy/gammapy-0.4.ebuild
+++ b/dev-python/gammapy/gammapy-0.4.ebuild
@@ -5,7 +5,7 @@
EAPI=6
PYTHON_COMPAT=( python{2_7,3_4,3_5} )
-inherit distutils-r1 eutils virtualx
+inherit distutils-r1 eutils virtualx xdg-utils
DESCRIPTION="Python package for gamma-ray astronomy"
HOMEPAGE="https://gammapy.readthedocs.org/"
@@ -29,6 +29,7 @@ DEPEND="${RDEPEND}
python_prepare_all() {
sed -i -e '/auto_use/s/True/False/' setup.cfg || die
+ xdg_environment_reset
distutils-r1_python_prepare_all
}