dev-python/matplotlib: Restrict *_all() to python2 when USE=doc
authorMichał Górny <mgorny@gentoo.org>
Wed, 9 Dec 2015 17:46:53 +0000 (18:46 +0100)
committerMichał Górny <mgorny@gentoo.org>
Wed, 9 Dec 2015 19:06:47 +0000 (20:06 +0100)
dev-python/matplotlib/matplotlib-1.5.0.ebuild
dev-python/matplotlib/matplotlib-9999.ebuild

index c1a2fc6588812f0bec82a92a3d5cbf4a2b18df8e..3bde29fa605374b40a3e1fb342a9d6ae3c827e11 100644 (file)
@@ -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() {
index bad2f740c7aea74b073f2a1950cda1d4bac4ded6..59cad2227932bbeabb4d6022e7bbf940958d5cb2 100644 (file)
@@ -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() {