From: Andreas Sturmlechner Date: Sat, 7 Dec 2019 14:34:35 +0000 (+0100) Subject: dev-python/pycairo: Fix the fix X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=430e6c36df5ca66146be52035414dfdad90c625b;p=gentoo.git dev-python/pycairo: Fix the fix Closes: https://bugs.gentoo.org/702210 Package-Manager: Portage-2.3.81, Repoman-2.3.19 Signed-off-by: Andreas Sturmlechner --- diff --git a/dev-python/pycairo/pycairo-1.18.2.ebuild b/dev-python/pycairo/pycairo-1.18.2.ebuild index d1e334554fd1..9f1cd5f0198d 100644 --- a/dev-python/pycairo/pycairo-1.18.2.ebuild +++ b/dev-python/pycairo/pycairo-1.18.2.ebuild @@ -32,7 +32,8 @@ DEPEND="${RDEPEND}" RESTRICT="!test? ( test )" python_check_deps() { - use doc && has_version "dev-python/sphinx[${PYTHON_USEDEP}]" + use doc || return 0 + has_version "dev-python/sphinx[${PYTHON_USEDEP}]" } python_compile_all() {