summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-02-16 00:16:57 +0000
committerSam James <sam@gentoo.org>2024-02-16 00:16:57 +0000
commitea70234532b5091dbed48fb975db26d1d57c863e (patch)
tree3dfc5364887c2da1b350684730c483d6b075a21e /sys-apps/bat
parentx11-libs/pixman: Stabilize 0.43.2 arm, #924658 (diff)
downloadgentoo-ea70234532b5091dbed48fb975db26d1d57c863e.tar.gz
gentoo-ea70234532b5091dbed48fb975db26d1d57c863e.tar.bz2
gentoo-ea70234532b5091dbed48fb975db26d1d57c863e.zip
sys-apps/bat: move src_test above src_install
... to reflect phase execution order. Signed-off-by: Sam James <sam@gentoo.org>
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
-}