commit:     9e32acc210c81f54ec2c1044cd3aff26e6cc12fe
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 21 06:54:15 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Jul 21 12:53:34 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e32acc2

sys-devel/llvm: Use python_has_version

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 sys-devel/llvm/llvm-14.0.6-r1.ebuild   | 4 ++--
 sys-devel/llvm/llvm-15.0.0.9999.ebuild | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/sys-devel/llvm/llvm-14.0.6-r1.ebuild 
b/sys-devel/llvm/llvm-14.0.6-r1.ebuild
index fcee531bd42f..f21b43b8bd2c 100644
--- a/sys-devel/llvm/llvm-14.0.6-r1.ebuild
+++ b/sys-devel/llvm/llvm-14.0.6-r1.ebuild
@@ -75,8 +75,8 @@ llvm.org_set_globals
 python_check_deps() {
        use doc || return 0
 
-       has_version -b "dev-python/recommonmark[${PYTHON_USEDEP}]" &&
-       has_version -b "dev-python/sphinx[${PYTHON_USEDEP}]"
+       python_has_version -b "dev-python/recommonmark[${PYTHON_USEDEP}]" &&
+       python_has_version -b "dev-python/sphinx[${PYTHON_USEDEP}]"
 }
 
 check_uptodate() {

diff --git a/sys-devel/llvm/llvm-15.0.0.9999.ebuild 
b/sys-devel/llvm/llvm-15.0.0.9999.ebuild
index c6095aed35b3..bcf786694588 100644
--- a/sys-devel/llvm/llvm-15.0.0.9999.ebuild
+++ b/sys-devel/llvm/llvm-15.0.0.9999.ebuild
@@ -72,8 +72,8 @@ llvm.org_set_globals
 python_check_deps() {
        use doc || return 0
 
-       has_version -b "dev-python/recommonmark[${PYTHON_USEDEP}]" &&
-       has_version -b "dev-python/sphinx[${PYTHON_USEDEP}]"
+       python_has_version -b "dev-python/recommonmark[${PYTHON_USEDEP}]" &&
+       python_has_version -b "dev-python/sphinx[${PYTHON_USEDEP}]"
 }
 
 check_uptodate() {

Reply via email to