commit: 180e66b602acd224b8d803c7e405b071a6c6782b
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 9 18:40:32 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=180e66b6
dev-python/suds: Restrict *_all() to python2 when USE=doc
dev-python/suds/suds-0.6-r1.ebuild | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/dev-python/suds/suds-0.6-r1.ebuild
b/dev-python/suds/suds-0.6-r1.ebuild
index e9c9397..b99f3b0 100644
--- a/dev-python/suds/suds-0.6-r1.ebuild
+++ b/dev-python/suds/suds-0.6-r1.ebuild
@@ -27,6 +27,10 @@ RDEPEND=""
DOCS=( README.rst
notes/{argument_parsing.rst,readme.txt,traversing_client_data.rst} )
+pkg_setup() {
+ use doc && DISTUTILS_ALL_SUBPHASE_IMPLS=( python2.7 )
+}
+
python_compile_all() {
# to say that it's both, because it kinda is...
! use doc || epydoc -n "Suds - ${DESCRIPTION}" -o doc suds || die