commit:     727133fa83b6a1dd172106cb584b34d98af325db
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Oct  8 16:45:19 2022 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Oct  8 16:45:19 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=727133fa

app-doc/gimp-help: use python_has_version inside python_check_deps

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

 app-doc/gimp-help/gimp-help-2.10.0-r1.ebuild | 4 ++--
 app-doc/gimp-help/gimp-help-2.10.0-r2.ebuild | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/app-doc/gimp-help/gimp-help-2.10.0-r1.ebuild 
b/app-doc/gimp-help/gimp-help-2.10.0-r1.ebuild
index 9c4c1db5c92a..98bdcf4baa2b 100644
--- a/app-doc/gimp-help/gimp-help-2.10.0-r1.ebuild
+++ b/app-doc/gimp-help/gimp-help-2.10.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -28,7 +28,7 @@ DEPEND="$(python_gen_any_dep 
'dev-libs/libxml2[python,${PYTHON_USEDEP}]')
 PATCHES=( "${FILESDIR}/${P}-python3.patch" )
 
 python_check_deps() {
-       has_version "dev-libs/libxml2[${PYTHON_USEDEP}]"
+       python_has_version -d "dev-libs/libxml2[python,${PYTHON_USEDEP}]"
 }
 
 src_configure() {

diff --git a/app-doc/gimp-help/gimp-help-2.10.0-r2.ebuild 
b/app-doc/gimp-help/gimp-help-2.10.0-r2.ebuild
index 2d9bc7dd0fa5..e67cf0e86c15 100644
--- a/app-doc/gimp-help/gimp-help-2.10.0-r2.ebuild
+++ b/app-doc/gimp-help/gimp-help-2.10.0-r2.ebuild
@@ -29,7 +29,7 @@ BDEPEND="
 PATCHES=( "${FILESDIR}/${P}-python3.patch" )
 
 python_check_deps() {
-       has_version -b "dev-libs/libxml2[python,${PYTHON_USEDEP}]"
+       python_has_version "dev-libs/libxml2[python,${PYTHON_USEDEP}]"
 }
 
 src_configure() {

Reply via email to