dev-python/cython-0.29.14-r1: Fix USE="-doc" (bug #700818)
authorPatrick McLean <chutzpah@gentoo.org>
Thu, 21 Nov 2019 01:56:34 +0000 (17:56 -0800)
committerPatrick McLean <chutzpah@gentoo.org>
Thu, 21 Nov 2019 01:56:34 +0000 (17:56 -0800)
Closes: https://bugs.gentoo.org/700818
Package-Manager: Portage-2.3.79, Repoman-2.3.18
Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
dev-python/cython/cython-0.29.14-r1.ebuild

index 9733a2333f7cf411c930fc297103e1331de02322..156744a5c09a469e659def5b4cab929256903acb 100644 (file)
@@ -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() {