sys-power/switcheroo-control: 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 10:46:18 +01:00
parent d63cf4ea98
commit c595a4b370

View File

@@ -34,7 +34,7 @@ RESTRICT="!test? ( test )"
python_check_deps() {
use test || return 0
has_version "dev-python/python-dbusmock[${PYTHON_USEDEP}]"
python_has_version "dev-python/python-dbusmock[${PYTHON_USEDEP}]"
}
src_configure() {