From: Patrick McLean Date: Thu, 21 Nov 2019 01:56:34 +0000 (-0800) Subject: dev-python/cython-0.29.14-r1: Fix USE="-doc" (bug #700818) X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=20ee068a219a95031f2fa657cae25c72233f98b5;p=gentoo.git dev-python/cython-0.29.14-r1: Fix USE="-doc" (bug #700818) Closes: https://bugs.gentoo.org/700818 Package-Manager: Portage-2.3.79, Repoman-2.3.18 Signed-off-by: Patrick McLean --- diff --git a/dev-python/cython/cython-0.29.14-r1.ebuild b/dev-python/cython/cython-0.29.14-r1.ebuild index 9733a2333f7c..156744a5c09a 100644 --- a/dev-python/cython/cython-0.29.14-r1.ebuild +++ b/dev-python/cython/cython-0.29.14-r1.ebuild @@ -37,7 +37,10 @@ PATCHES=( SITEFILE=50cython-gentoo.el python_check_deps() { - has_version "dev-python/sphinx[${PYTHON_USEDEP}]" + if use doc; then + has_version "dev-python/sphinx[${PYTHON_USEDEP}]" || return ${?} + fi + return 0 } python_compile() {