commit:     eec9bc769d587d3f36503e5d6e6b89da5e61a546
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Tue Oct  4 19:49:35 2022 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Tue Oct  4 20:23:45 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eec9bc76

dev-python/pyx: use python_has_version inside python_check_deps

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 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 d2a3f69e6665..f687cc522f15 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() {

Reply via email to