From: Sébastien Fabbro Date: Mon, 26 Jun 2017 19:59:40 +0000 (+0000) Subject: dev-python/wcsaxes: added python-3.6, and matplotlib environment to avoid importing Tk X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=6149feae904630714491a01869a6db5f20baa723;p=gentoo.git dev-python/wcsaxes: added python-3.6, and matplotlib environment to avoid importing Tk Package-Manager: Portage-2.3.6, Repoman-2.3.2 --- diff --git a/dev-python/wcsaxes/wcsaxes-0.9.ebuild b/dev-python/wcsaxes/wcsaxes-0.9.ebuild index 9101ea4791bd..898e26934a0d 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 }