summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick McLean <chutzpah@gentoo.org>2019-11-20 17:56:34 -0800
committerPatrick McLean <chutzpah@gentoo.org>2019-11-20 17:56:34 -0800
commit20ee068a219a95031f2fa657cae25c72233f98b5 (patch)
treefd7c0f9b39663fdf77a80e29f33c2cbc700a6ef5 /dev-python/cython/cython-0.29.14-r1.ebuild
parentnet-misc/autossh: add myself as maintainer (diff)
downloadgentoo-20ee068a219a95031f2fa657cae25c72233f98b5.tar.gz
gentoo-20ee068a219a95031f2fa657cae25c72233f98b5.tar.bz2
gentoo-20ee068a219a95031f2fa657cae25c72233f98b5.zip
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 <chutzpah@gentoo.org>
Diffstat (limited to 'dev-python/cython/cython-0.29.14-r1.ebuild')
-rw-r--r--dev-python/cython/cython-0.29.14-r1.ebuild5
1 files changed, 4 insertions, 1 deletions
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() {