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

This commit is contained in:
Michał Górny
2015-12-09 19:40:32 +01:00
parent b602267066
commit 180e66b602

View File

@@ -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