commit: dcdd64e286d5424b0801c6c15902abdf9b6b4fb6 Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org> AuthorDate: Sat Apr 8 19:26:43 2023 +0000 Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org> CommitDate: Sat Apr 8 19:27:45 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dcdd64e2
dev-libs/FBGEMM: sphinx check only for doc Closes: https://bugs.gentoo.org/904045 Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org> dev-libs/FBGEMM/FBGEMM-2023.02.10.ebuild | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/dev-libs/FBGEMM/FBGEMM-2023.02.10.ebuild b/dev-libs/FBGEMM/FBGEMM-2023.02.10.ebuild index 27388ddaa17b..d0bf065049d7 100644 --- a/dev-libs/FBGEMM/FBGEMM-2023.02.10.ebuild +++ b/dev-libs/FBGEMM/FBGEMM-2023.02.10.ebuild @@ -39,10 +39,12 @@ RESTRICT="!test? ( test )" S="${WORKDIR}"/${PN}-${CommitId} python_check_deps() { - python_has_version \ - "dev-python/sphinx[${PYTHON_USEDEP}]" \ - "dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}]" \ - "dev-python/breathe[${PYTHON_USEDEP}]" + if use doc; then + python_has_version \ + "dev-python/sphinx[${PYTHON_USEDEP}]" \ + "dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}]" \ + "dev-python/breathe[${PYTHON_USEDEP}]" + fi } PATCHES=(
