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 D7C3D138335 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 B53C8E08A6; Fri, 6 Dec 2019 20:21:45 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 7FBCFE08A6 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 2145834D857 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 6DF0D8AD 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.87967d26ef17000ea7f041091072cfb764be0798.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyproj/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pyproj/pyproj-2.4.1.ebuild X-VCS-Directories: dev-python/pyproj/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 87967d26ef17000ea7f041091072cfb764be0798 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: 66e10518-b82c-47ad-9e6d-df2b17bd23d0 X-Archives-Hash: 72568e8f572b9deb663bda567df77fdd commit: 87967d26ef17000ea7f041091072cfb764be0798 Author: Andreas Sturmlechner gentoo org> AuthorDate: Fri Dec 6 19:58:45 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=87967d26 dev-python/pyproj: Fix USE doc Package-Manager: Portage-2.3.81, Repoman-2.3.20 Signed-off-by: Andreas Sturmlechner gentoo.org> dev-python/pyproj/pyproj-2.4.1.ebuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dev-python/pyproj/pyproj-2.4.1.ebuild b/dev-python/pyproj/pyproj-2.4.1.ebuild index e46bd9bcde9..4caf7eaf135 100644 --- a/dev-python/pyproj/pyproj-2.4.1.ebuild +++ b/dev-python/pyproj/pyproj-2.4.1.ebuild @@ -21,7 +21,7 @@ RDEPEND=">=sci-libs/proj-6.2.0" DEPEND="${RDEPEND} dev-python/cython[${PYTHON_USEDEP}]" BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}] - doc? ( dev-python/sphinx ) + doc? ( $(python_gen_any_dep 'dev-python/sphinx[${PYTHON_USEDEP}]') ) test? ( dev-python/mock[${PYTHON_USEDEP}] dev-python/numpy[${PYTHON_USEDEP}] @@ -30,6 +30,10 @@ BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}] distutils_enable_tests pytest +python_check_deps() { + use doc && has_version "dev-python/sphinx[${PYTHON_USEDEP}]" +} + python_prepare_all() { distutils-r1_python_prepare_all append-cflags -fno-strict-aliasing