commit: 258c82816692c80adf9a3cac7cfedc49931bd3f5 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Tue Oct 22 08:11:50 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Tue Oct 22 08:11:50 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=258c8281
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 <AT> gentoo.org> 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 885e028d15b9..bfc46293970e 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() {
