commit:     185ddb8455b25bcfa77d52513e1d5f03652053e3
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 11 10:20:46 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Aug 11 10:20:51 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=185ddb84

net-libs/telepathy-qt: fix PythonAnyMismatchedDepHasVersionCheck

has_version was checking DEPEND, not BDEPEND, so change to python_has_version 
for
better defaults (defaults to BDEPEND) but also nicer output.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-libs/telepathy-qt/telepathy-qt-0.9.8-r1.ebuild | 4 ++--
 net-libs/telepathy-qt/telepathy-qt-9999.ebuild     | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/net-libs/telepathy-qt/telepathy-qt-0.9.8-r1.ebuild 
b/net-libs/telepathy-qt/telepathy-qt-0.9.8-r1.ebuild
index 9f392ed86abb..af50e027063c 100644
--- a/net-libs/telepathy-qt/telepathy-qt-0.9.8-r1.ebuild
+++ b/net-libs/telepathy-qt/telepathy-qt-0.9.8-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
@@ -49,7 +49,7 @@ BDEPEND="${PYTHON_DEPS}
 
 python_check_deps() {
        use test || return 0
-       has_version "dev-python/dbus-python[${PYTHON_USEDEP}]"
+       python_has_version "dev-python/dbus-python[${PYTHON_USEDEP}]"
 }
 
 pkg_setup() {

diff --git a/net-libs/telepathy-qt/telepathy-qt-9999.ebuild 
b/net-libs/telepathy-qt/telepathy-qt-9999.ebuild
index 4ae1fc73d370..806f66f84703 100644
--- a/net-libs/telepathy-qt/telepathy-qt-9999.ebuild
+++ b/net-libs/telepathy-qt/telepathy-qt-9999.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
@@ -55,7 +55,7 @@ DEPEND="${RDEPEND}
 
 python_check_deps() {
        use test || return 0
-       has_version "dev-python/dbus-python[${PYTHON_USEDEP}]"
+       python_has_version "dev-python/dbus-python[${PYTHON_USEDEP}]"
 }
 
 pkg_setup() {

Reply via email to