commit:     414cf32ed4876631aad90feb3fb4e00c4708151d
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sun May 30 05:39:14 2021 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sun May 30 05:42:10 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=414cf32e

dev-vcs/mercurial: remove zsh-completion use on -9999

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 dev-vcs/mercurial/mercurial-9999.ebuild | 11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)

diff --git a/dev-vcs/mercurial/mercurial-9999.ebuild 
b/dev-vcs/mercurial/mercurial-9999.ebuild
index bc9d4124ebe..516f17871e1 100644
--- a/dev-vcs/mercurial/mercurial-9999.ebuild
+++ b/dev-vcs/mercurial/mercurial-9999.ebuild
@@ -17,7 +17,7 @@ EHG_REPO_URI="https://www.mercurial-scm.org/repo/hg";
 LICENSE="GPL-2+"
 SLOT="0"
 KEYWORDS=""
-IUSE="+chg emacs gpg test tk rust zsh-completion"
+IUSE="+chg emacs gpg test tk rust"
 
 BDEPEND="
        dev-python/docutils[${PYTHON_USEDEP}]
@@ -28,8 +28,7 @@ RDEPEND="
        dev-python/zstandard[${PYTHON_USEDEP}]
        gpg? ( app-crypt/gnupg )
        tk? ( dev-lang/tk )
-       zsh-completion? ( app-shells/zsh )"
-
+"
 DEPEND="emacs? ( >=app-editors/emacs-23.1:* )
        test? ( app-arch/unzip
                dev-python/pygments[${PYTHON_USEDEP}] )"
@@ -106,10 +105,8 @@ python_install_all() {
 
        newbashcomp contrib/bash_completion hg
 
-       if use zsh-completion ; then
-               insinto /usr/share/zsh/site-functions
-               newins contrib/zsh_completion _hg
-       fi
+       insinto /usr/share/zsh/site-functions
+       newins contrib/zsh_completion _hg
 
        dobin hgeditor
        if use tk; then

Reply via email to