1 |
commit: b6022670668137f72552ba340f7ca19dec2a08f0 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Dec 9 17:47:54 2015 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Dec 9 19:06:47 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6022670 |
7 |
|
8 |
dev-python/pycups: Restrict *_all() phases to py2 for USE=doc |
9 |
|
10 |
dev-python/pycups/pycups-1.9.73.ebuild | 4 ++++ |
11 |
1 file changed, 4 insertions(+) |
12 |
|
13 |
diff --git a/dev-python/pycups/pycups-1.9.73.ebuild b/dev-python/pycups/pycups-1.9.73.ebuild |
14 |
index 188c6f7..ea8a001 100644 |
15 |
--- a/dev-python/pycups/pycups-1.9.73.ebuild |
16 |
+++ b/dev-python/pycups/pycups-1.9.73.ebuild |
17 |
@@ -31,6 +31,10 @@ DEPEND="${RDEPEND} |
18 |
|
19 |
REQUIRED_USE="doc? ( || ( $(python_gen_useflags 'python2*') ) )" |
20 |
|
21 |
+pkg_setup() { |
22 |
+ use doc && DISTUTILS_ALL_SUBPHASE_IMPLS=( python2.7 ) |
23 |
+} |
24 |
+ |
25 |
python_compile_all() { |
26 |
if use doc; then |
27 |
# we can't use Makefile since it relies on hardcoded paths |