commit:     f145467c02c0ab7bb2b3d5fb82a1b2e7152f86b7
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Tue Oct  4 19:47:58 2022 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Tue Oct  4 20:23:44 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f145467c

dev-libs/libcbor: use python_has_version inside python_check_deps

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-libs/libcbor/libcbor-0.9.0.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/dev-libs/libcbor/libcbor-0.9.0.ebuild 
b/dev-libs/libcbor/libcbor-0.9.0.ebuild
index 5878e0247683..9d2172da0ce8 100644
--- a/dev-libs/libcbor/libcbor-0.9.0.ebuild
+++ b/dev-libs/libcbor/libcbor-0.9.0.ebuild
@@ -30,8 +30,9 @@ BDEPEND="
 RESTRICT="!test? ( test )"
 
 python_check_deps() {
-       has_version "dev-python/sphinx[${PYTHON_USEDEP}]" && \
-               has_version "dev-python/breathe[${PYTHON_USEDEP}]"
+       python_has_version "dev-python/sphinx[${PYTHON_USEDEP}]" \
+               "dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]" \
+               "dev-python/breathe[${PYTHON_USEDEP}]"
 }
 
 pkg_setup() {

Reply via email to