From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id AB21E58973 for ; Fri, 22 Jan 2016 10:58:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 269D921C007; Fri, 22 Jan 2016 10:58:43 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C2FE421C007 for ; Fri, 22 Jan 2016 10:58:42 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A3DF0340751 for ; Fri, 22 Jan 2016 10:58:41 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D1A11A91 for ; Fri, 22 Jan 2016 10:58:37 +0000 (UTC) From: "Justin Lecher" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Justin Lecher" Message-ID: <1453460316.b5d930d9acd29d3b001500848db94891191db4df.jlec@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/boto/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/boto/boto-2.39.0.ebuild X-VCS-Directories: dev-python/boto/ X-VCS-Committer: jlec X-VCS-Committer-Name: Justin Lecher X-VCS-Revision: b5d930d9acd29d3b001500848db94891191db4df X-VCS-Branch: master Date: Fri, 22 Jan 2016 10:58:37 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 112e24fc-0f2c-4a4e-9884-602bb551cade X-Archives-Hash: 7aadef4c2479ed0c1a742f4b3cacf28b commit: b5d930d9acd29d3b001500848db94891191db4df Author: Justin Lecher gentoo org> AuthorDate: Fri Jan 22 10:58:27 2016 +0000 Commit: Justin Lecher gentoo org> CommitDate: Fri Jan 22 10:58:36 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5d930d9 dev-python/boto: Build docs using python2.7 Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=572540 Package-Manager: portage-2.2.27 Signed-off-by: Justin Lecher gentoo.org> dev-python/boto/boto-2.39.0.ebuild | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dev-python/boto/boto-2.39.0.ebuild b/dev-python/boto/boto-2.39.0.ebuild index 09e8e9d..532f935 100644 --- a/dev-python/boto/boto-2.39.0.ebuild +++ b/dev-python/boto/boto-2.39.0.ebuild @@ -17,6 +17,8 @@ SLOT="0" KEYWORDS="~amd64 ~arm ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" IUSE="doc test" +REQUIRED_USE="doc? ( || ( $(python_gen_useflags 'python2*') ) )" + DEPEND=" dev-python/setuptools[${PYTHON_USEDEP}] test? ( dev-python/nose[${PYTHON_USEDEP}] ) @@ -25,6 +27,10 @@ DEPEND=" # requires Amazon Web Services keys to pass some tests RESTRICT="test" +pkg_setup() { + use doc && DISTUTILS_ALL_SUBPHASE_IMPLS=( 'python2*' ) +} + python_test() { "${PYTHON}" tests/test.py -v || die "Tests fail with ${EPYTHON}" }