From 180e66b602acd224b8d803c7e405b071a6c6782b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Wed, 9 Dec 2015 19:40:32 +0100 Subject: [PATCH] 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 e9c939752ec14..b99f3b046b914 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