commit:     53d1880d2ddfe87d3e0a458910abfae99d30dc41
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Dec  9 17:46:53 2015 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Dec  9 19:06:47 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53d1880d

dev-python/matplotlib: Restrict *_all() to python2 when USE=doc

 dev-python/matplotlib/matplotlib-1.5.0.ebuild | 1 +
 dev-python/matplotlib/matplotlib-9999.ebuild  | 1 +
 2 files changed, 2 insertions(+)

diff --git a/dev-python/matplotlib/matplotlib-1.5.0.ebuild 
b/dev-python/matplotlib/matplotlib-1.5.0.ebuild
index c1a2fc6..3bde29f 100644
--- a/dev-python/matplotlib/matplotlib-1.5.0.ebuild
+++ b/dev-python/matplotlib/matplotlib-1.5.0.ebuild
@@ -111,6 +111,7 @@ DISTUTILS_IN_SOURCE_BUILD=1
 
 pkg_setup() {
        unset DISPLAY # bug #278524
+       use doc && DISTUTILS_ALL_SUBPHASE_IMPLS=( python2.7 )
 }
 
 use_setup() {

diff --git a/dev-python/matplotlib/matplotlib-9999.ebuild 
b/dev-python/matplotlib/matplotlib-9999.ebuild
index bad2f74..59cad22 100644
--- a/dev-python/matplotlib/matplotlib-9999.ebuild
+++ b/dev-python/matplotlib/matplotlib-9999.ebuild
@@ -110,6 +110,7 @@ DISTUTILS_IN_SOURCE_BUILD=1
 
 pkg_setup() {
        unset DISPLAY # bug #278524
+       use doc && DISTUTILS_ALL_SUBPHASE_IMPLS=( python2.7 )
 }
 
 use_setup() {

Reply via email to