commit:     6fbada6f3089dfc9bf9b2afb40f9c1f8df893147
Author:     Cédric Krier <cedk <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 29 21:50:57 2025 +0000
Commit:     Cédric Krier <cedk <AT> gentoo <DOT> org>
CommitDate: Fri Aug 29 21:57:52 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6fbada6f

dev-vcs/mercurial: use shell-completion

Signed-off-by: Cédric Krier <cedk <AT> gentoo.org>

 dev-vcs/mercurial/mercurial-7.1.ebuild  | 6 ++----
 dev-vcs/mercurial/mercurial-9999.ebuild | 6 ++----
 2 files changed, 4 insertions(+), 8 deletions(-)

diff --git a/dev-vcs/mercurial/mercurial-7.1.ebuild 
b/dev-vcs/mercurial/mercurial-7.1.ebuild
index 89a73002ff52..53cdca448a95 100644
--- a/dev-vcs/mercurial/mercurial-7.1.ebuild
+++ b/dev-vcs/mercurial/mercurial-7.1.ebuild
@@ -253,7 +253,7 @@ CRATES="
        [email protected]
 "
 
-inherit bash-completion-r1 cargo elisp-common distutils-r1 flag-o-matic 
multiprocessing
+inherit shell-completion cargo elisp-common distutils-r1 flag-o-matic 
multiprocessing
 
 DESCRIPTION="Scalable distributed SCM"
 HOMEPAGE="https://www.mercurial-scm.org/";
@@ -367,9 +367,7 @@ python_install_all() {
        distutils-r1_python_install_all
 
        newbashcomp contrib/bash_completion hg
-
-       insinto /usr/share/zsh/site-functions
-       newins contrib/zsh_completion _hg
+       newzshcomp contrib/zsh_completion _hg
 
        dobin hgeditor
        if use tk; then

diff --git a/dev-vcs/mercurial/mercurial-9999.ebuild 
b/dev-vcs/mercurial/mercurial-9999.ebuild
index 5226fc000dd0..b85ef0e4a718 100644
--- a/dev-vcs/mercurial/mercurial-9999.ebuild
+++ b/dev-vcs/mercurial/mercurial-9999.ebuild
@@ -9,7 +9,7 @@ DISTUTILS_EXT=1
 PYTHON_COMPAT=( python3_{10..14} )
 PYTHON_REQ_USE="threads(+)"
 
-inherit bash-completion-r1 cargo elisp-common distutils-r1 mercurial 
flag-o-matic multiprocessing
+inherit shell-completion cargo elisp-common distutils-r1 mercurial 
flag-o-matic multiprocessing
 
 DESCRIPTION="Scalable distributed SCM"
 HOMEPAGE="https://www.mercurial-scm.org/";
@@ -120,9 +120,7 @@ python_install_all() {
        distutils-r1_python_install_all
 
        newbashcomp contrib/bash_completion hg
-
-       insinto /usr/share/zsh/site-functions
-       newins contrib/zsh_completion _hg
+       newzshcomp contrib/zsh_completion _hg
 
        dobin hgeditor
        if use tk; then

Reply via email to