1 |
commit: 6149feae904630714491a01869a6db5f20baa723 |
2 |
Author: Sébastien Fabbro <bicatali <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jun 26 19:59:40 2017 +0000 |
4 |
Commit: Sebastien Fabbro <bicatali <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jun 27 02:48:48 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6149feae |
7 |
|
8 |
dev-python/wcsaxes: added python-3.6, and matplotlib environment to avoid importing Tk |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.2 |
11 |
|
12 |
dev-python/wcsaxes/wcsaxes-0.9.ebuild | 6 ++++-- |
13 |
1 file changed, 4 insertions(+), 2 deletions(-) |
14 |
|
15 |
diff --git a/dev-python/wcsaxes/wcsaxes-0.9.ebuild b/dev-python/wcsaxes/wcsaxes-0.9.ebuild |
16 |
index 9101ea4791b..898e26934a0 100644 |
17 |
--- a/dev-python/wcsaxes/wcsaxes-0.9.ebuild |
18 |
+++ b/dev-python/wcsaxes/wcsaxes-0.9.ebuild |
19 |
@@ -1,8 +1,8 @@ |
20 |
-# Copyright 1999-2016 Gentoo Foundation |
21 |
+# Copyright 1999-2017 Gentoo Foundation |
22 |
# Distributed under the terms of the GNU General Public License v2 |
23 |
|
24 |
EAPI=6 |
25 |
-PYTHON_COMPAT=( python{2_7,3_4,3_5} ) |
26 |
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) |
27 |
|
28 |
inherit distutils-r1 virtualx xdg-utils |
29 |
|
30 |
@@ -33,6 +33,8 @@ PATCHES=( |
31 |
python_prepare_all() { |
32 |
# use system astropy-helpers instead of bundled one |
33 |
sed -i -e '/auto_use/s/True/False/' setup.cfg || die |
34 |
+ echo "backend: Agg" > "${WORKDIR}"/matplotlibrc || die |
35 |
+ export MATPLOTLIBRC="${WORKDIR}" |
36 |
xdg_environment_reset |
37 |
distutils-r1_python_prepare_all |
38 |
} |