commit:     d51fec51c03a67074cf521d274e47ebcf1e1c412
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Dec  7 14:35:40 2019 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Dec  7 14:37:35 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d51fec51

dev-python/pyproj: Fix the fix

Closes: https://bugs.gentoo.org/702218
Package-Manager: Portage-2.3.81, Repoman-2.3.19
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 dev-python/pyproj/pyproj-2.4.1.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dev-python/pyproj/pyproj-2.4.1.ebuild 
b/dev-python/pyproj/pyproj-2.4.1.ebuild
index 4caf7eaf135..52b61f2b531 100644
--- a/dev-python/pyproj/pyproj-2.4.1.ebuild
+++ b/dev-python/pyproj/pyproj-2.4.1.ebuild
@@ -31,7 +31,8 @@ BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
 distutils_enable_tests pytest
 
 python_check_deps() {
-       use doc && has_version "dev-python/sphinx[${PYTHON_USEDEP}]"
+       use doc || return 0
+       has_version "dev-python/sphinx[${PYTHON_USEDEP}]"
 }
 
 python_prepare_all() {

Reply via email to