summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSébastien Fabbro <bicatali@gentoo.org>2016-09-01 16:03:40 +0000
committerSébastien Fabbro <bicatali@gentoo.org>2016-09-01 17:00:12 +0000
commit366253cfef26a524311ae3b75358a64515c86071 (patch)
treec3b3e2efda693f8b8280b72f322da0d231789190 /dev-python/astroquery
parentdev-python/naima: fix xdg sandbox violation (bug #586620) (diff)
downloadgentoo-366253cfef26a524311ae3b75358a64515c86071.tar.gz
gentoo-366253cfef26a524311ae3b75358a64515c86071.tar.bz2
gentoo-366253cfef26a524311ae3b75358a64515c86071.zip
dev-python/astroquery: fix xdg sandbox violation (bug #586618)
Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-python/astroquery')
-rw-r--r--dev-python/astroquery/astroquery-0.3.2.ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/dev-python/astroquery/astroquery-0.3.2.ebuild b/dev-python/astroquery/astroquery-0.3.2.ebuild
index 51c8a0a93427..fe5df4934afd 100644
--- a/dev-python/astroquery/astroquery-0.3.2.ebuild
+++ b/dev-python/astroquery/astroquery-0.3.2.ebuild
@@ -6,7 +6,7 @@ EAPI=6
PYTHON_COMPAT=( python{2_7,3_4,3_5} )
-inherit distutils-r1
+inherit distutils-r1 xdg-utils
DESCRIPTION="Collection of packages to access online astronomical resources"
HOMEPAGE="https://github.com/astropy/astroquery"
@@ -37,6 +37,7 @@ DEPEND="${RDEPEND}
python_prepare_all() {
sed -i -e '/auto_use/s/True/False/' setup.cfg || die
sed -i -e "s/= 'APLpy'/= 'aplpy'/" astroquery/conftest.py || die
+ xdg_environment_reset
distutils-r1_python_prepare_all
}