1 |
commit: 5aad1c6d26dfe28c9d6c757709ad5dd3dc8b3ad2 |
2 |
Author: Marek Szuba <marecki <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Sep 1 12:09:52 2022 +0000 |
4 |
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Sep 1 12:11:57 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5aad1c6d |
7 |
|
8 |
dev-vcs/git-machete: drop IUSE={fi,z}sh-completion |
9 |
|
10 |
I forgot that the current policy is to install completion scripts |
11 |
unconditionally for ALL packaged shells, not just for bash. |
12 |
Thanks, sam! |
13 |
|
14 |
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org> |
15 |
|
16 |
dev-vcs/git-machete/git-machete-3.12.0.ebuild | 15 ++++++--------- |
17 |
dev-vcs/git-machete/metadata.xml | 3 --- |
18 |
2 files changed, 6 insertions(+), 12 deletions(-) |
19 |
|
20 |
diff --git a/dev-vcs/git-machete/git-machete-3.12.0.ebuild b/dev-vcs/git-machete/git-machete-3.12.0.ebuild |
21 |
index 142f64b9239a..fc280b8825d9 100644 |
22 |
--- a/dev-vcs/git-machete/git-machete-3.12.0.ebuild |
23 |
+++ b/dev-vcs/git-machete/git-machete-3.12.0.ebuild |
24 |
@@ -16,7 +16,6 @@ SRC_URI="https://github.com/VirtusLab/${PN}/archive/refs/tags/v${PV}.tar.gz -> $ |
25 |
LICENSE="MIT" |
26 |
SLOT="0" |
27 |
KEYWORDS="~amd64 ~riscv" |
28 |
-IUSE="fish-completion zsh-completion" |
29 |
|
30 |
RDEPEND="dev-vcs/git" |
31 |
BDEPEND="test? ( |
32 |
@@ -35,12 +34,10 @@ src_install() { |
33 |
distutils-r1_src_install |
34 |
|
35 |
newbashcomp completion/${PN}.completion.bash ${PN} |
36 |
- if use fish-completion; then |
37 |
- insinto /usr/share/fish/vendor_completions.d |
38 |
- doins completion/${PN}.fish |
39 |
- fi |
40 |
- if use zsh-completion; then |
41 |
- insinto /usr/share/zsh/site-functions |
42 |
- newins completion/${PN}.completion.zsh _${PN} |
43 |
- fi |
44 |
+ |
45 |
+ insinto /usr/share/fish/vendor_completions.d |
46 |
+ doins completion/${PN}.fish |
47 |
+ |
48 |
+ insinto /usr/share/zsh/site-functions |
49 |
+ newins completion/${PN}.completion.zsh _${PN} |
50 |
} |
51 |
|
52 |
diff --git a/dev-vcs/git-machete/metadata.xml b/dev-vcs/git-machete/metadata.xml |
53 |
index 8199593ab959..c10080a3b72a 100644 |
54 |
--- a/dev-vcs/git-machete/metadata.xml |
55 |
+++ b/dev-vcs/git-machete/metadata.xml |
56 |
@@ -20,7 +20,4 @@ |
57 |
<remote-id type="github">VirtusLab/git-machete</remote-id> |
58 |
<remote-id type="pypi">git-machete</remote-id> |
59 |
</upstream> |
60 |
- <use> |
61 |
- <flag name="fish-completion">Enable fish completion support</flag> |
62 |
- </use> |
63 |
</pkgmetadata> |