commit:     c595a4b370bffd20fcbb8b67adc9a3ec0d5a47bb
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 11 09:46:18 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Aug 11 09:46:18 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c595a4b3

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 <AT> gentoo.org>

 sys-power/switcheroo-control/switcheroo-control-2.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-power/switcheroo-control/switcheroo-control-2.6.ebuild 
b/sys-power/switcheroo-control/switcheroo-control-2.6.ebuild
index 93e64ab5b467..14ec8f0eb790 100644
--- a/sys-power/switcheroo-control/switcheroo-control-2.6.ebuild
+++ b/sys-power/switcheroo-control/switcheroo-control-2.6.ebuild
@@ -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() {

Reply via email to