From 258c82816692c80adf9a3cac7cfedc49931bd3f5 Mon Sep 17 00:00:00 2001 From: Sam James Date: Tue, 22 Oct 2024 09:11:50 +0100 Subject: [PATCH] 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 --- dev-libs/libxmlb/libxmlb-0.3.19.ebuild | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/dev-libs/libxmlb/libxmlb-0.3.19.ebuild b/dev-libs/libxmlb/libxmlb-0.3.19.ebuild index 885e028d15b93..bfc46293970e9 100644 --- a/dev-libs/libxmlb/libxmlb-0.3.19.ebuild +++ b/dev-libs/libxmlb/libxmlb-0.3.19.ebuild @@ -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() {