diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-02-18 17:39:04 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-02-18 17:39:04 +0000 |
commit | 9897403e8218123dc1c8d3797b083652f08779a9 (patch) | |
tree | 4094b584adf5bb6134895d92d675388b79bc13a0 /sys-devel/llvm/llvm-19.0.0.9999.ebuild | |
parent | 08f1ae6b8bd1202a10c5f0d07ee0adc846e0308c (diff) |
gentoo auto-resync : 18:02:2024 - 17:39:04
Diffstat (limited to 'sys-devel/llvm/llvm-19.0.0.9999.ebuild')
-rw-r--r-- | sys-devel/llvm/llvm-19.0.0.9999.ebuild | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/sys-devel/llvm/llvm-19.0.0.9999.ebuild b/sys-devel/llvm/llvm-19.0.0.9999.ebuild index 8ff126c7d4a1..55ced7c14db1 100644 --- a/sys-devel/llvm/llvm-19.0.0.9999.ebuild +++ b/sys-devel/llvm/llvm-19.0.0.9999.ebuild @@ -50,10 +50,6 @@ BDEPEND=" kernel_Darwin? ( <sys-libs/libcxx-${LLVM_VERSION}.9999 ) - doc? ( $(python_gen_any_dep ' - dev-python/myst-parser[${PYTHON_USEDEP}] - dev-python/sphinx[${PYTHON_USEDEP}] - ') ) libffi? ( virtual/pkgconfig ) " # There are no file collisions between these versions but having :0 @@ -73,8 +69,17 @@ LLVM_MANPAGES=1 LLVM_USE_TARGETS=provide llvm.org_set_globals +[[ -n ${LLVM_MANPAGE_DIST} ]] && BDEPEND+=" doc? ( " +BDEPEND+=" + $(python_gen_any_dep ' + dev-python/myst-parser[${PYTHON_USEDEP}] + dev-python/sphinx[${PYTHON_USEDEP}] + ') +" +[[ -n ${LLVM_MANPAGE_DIST} ]] && BDEPEND+=" ) " + python_check_deps() { - use doc || return 0 + llvm_are_manpages_built || return 0 python_has_version -b "dev-python/myst-parser[${PYTHON_USEDEP}]" && python_has_version -b "dev-python/sphinx[${PYTHON_USEDEP}]" |