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 ACECA1388C4 for ; Wed, 6 Jan 2016 11:34:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BD06EE07DF; Wed, 6 Jan 2016 11:34:36 +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 4598FE07EB for ; Wed, 6 Jan 2016 11:34:36 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 041E9340A36 for ; Wed, 6 Jan 2016 11:34:35 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2A36EA91 for ; Wed, 6 Jan 2016 11:34:32 +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: <1452080065.c18afa2024c7cc62324c4031033431f0d480c0b2.jlec@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/nose/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/nose/nose-1.3.7.ebuild X-VCS-Directories: dev-python/nose/ X-VCS-Committer: jlec X-VCS-Committer-Name: Justin Lecher X-VCS-Revision: c18afa2024c7cc62324c4031033431f0d480c0b2 X-VCS-Branch: master Date: Wed, 6 Jan 2016 11:34:32 +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: 2d4cfcbf-5cde-4d32-b956-7660c8799e10 X-Archives-Hash: f2ee70fba6c1efee31ea3b638bfb53c8 commit: c18afa2024c7cc62324c4031033431f0d480c0b2 Author: Justin Lecher gentoo org> AuthorDate: Wed Jan 6 08:29:01 2016 +0000 Commit: Justin Lecher gentoo org> CommitDate: Wed Jan 6 11:34:25 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c18afa20 dev-python/nose: Build docs with python2 Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=571006 Package-Manager: portage-2.2.26 Signed-off-by: Justin Lecher gentoo.org> dev-python/nose/nose-1.3.7.ebuild | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/dev-python/nose/nose-1.3.7.ebuild b/dev-python/nose/nose-1.3.7.ebuild index 7e9d805..150fb01 100644 --- a/dev-python/nose/nose-1.3.7.ebuild +++ b/dev-python/nose/nose-1.3.7.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$ @@ -21,6 +21,8 @@ SLOT="0" KEYWORDS="~alpha amd64 arm ~arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" IUSE="doc examples test" +REQUIRED_USE="doc? ( python_targets_python2_7 )" + RDEPEND=" dev-python/coverage[${PYTHON_USEDEP}] dev-python/setuptools[${PYTHON_USEDEP}]" @@ -61,7 +63,10 @@ python_compile() { } python_compile_all() { - use doc && emake -C doc html + if use doc; then + python_export python2_7 EPYTHON + emake -C doc html + fi } python_test() { @@ -77,6 +82,7 @@ python_install_all() { distutils-r1_python_install_all if use doc; then - dohtml -r -A txt doc/.build/html/. + docinto html + dodoc -r -A txt doc/.build/html/. fi }