summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-08-11 10:46:18 +0100
committerSam James <sam@gentoo.org>2022-08-11 10:46:18 +0100
commitc595a4b370bffd20fcbb8b67adc9a3ec0d5a47bb (patch)
treeb1b005aa929e9700001639d4040ddab996a15fe7 /sys-power/switcheroo-control
parentnet-misc/chrony: add 4.3_pre1 (unkeyworded) (diff)
downloadgentoo-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.ebuild2
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() {