dev-python/astroquery: fix xdg sandbox violation (bug #586618)

Package-Manager: portage-2.3.0
This commit is contained in:
Sébastien Fabbro
2016-09-01 16:03:40 +00:00
parent 8ffcf6e12b
commit 366253cfef

View 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
}