dev-python/pycairo: Fix the fix

Closes: https://bugs.gentoo.org/702210
Package-Manager: Portage-2.3.81, Repoman-2.3.19
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
Andreas Sturmlechner
2019-12-07 15:34:35 +01:00
parent cd5bba3d05
commit 430e6c36df

View File

@@ -32,7 +32,8 @@ DEPEND="${RDEPEND}"
RESTRICT="!test? ( test )"
python_check_deps() {
use doc && has_version "dev-python/sphinx[${PYTHON_USEDEP}]"
use doc || return 0
has_version "dev-python/sphinx[${PYTHON_USEDEP}]"
}
python_compile_all() {