commit:     5aad1c6d26dfe28c9d6c757709ad5dd3dc8b3ad2
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Thu Sep  1 12:09:52 2022 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Thu Sep  1 12:11:57 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5aad1c6d

dev-vcs/git-machete: drop IUSE={fi,z}sh-completion

I forgot that the current policy is to install completion scripts
unconditionally for ALL packaged shells, not just for bash.
Thanks, sam!

Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 dev-vcs/git-machete/git-machete-3.12.0.ebuild | 15 ++++++---------
 dev-vcs/git-machete/metadata.xml              |  3 ---
 2 files changed, 6 insertions(+), 12 deletions(-)

diff --git a/dev-vcs/git-machete/git-machete-3.12.0.ebuild 
b/dev-vcs/git-machete/git-machete-3.12.0.ebuild
index 142f64b9239a..fc280b8825d9 100644
--- a/dev-vcs/git-machete/git-machete-3.12.0.ebuild
+++ b/dev-vcs/git-machete/git-machete-3.12.0.ebuild
@@ -16,7 +16,6 @@ 
SRC_URI="https://github.com/VirtusLab/${PN}/archive/refs/tags/v${PV}.tar.gz -> $
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64 ~riscv"
-IUSE="fish-completion zsh-completion"
 
 RDEPEND="dev-vcs/git"
 BDEPEND="test? (
@@ -35,12 +34,10 @@ src_install() {
        distutils-r1_src_install
 
        newbashcomp completion/${PN}.completion.bash ${PN}
-       if use fish-completion; then
-               insinto /usr/share/fish/vendor_completions.d
-               doins completion/${PN}.fish
-       fi
-       if use zsh-completion; then
-               insinto /usr/share/zsh/site-functions
-               newins completion/${PN}.completion.zsh _${PN}
-       fi
+
+       insinto /usr/share/fish/vendor_completions.d
+       doins completion/${PN}.fish
+
+       insinto /usr/share/zsh/site-functions
+       newins completion/${PN}.completion.zsh _${PN}
 }

diff --git a/dev-vcs/git-machete/metadata.xml b/dev-vcs/git-machete/metadata.xml
index 8199593ab959..c10080a3b72a 100644
--- a/dev-vcs/git-machete/metadata.xml
+++ b/dev-vcs/git-machete/metadata.xml
@@ -20,7 +20,4 @@
                <remote-id type="github">VirtusLab/git-machete</remote-id>
                <remote-id type="pypi">git-machete</remote-id>
        </upstream>
-       <use>
-               <flag name="fish-completion">Enable fish completion 
support</flag>
-       </use>
 </pkgmetadata>

Reply via email to