mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user