diff options
author | Sam James <sam@gentoo.org> | 2022-08-11 10:46:18 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-08-11 10:46:18 +0100 |
commit | c595a4b370bffd20fcbb8b67adc9a3ec0d5a47bb (patch) | |
tree | b1b005aa929e9700001639d4040ddab996a15fe7 /sys-power/switcheroo-control | |
parent | net-misc/chrony: add 4.3_pre1 (unkeyworded) (diff) | |
download | gentoo-c595a4b370bffd20fcbb8b67adc9a3ec0d5a47bb.tar.gz gentoo-c595a4b370bffd20fcbb8b67adc9a3ec0d5a47bb.tar.bz2 gentoo-c595a4b370bffd20fcbb8b67adc9a3ec0d5a47bb.zip |
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>
Diffstat (limited to 'sys-power/switcheroo-control')
-rw-r--r-- | sys-power/switcheroo-control/switcheroo-control-2.6.ebuild | 2 |
1 files changed, 1 insertions, 1 deletions
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() { |