Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/suds/
Date: Wed, 09 Dec 2015 19:07:19
Message-Id: 1449688007.180e66b602acd224b8d803c7e405b071a6c6782b.mgorny@gentoo
1 commit: 180e66b602acd224b8d803c7e405b071a6c6782b
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Dec 9 18:40:32 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=180e66b6
7
8 dev-python/suds: Restrict *_all() to python2 when USE=doc
9
10 dev-python/suds/suds-0.6-r1.ebuild | 4 ++++
11 1 file changed, 4 insertions(+)
12
13 diff --git a/dev-python/suds/suds-0.6-r1.ebuild b/dev-python/suds/suds-0.6-r1.ebuild
14 index e9c9397..b99f3b0 100644
15 --- a/dev-python/suds/suds-0.6-r1.ebuild
16 +++ b/dev-python/suds/suds-0.6-r1.ebuild
17 @@ -27,6 +27,10 @@ RDEPEND=""
18
19 DOCS=( README.rst notes/{argument_parsing.rst,readme.txt,traversing_client_data.rst} )
20
21 +pkg_setup() {
22 + use doc && DISTUTILS_ALL_SUBPHASE_IMPLS=( python2.7 )
23 +}
24 +
25 python_compile_all() {
26 # to say that it's both, because it kinda is...
27 ! use doc || epydoc -n "Suds - ${DESCRIPTION}" -o doc suds || die