From eec9bc769d587d3f36503e5d6e6b89da5e61a546 Mon Sep 17 00:00:00 2001 From: Arthur Zamarin Date: Tue, 4 Oct 2022 22:49:35 +0300 Subject: [PATCH] dev-python/pyx: use python_has_version inside python_check_deps Signed-off-by: Arthur Zamarin --- dev-python/pyx/pyx-0.15_p1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-python/pyx/pyx-0.15_p1.ebuild b/dev-python/pyx/pyx-0.15_p1.ebuild index d2a3f69e6665d..f687cc522f15d 100644 --- a/dev-python/pyx/pyx-0.15_p1.ebuild +++ b/dev-python/pyx/pyx-0.15_p1.ebuild @@ -47,8 +47,8 @@ PATCHES=( "${FILESDIR}"/pyx-0.14.1-unicode-latex.patch ) python_check_deps() { use doc || return 0 - has_version "dev-python/sphinx[latex,${PYTHON_USEDEP}]" && - has_version "dev-python/sphinx_selective_exclude[${PYTHON_USEDEP}]" + python_has_version "dev-python/sphinx[latex,${PYTHON_USEDEP}]" \ + "dev-python/sphinx_selective_exclude[${PYTHON_USEDEP}]" } src_unpack() {