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@gentoo.org>
This commit is contained in:
Sam James
2022-08-11 11:13:55 +01:00
parent 3e5a4be068
commit 967f2decb9
2 changed files with 2 additions and 2 deletions

View File

@@ -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
}

View File

@@ -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
}