commit:     98e8c78cea25970b188892a4e8be1ec8d3d3706e
Author:     Joe Kappus <joe <AT> wt <DOT> gd>
AuthorDate: Tue Jul 16 21:43:46 2024 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Tue Jul 16 21:45:14 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=98e8c78c

dev-build/just: QA fixups

Incorporating feedback from AndrewAmmerlaan & antecrescent.

Signed-off-by: Joe Kappus <joe <AT> wt.gd>

 dev-build/just/just-1.31.0.ebuild | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/dev-build/just/just-1.31.0.ebuild 
b/dev-build/just/just-1.31.0.ebuild
index d4c08b75a..9a3a7ad29 100644
--- a/dev-build/just/just-1.31.0.ebuild
+++ b/dev-build/just/just-1.31.0.ebuild
@@ -192,8 +192,6 @@ KEYWORDS="~amd64 ~arm64 ~x86"
 QA_FLAGS_IGNORED="usr/bin/${PN}"
 
 src_test() {
-       # $USER must be set or tests fail Bug #890889
-       export USER=portage
        default
 }
 
@@ -208,7 +206,7 @@ src_install() {
        cargo_src_install
 
        mkdir man || die
-       ./target/$(usex debug debug release)/just --man > man/just.1 || die
+       $(cargo_target_dir)/just --man > man/just.1 || die
 
        doman man/*
 
@@ -217,14 +215,14 @@ src_install() {
        mkdir completions || die
 
        # bash-completion
-       ./target/$(usex debug debug release)/just --completions bash > 
completions/just.bash || die
+       $(cargo_target_dir)/just --completions bash > completions/just.bash || 
die
        newbashcomp "completions/${PN}.bash" "${PN}"
 
        # zsh-completion
-       ./target/$(usex debug debug release)/just --completions zsh > 
completions/just.zsh || die
+       $(cargo_target_dir)/just --completions zsh > completions/just.zsh || die
        newzshcomp "completions/${PN}.zsh" "_${PN}"
 
        # fish-completion
-       ./target/$(usex debug debug release)/just --completions fish > 
completions/just.fish || die
+       $(cargo_target_dir)/just --completions fish > completions/just.fish || 
die
        dofishcomp "completions/${PN}.fish"
 }

Reply via email to