From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4F2B9138334 for ; Fri, 6 Dec 2019 20:21:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 70E5EE08A5; Fri, 6 Dec 2019 20:21:45 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 527D7E08A2 for ; Fri, 6 Dec 2019 20:21:45 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0630834D855 for ; Fri, 6 Dec 2019 20:21:44 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 59B707F9 for ; Fri, 6 Dec 2019 20:21:41 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1575663688.5df7b9660c3b9d5e63c75e497a9419fdeadb0eb5.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pycairo/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pycairo/pycairo-1.18.2.ebuild X-VCS-Directories: dev-python/pycairo/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 5df7b9660c3b9d5e63c75e497a9419fdeadb0eb5 X-VCS-Branch: master Date: Fri, 6 Dec 2019 20:21:41 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 008039ba-abe4-43d2-8b40-ad780e2de0c7 X-Archives-Hash: 03da40cf3b699135b62791f62172f2d4 commit: 5df7b9660c3b9d5e63c75e497a9419fdeadb0eb5 Author: Andreas Sturmlechner gentoo org> AuthorDate: Fri Dec 6 19:57:49 2019 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Fri Dec 6 20:21:28 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5df7b966 dev-python/pycairo: Fix USE doc Closes: https://bugs.gentoo.org/670938 Package-Manager: Portage-2.3.81, Repoman-2.3.20 Signed-off-by: Andreas Sturmlechner gentoo.org> dev-python/pycairo/pycairo-1.18.2.ebuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dev-python/pycairo/pycairo-1.18.2.ebuild b/dev-python/pycairo/pycairo-1.18.2.ebuild index bae86c274de..d1e334554fd 100644 --- a/dev-python/pycairo/pycairo-1.18.2.ebuild +++ b/dev-python/pycairo/pycairo-1.18.2.ebuild @@ -18,7 +18,7 @@ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~spa IUSE="doc examples test" BDEPEND=" - doc? ( dev-python/sphinx ) + doc? ( $(python_gen_any_dep 'dev-python/sphinx[${PYTHON_USEDEP}]') ) test? ( dev-python/hypothesis[${PYTHON_USEDEP}] dev-python/pytest[${PYTHON_USEDEP}] @@ -31,6 +31,10 @@ DEPEND="${RDEPEND}" RESTRICT="!test? ( test )" +python_check_deps() { + use doc && has_version "dev-python/sphinx[${PYTHON_USEDEP}]" +} + python_compile_all() { if use doc; then sphinx-build docs -b html _build/html || die