commit:     967f2decb95f1b79292f67287eff47fe2576e59f
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 11 10:13:55 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Aug 11 10:20:50 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=967f2dec

x11-wm/mutter: 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>

 x11-wm/mutter/mutter-42.2.ebuild | 2 +-
 x11-wm/mutter/mutter-42.3.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/x11-wm/mutter/mutter-42.2.ebuild b/x11-wm/mutter/mutter-42.2.ebuild
index 3edf61ef69c1..f99221169c0b 100644
--- a/x11-wm/mutter/mutter-42.2.ebuild
+++ b/x11-wm/mutter/mutter-42.2.ebuild
@@ -114,7 +114,7 @@ PATCHES=(
 
 python_check_deps() {
        if use test; then
-               has_version "dev-python/python-dbusmock[${PYTHON_USEDEP}]"
+               python_has_version 
"dev-python/python-dbusmock[${PYTHON_USEDEP}]"
        fi
 }
 

diff --git a/x11-wm/mutter/mutter-42.3.ebuild b/x11-wm/mutter/mutter-42.3.ebuild
index 26438fb0f09a..94496717159e 100644
--- a/x11-wm/mutter/mutter-42.3.ebuild
+++ b/x11-wm/mutter/mutter-42.3.ebuild
@@ -115,7 +115,7 @@ PATCHES=(
 
 python_check_deps() {
        if use test; then
-               has_version "dev-python/python-dbusmock[${PYTHON_USEDEP}]"
+               python_has_version 
"dev-python/python-dbusmock[${PYTHON_USEDEP}]"
        fi
 }
 

Reply via email to