dev-libs/libxmlb: fix python_check_deps again

Thanks to Ionen for pointing out this will (obviously) return 0
unconditionally...

Bug: https://bugs.gentoo.org/941965
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2024-10-22 09:11:50 +01:00
parent 2aa5dc4430
commit 258c828166

View File

@@ -42,8 +42,11 @@ BDEPEND="
"
python_check_deps() {
use introspection && python_has_version -b "dev-python/setuptools[${PYTHON_USEDEP}]"
return 0
if use introspection ; then
python_has_version -b "dev-python/setuptools[${PYTHON_USEDEP}]"
else
return 0
fi
}
pkg_setup() {