commit:     e14924fbf26515747daf7682f465448ac9a62003
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 13 07:37:28 2022 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Aug 20 15:53:45 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e14924fb

sys-fs/udev: use python_has_version

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

 sys-fs/udev/udev-249.6-r2.ebuild | 4 ++--
 sys-fs/udev/udev-249.9.ebuild    | 2 +-
 sys-fs/udev/udev-9999.ebuild     | 4 ++--
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/sys-fs/udev/udev-249.6-r2.ebuild b/sys-fs/udev/udev-249.6-r2.ebuild
index f6698bd8ca5f..46e093544366 100644
--- a/sys-fs/udev/udev-249.6-r2.ebuild
+++ b/sys-fs/udev/udev-249.6-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2003-2021 Gentoo Authors
+# Copyright 2003-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -91,7 +91,7 @@ PDEPEND="
 "
 
 python_check_deps() {
-       has_version -b "dev-python/jinja[${PYTHON_USEDEP}]"
+       python_has_version "dev-python/jinja[${PYTHON_USEDEP}]"
 }
 
 pkg_setup() {

diff --git a/sys-fs/udev/udev-249.9.ebuild b/sys-fs/udev/udev-249.9.ebuild
index 0b8e93be4fa5..aa652f10807f 100644
--- a/sys-fs/udev/udev-249.9.ebuild
+++ b/sys-fs/udev/udev-249.9.ebuild
@@ -91,7 +91,7 @@ PDEPEND="
 "
 
 python_check_deps() {
-       has_version -b "dev-python/jinja[${PYTHON_USEDEP}]"
+       python_has_version "dev-python/jinja[${PYTHON_USEDEP}]"
 }
 
 pkg_setup() {

diff --git a/sys-fs/udev/udev-9999.ebuild b/sys-fs/udev/udev-9999.ebuild
index 91f83fe7149d..8a15ce5e7321 100644
--- a/sys-fs/udev/udev-9999.ebuild
+++ b/sys-fs/udev/udev-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2003-2021 Gentoo Authors
+# Copyright 2003-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -91,7 +91,7 @@ PDEPEND="
 "
 
 python_check_deps() {
-       has_version -b "dev-python/jinja[${PYTHON_USEDEP}]"
+       python_has_version "dev-python/jinja[${PYTHON_USEDEP}]"
 }
 
 pkg_setup() {

Reply via email to