diff options
author | Sam James <sam@gentoo.org> | 2024-10-22 09:11:50 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-10-22 09:11:50 +0100 |
commit | 258c82816692c80adf9a3cac7cfedc49931bd3f5 (patch) | |
tree | 11dd937940ef11026261ad7bee8ebdf063eaecb5 | |
parent | dev-libs/libxmlb: fix python_check_deps (diff) | |
download | gentoo-258c82816692c80adf9a3cac7cfedc49931bd3f5.tar.gz gentoo-258c82816692c80adf9a3cac7cfedc49931bd3f5.tar.bz2 gentoo-258c82816692c80adf9a3cac7cfedc49931bd3f5.zip |
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>
-rw-r--r-- | dev-libs/libxmlb/libxmlb-0.3.19.ebuild | 7 |
1 files 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() { |