commit: c7529dec37244b0ec42848d1fe4effe70b9f4cf9 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Sat Feb 17 19:36:22 2024 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Sun Feb 18 13:23:30 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7529dec
sys-devel/clang: Fix missing myst-parser dep for manpage builds Bug: https://bugs.gentoo.org/924706 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> sys-devel/clang/clang-18.1.0_rc2.ebuild | 13 +++++++++---- sys-devel/clang/clang-19.0.0.9999.ebuild | 13 +++++++++---- sys-devel/clang/clang-19.0.0_pre20240210.ebuild | 13 +++++++++---- 3 files changed, 27 insertions(+), 12 deletions(-) diff --git a/sys-devel/clang/clang-18.1.0_rc2.ebuild b/sys-devel/clang/clang-18.1.0_rc2.ebuild index d351f9774a48..189ad24d33b1 100644 --- a/sys-devel/clang/clang-18.1.0_rc2.ebuild +++ b/sys-devel/clang/clang-18.1.0_rc2.ebuild @@ -33,10 +33,6 @@ RDEPEND=" " BDEPEND=" ${PYTHON_DEPS} - doc? ( $(python_gen_cond_dep ' - dev-python/myst-parser[${PYTHON_USEDEP}] - dev-python/sphinx[${PYTHON_USEDEP}] - ') ) xml? ( virtual/pkgconfig ) " PDEPEND=" @@ -55,6 +51,15 @@ LLVM_TEST_COMPONENTS=( LLVM_USE_TARGETS=llvm llvm.org_set_globals +[[ -n ${LLVM_MANPAGE_DIST} ]] && BDEPEND+=" doc? ( " +BDEPEND+=" + $(python_gen_cond_dep ' + dev-python/myst-parser[${PYTHON_USEDEP}] + dev-python/sphinx[${PYTHON_USEDEP}] + ') +" +[[ -n ${LLVM_MANPAGE_DIST} ]] && BDEPEND+=" ) " + # Multilib notes: # 1. ABI_* flags control ABIs libclang* is built for only. # 2. clang is always capable of compiling code for all ABIs for enabled diff --git a/sys-devel/clang/clang-19.0.0.9999.ebuild b/sys-devel/clang/clang-19.0.0.9999.ebuild index d351f9774a48..189ad24d33b1 100644 --- a/sys-devel/clang/clang-19.0.0.9999.ebuild +++ b/sys-devel/clang/clang-19.0.0.9999.ebuild @@ -33,10 +33,6 @@ RDEPEND=" " BDEPEND=" ${PYTHON_DEPS} - doc? ( $(python_gen_cond_dep ' - dev-python/myst-parser[${PYTHON_USEDEP}] - dev-python/sphinx[${PYTHON_USEDEP}] - ') ) xml? ( virtual/pkgconfig ) " PDEPEND=" @@ -55,6 +51,15 @@ LLVM_TEST_COMPONENTS=( LLVM_USE_TARGETS=llvm llvm.org_set_globals +[[ -n ${LLVM_MANPAGE_DIST} ]] && BDEPEND+=" doc? ( " +BDEPEND+=" + $(python_gen_cond_dep ' + dev-python/myst-parser[${PYTHON_USEDEP}] + dev-python/sphinx[${PYTHON_USEDEP}] + ') +" +[[ -n ${LLVM_MANPAGE_DIST} ]] && BDEPEND+=" ) " + # Multilib notes: # 1. ABI_* flags control ABIs libclang* is built for only. # 2. clang is always capable of compiling code for all ABIs for enabled diff --git a/sys-devel/clang/clang-19.0.0_pre20240210.ebuild b/sys-devel/clang/clang-19.0.0_pre20240210.ebuild index d351f9774a48..189ad24d33b1 100644 --- a/sys-devel/clang/clang-19.0.0_pre20240210.ebuild +++ b/sys-devel/clang/clang-19.0.0_pre20240210.ebuild @@ -33,10 +33,6 @@ RDEPEND=" " BDEPEND=" ${PYTHON_DEPS} - doc? ( $(python_gen_cond_dep ' - dev-python/myst-parser[${PYTHON_USEDEP}] - dev-python/sphinx[${PYTHON_USEDEP}] - ') ) xml? ( virtual/pkgconfig ) " PDEPEND=" @@ -55,6 +51,15 @@ LLVM_TEST_COMPONENTS=( LLVM_USE_TARGETS=llvm llvm.org_set_globals +[[ -n ${LLVM_MANPAGE_DIST} ]] && BDEPEND+=" doc? ( " +BDEPEND+=" + $(python_gen_cond_dep ' + dev-python/myst-parser[${PYTHON_USEDEP}] + dev-python/sphinx[${PYTHON_USEDEP}] + ') +" +[[ -n ${LLVM_MANPAGE_DIST} ]] && BDEPEND+=" ) " + # Multilib notes: # 1. ABI_* flags control ABIs libclang* is built for only. # 2. clang is always capable of compiling code for all ABIs for enabled