commit:     6149feae904630714491a01869a6db5f20baa723
Author:     Sébastien Fabbro <bicatali <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 26 19:59:40 2017 +0000
Commit:     Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
CommitDate: Tue Jun 27 02:48:48 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6149feae

dev-python/wcsaxes: added python-3.6, and matplotlib environment to avoid 
importing Tk

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 dev-python/wcsaxes/wcsaxes-0.9.ebuild | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/dev-python/wcsaxes/wcsaxes-0.9.ebuild 
b/dev-python/wcsaxes/wcsaxes-0.9.ebuild
index 9101ea4791b..898e26934a0 100644
--- a/dev-python/wcsaxes/wcsaxes-0.9.ebuild
+++ b/dev-python/wcsaxes/wcsaxes-0.9.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
-PYTHON_COMPAT=( python{2_7,3_4,3_5} )
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
 
 inherit distutils-r1 virtualx xdg-utils
 
@@ -33,6 +33,8 @@ PATCHES=(
 python_prepare_all() {
        # use system astropy-helpers instead of bundled one
        sed -i -e '/auto_use/s/True/False/' setup.cfg || die
+       echo "backend: Agg" > "${WORKDIR}"/matplotlibrc || die
+       export MATPLOTLIBRC="${WORKDIR}"
        xdg_environment_reset
        distutils-r1_python_prepare_all
 }

Reply via email to