summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/bat')
-rw-r--r--sys-apps/bat/bat-0.23.0-r1.ebuild14
-rw-r--r--sys-apps/bat/bat-0.24.0.ebuild14
2 files changed, 14 insertions, 14 deletions
diff --git a/sys-apps/bat/bat-0.23.0-r1.ebuild b/sys-apps/bat/bat-0.23.0-r1.ebuild
index f815894bb3b6..86995149aabc 100644
--- a/sys-apps/bat/bat-0.23.0-r1.ebuild
+++ b/sys-apps/bat/bat-0.23.0-r1.ebuild
@@ -206,6 +206,13 @@ src_configure() {
sed -i -e 's/strip = true/strip = false/g' Cargo.toml || die
}
+src_test() {
+ # Set COLUMNS for deterministic help output, #913364
+ export COLUMNS=100
+
+ cargo_src_test
+}
+
src_install() {
cargo_src_install
@@ -220,10 +227,3 @@ src_install() {
newzshcomp assets/completions/${PN}.zsh _${PN}
dofishcomp assets/completions/${PN}.fish
}
-
-src_test() {
- # Set COLUMNS for deterministic help output, #913364
- export COLUMNS=100
-
- cargo_src_test
-}
diff --git a/sys-apps/bat/bat-0.24.0.ebuild b/sys-apps/bat/bat-0.24.0.ebuild
index 126e73832de9..5e377473db87 100644
--- a/sys-apps/bat/bat-0.24.0.ebuild
+++ b/sys-apps/bat/bat-0.24.0.ebuild
@@ -227,6 +227,13 @@ src_configure() {
cargo_src_configure
}
+src_test() {
+ # Set COLUMNS for deterministic help output, #913364
+ export COLUMNS=100
+
+ cargo_src_test
+}
+
src_install() {
cargo_src_install
@@ -241,10 +248,3 @@ src_install() {
newzshcomp assets/completions/${PN}.zsh _${PN}
dofishcomp assets/completions/${PN}.fish
}
-
-src_test() {
- # Set COLUMNS for deterministic help output, #913364
- export COLUMNS=100
-
- cargo_src_test
-}