commit: ba6f07c6a6a1971feb5bb64c42c3ace886c84fe9 Author: Florian Schmaus <flow <AT> gentoo <DOT> org> AuthorDate: Mon Feb 3 07:28:55 2025 +0000 Commit: Florian Schmaus <flow <AT> gentoo <DOT> org> CommitDate: Mon Feb 3 07:34:54 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba6f07c6
dev-texlive/texlive-binextra: install zsh completion for texdoc Closes: https://bugs.gentoo.org/949233 Signed-off-by: Florian Schmaus <flow <AT> gentoo.org> ...72338.ebuild => texlive-binextra-2024_p72338-r1.ebuild} | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/dev-texlive/texlive-binextra/texlive-binextra-2024_p72338.ebuild b/dev-texlive/texlive-binextra/texlive-binextra-2024_p72338-r1.ebuild similarity index 96% rename from dev-texlive/texlive-binextra/texlive-binextra-2024_p72338.ebuild rename to dev-texlive/texlive-binextra/texlive-binextra-2024_p72338-r1.ebuild index 24cc821ea10f..82ee9175f687 100644 --- a/dev-texlive/texlive-binextra/texlive-binextra-2024_p72338.ebuild +++ b/dev-texlive/texlive-binextra/texlive-binextra-2024_p72338-r1.ebuild @@ -201,7 +201,7 @@ TEXLIVE_MODULE_SRC_CONTENTS=" tlcockpit.source.r54857 " -inherit texlive-module +inherit shell-completion texlive-module DESCRIPTION="TeXLive TeX auxiliary programs" @@ -222,6 +222,10 @@ RDEPEND=" DEPEND=" ${COMMON_DEPEND} " +# app-text/texlive-core for texlua/luatex to generate the shellc completion +BDEPEND=" + app-text/texlive-core +" TEXLIVE_MODULE_BINSCRIPTS=" texmf-dist/scripts/a2ping/a2ping.pl @@ -313,7 +317,15 @@ TEXLIVE_MODULE_BINLINKS=" texdef:latexdef " +src_compile() { + texlive-module_src_compile + ./texmf-dist/scripts/texdoc/texdoc.tlu \ + --print-completion zsh \ + > "${T}"/_texdoc || die +} + src_install() { texlive-module_src_install keepdir /var/lib/texmf/web2c + dozshcomp "${T}"/_texdoc }