From 20ee068a219a95031f2fa657cae25c72233f98b5 Mon Sep 17 00:00:00 2001 From: Patrick McLean Date: Wed, 20 Nov 2019 17:56:34 -0800 Subject: [PATCH] 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 --- dev-python/cython/cython-0.29.14-r1.ebuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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() { -- 2.26.2