summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2023-04-08 21:26:43 +0200
committerAlfredo Tupone <tupone@gentoo.org>2023-04-08 21:27:45 +0200
commitdcdd64e286d5424b0801c6c15902abdf9b6b4fb6 (patch)
tree0aa5b2fb014abe5e10cfbe5a229491ec907fab73
parentdev-libs/clhpp: drop 2.0.19 (diff)
downloadgentoo-dcdd64e286d5424b0801c6c15902abdf9b6b4fb6.tar.gz
gentoo-dcdd64e286d5424b0801c6c15902abdf9b6b4fb6.tar.bz2
gentoo-dcdd64e286d5424b0801c6c15902abdf9b6b4fb6.zip
dev-libs/FBGEMM: sphinx check only for doc
Closes: https://bugs.gentoo.org/904045 Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
-rw-r--r--dev-libs/FBGEMM/FBGEMM-2023.02.10.ebuild10
1 files 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=(