projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
53d1880
)
dev-python/pycups: Restrict *_all() phases to py2 for USE=doc
author
Michał Górny
<mgorny@gentoo.org>
Wed, 9 Dec 2015 17:47:54 +0000
(18:47 +0100)
committer
Michał Górny
<mgorny@gentoo.org>
Wed, 9 Dec 2015 19:06:47 +0000
(20:06 +0100)
dev-python/pycups/pycups-1.9.73.ebuild
patch
|
blob
|
history
diff --git
a/dev-python/pycups/pycups-1.9.73.ebuild
b/dev-python/pycups/pycups-1.9.73.ebuild
index 188c6f747d24bb068b29cac4bce7f06fb1b4de5e..ea8a00118095a9bcf6942b4a939a3e558d0c578b 100644
(file)
--- a/
dev-python/pycups/pycups-1.9.73.ebuild
+++ b/
dev-python/pycups/pycups-1.9.73.ebuild
@@
-31,6
+31,10
@@
DEPEND="${RDEPEND}
REQUIRED_USE="doc? ( || ( $(python_gen_useflags 'python2*') ) )"
+pkg_setup() {
+ use doc && DISTUTILS_ALL_SUBPHASE_IMPLS=( python2.7 )
+}
+
python_compile_all() {
if use doc; then
# we can't use Makefile since it relies on hardcoded paths