summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-07-25 04:04:06 +0100
committerSam James <sam@gentoo.org>2021-07-31 01:16:29 +0100
commitcb7d7630c115b32a8d1aa84f75b5dba9ffa11f32 (patch)
tree4fa9a67e132228023c8df100144d7a1973b0cc05 /app-misc
parentwww-client/pybugz: [QA] unconditionally install completion files (diff)
downloadgentoo-cb7d7630c115b32a8d1aa84f75b5dba9ffa11f32.tar.gz
gentoo-cb7d7630c115b32a8d1aa84f75b5dba9ffa11f32.tar.bz2
gentoo-cb7d7630c115b32a8d1aa84f75b5dba9ffa11f32.zip
app-misc/tmux-xpanes: [QA] unconditionally install completion files
QA policy [0] says that we don't conditionalise installation of small files. It's a wasteful rebuild and inconsistent across packages for when users desire completions to be available. [0] https://projects.gentoo.org/qa/policy-guide/installed-files.html#pg0301 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/tmux-xpanes/tmux-xpanes-4.1.2-r1.ebuild (renamed from app-misc/tmux-xpanes/tmux-xpanes-4.1.2.ebuild)19
-rw-r--r--app-misc/tmux-xpanes/tmux-xpanes-4.1.3-r1.ebuild (renamed from app-misc/tmux-xpanes/tmux-xpanes-4.1.3.ebuild)9
2 files changed, 9 insertions, 19 deletions
diff --git a/app-misc/tmux-xpanes/tmux-xpanes-4.1.2.ebuild b/app-misc/tmux-xpanes/tmux-xpanes-4.1.2-r1.ebuild
index ed4e2949a395..1fbee411365e 100644
--- a/app-misc/tmux-xpanes/tmux-xpanes-4.1.2.ebuild
+++ b/app-misc/tmux-xpanes/tmux-xpanes-4.1.2-r1.ebuild
@@ -7,19 +7,13 @@ DESCRIPTION="tmux-based terminal divider"
HOMEPAGE="https://github.com/greymd/tmux-xpanes"
SRC_URI="https://github.com/greymd/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-KEYWORDS="amd64 x86"
LICENSE="MIT"
SLOT="0"
+KEYWORDS="amd64 x86"
-IUSE="zsh-completion"
-
-RDEPEND="
- app-misc/tmux
+RDEPEND="app-misc/tmux
dev-lang/perl
- dev-libs/openssl:0=
- zsh-completion? ( app-shells/zsh )"
-
-DEPEND="${RDEPEND}"
+ dev-libs/openssl:0"
RESTRICT="test"
@@ -29,8 +23,7 @@ src_install() {
dobin bin/*
doman man/*.1
einstalldocs
- if use zsh-completion; then
- insinto /usr/share/zsh/site-functions
- doins completion/zsh/*
- fi
+
+ insinto /usr/share/zsh/site-functions
+ doins -r completion/zsh/.
}
diff --git a/app-misc/tmux-xpanes/tmux-xpanes-4.1.3.ebuild b/app-misc/tmux-xpanes/tmux-xpanes-4.1.3-r1.ebuild
index 1f0e2733e1df..3d28ac557e8d 100644
--- a/app-misc/tmux-xpanes/tmux-xpanes-4.1.3.ebuild
+++ b/app-misc/tmux-xpanes/tmux-xpanes-4.1.3-r1.ebuild
@@ -11,12 +11,9 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-RDEPEND="
- app-misc/tmux
+RDEPEND="app-misc/tmux
dev-lang/perl
- dev-libs/openssl:0=
-"
-DEPEND="${RDEPEND}"
+ dev-libs/openssl:0"
RESTRICT="test"
@@ -28,5 +25,5 @@ src_install() {
einstalldocs
insinto /usr/share/zsh/site-functions
- doins completion/zsh/*
+ doins -r completion/zsh/.
}