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 6439458973 for ; Mon, 25 Jan 2016 08:31:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D165821C00E; Mon, 25 Jan 2016 08:31:07 +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 6DFEFE08D0 for ; Mon, 25 Jan 2016 08:31:07 +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 B212A33BEF8 for ; Mon, 25 Jan 2016 08:31:06 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7DDE710FC for ; Mon, 25 Jan 2016 08:31:02 +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: <1453709252.bc36914096a67a2449d3a215b42c24e899dc3f2f.jlec@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/click/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/click/click-6.2.ebuild X-VCS-Directories: dev-python/click/ X-VCS-Committer: jlec X-VCS-Committer-Name: Justin Lecher X-VCS-Revision: bc36914096a67a2449d3a215b42c24e899dc3f2f X-VCS-Branch: master Date: Mon, 25 Jan 2016 08:31:02 +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: 77765498-b97b-4374-8d88-94a7c9afa593 X-Archives-Hash: aa25adb945f6560a27e3268225f0be43 commit: bc36914096a67a2449d3a215b42c24e899dc3f2f Author: Justin Lecher gentoo org> AuthorDate: Mon Jan 25 08:07:32 2016 +0000 Commit: Justin Lecher gentoo org> CommitDate: Mon Jan 25 08:07:32 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc369140 dev-python/click: Build docs using python2 Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=572660 Package-Manager: portage-2.2.27 Signed-off-by: Justin Lecher gentoo.org> dev-python/click/click-6.2.ebuild | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/dev-python/click/click-6.2.ebuild b/dev-python/click/click-6.2.ebuild index b0aa96c..59f7847 100644 --- a/dev-python/click/click-6.2.ebuild +++ b/dev-python/click/click-6.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -17,11 +17,17 @@ SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" IUSE="doc examples test" +REQUIRED_USE="doc? ( || ( $(python_gen_useflags 'python2*') ) )" + DEPEND=" dev-python/setuptools[${PYTHON_USEDEP}] test? ( dev-python/pytest[${PYTHON_USEDEP}] ) doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )" +pkg_setup() { + use doc && DISTUTILS_ALL_SUBPHASE_IMPLS=( 'python2*' ) +} + python_prepare_all() { # Prevent un-needed d'loading sed -e "s/, 'sphinx.ext.intersphinx'//" -i docs/conf.py || die