summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/astroquery/astroquery-0.3.2.ebuild')
-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
}