summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2022-09-01 13:09:52 +0100
committerMarek Szuba <marecki@gentoo.org>2022-09-01 13:11:57 +0100
commit5aad1c6d26dfe28c9d6c757709ad5dd3dc8b3ad2 (patch)
tree5d7d10a378958f2245974b46816464c58e6e1cd8 /dev-vcs
parentnet-analyzer/suricata: require <dev-libs/libbpf-1.0.0 (diff)
downloadgentoo-5aad1c6d26dfe28c9d6c757709ad5dd3dc8b3ad2.tar.gz
gentoo-5aad1c6d26dfe28c9d6c757709ad5dd3dc8b3ad2.tar.bz2
gentoo-5aad1c6d26dfe28c9d6c757709ad5dd3dc8b3ad2.zip
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@gentoo.org>
Diffstat (limited to 'dev-vcs')
-rw-r--r--dev-vcs/git-machete/git-machete-3.12.0.ebuild15
-rw-r--r--dev-vcs/git-machete/metadata.xml3
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>