dev-python/astroquery: fix xdg sandbox violation (bug #586618)
authorSébastien Fabbro <bicatali@gentoo.org>
Thu, 1 Sep 2016 16:03:40 +0000 (16:03 +0000)
committerSébastien Fabbro <bicatali@gentoo.org>
Thu, 1 Sep 2016 17:00:12 +0000 (17:00 +0000)
Package-Manager: portage-2.3.0

dev-python/astroquery/astroquery-0.3.2.ebuild

index 51c8a0a9342789526fb99b2cb1c52aa1cdad449b..fe5df4934afdd7951bcd3c97b5ca74728022a5b0 100644 (file)
@@ -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
 }