From: Patrick McLean Date: Wed, 20 Nov 2019 18:06:53 +0000 (-0800) Subject: dev-python/cython-0.29.14-r1: Add python_check_deps X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=58c7b4c5636d77ae9b9148f0542e961d4fe16a58;p=gentoo.git dev-python/cython-0.29.14-r1: Add python_check_deps Copyright: Sony Interactive Entertainment Inc. 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 e26e48b0f2d3..9733a2333f7c 100644 --- a/dev-python/cython/cython-0.29.14-r1.ebuild +++ b/dev-python/cython/cython-0.29.14-r1.ebuild @@ -36,6 +36,10 @@ PATCHES=( SITEFILE=50cython-gentoo.el +python_check_deps() { + has_version "dev-python/sphinx[${PYTHON_USEDEP}]" +} + python_compile() { if ! python_is_python3; then local CFLAGS="${CFLAGS} -fno-strict-aliasing"