1 |
commit: 366253cfef26a524311ae3b75358a64515c86071 |
2 |
Author: Sébastien Fabbro <bicatali <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Sep 1 16:03:40 2016 +0000 |
4 |
Commit: Sebastien Fabbro <bicatali <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Sep 1 17:00:12 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=366253cf |
7 |
|
8 |
dev-python/astroquery: fix xdg sandbox violation (bug #586618) |
9 |
|
10 |
Package-Manager: portage-2.3.0 |
11 |
|
12 |
dev-python/astroquery/astroquery-0.3.2.ebuild | 3 ++- |
13 |
1 file changed, 2 insertions(+), 1 deletion(-) |
14 |
|
15 |
diff --git a/dev-python/astroquery/astroquery-0.3.2.ebuild b/dev-python/astroquery/astroquery-0.3.2.ebuild |
16 |
index 51c8a0a..fe5df49 100644 |
17 |
--- a/dev-python/astroquery/astroquery-0.3.2.ebuild |
18 |
+++ b/dev-python/astroquery/astroquery-0.3.2.ebuild |
19 |
@@ -6,7 +6,7 @@ EAPI=6 |
20 |
|
21 |
PYTHON_COMPAT=( python{2_7,3_4,3_5} ) |
22 |
|
23 |
-inherit distutils-r1 |
24 |
+inherit distutils-r1 xdg-utils |
25 |
|
26 |
DESCRIPTION="Collection of packages to access online astronomical resources" |
27 |
HOMEPAGE="https://github.com/astropy/astroquery" |
28 |
@@ -37,6 +37,7 @@ DEPEND="${RDEPEND} |
29 |
python_prepare_all() { |
30 |
sed -i -e '/auto_use/s/True/False/' setup.cfg || die |
31 |
sed -i -e "s/= 'APLpy'/= 'aplpy'/" astroquery/conftest.py || die |
32 |
+ xdg_environment_reset |
33 |
distutils-r1_python_prepare_all |
34 |
} |