From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1653698-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 6533D15939F
	for <garchives@archives.gentoo.org>; Tue, 16 Jul 2024 21:45:30 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 4D75C2BC032;
	Tue, 16 Jul 2024 21:45:29 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 048EE2BC032
	for <gentoo-commits@lists.gentoo.org>; Tue, 16 Jul 2024 21:45:28 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id E751B34069F
	for <gentoo-commits@lists.gentoo.org>; Tue, 16 Jul 2024 21:45:27 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 494721E32
	for <gentoo-commits@lists.gentoo.org>; Tue, 16 Jul 2024 21:45:26 +0000 (UTC)
From: "Joe Kappus" <joe@wt.gd>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Joe Kappus" <joe@wt.gd>
Message-ID: <1721166314.98e8c78cea25970b188892a4e8be1ec8d3d3706e.joe@gentoo>
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-build/just/
X-VCS-Repository: repo/proj/guru
X-VCS-Files: dev-build/just/just-1.31.0.ebuild
X-VCS-Directories: dev-build/just/
X-VCS-Committer: joe
X-VCS-Committer-Name: Joe Kappus
X-VCS-Revision: 98e8c78cea25970b188892a4e8be1ec8d3d3706e
X-VCS-Branch: dev
Date: Tue, 16 Jul 2024 21:45:26 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 994ac773-443a-4af4-87ef-2c072f93135c
X-Archives-Hash: f404d5755c4086349d56f8bbb2c6bc49

commit:     98e8c78cea25970b188892a4e8be1ec8d3d3706e
Author:     Joe Kappus <joe <AT> wt <DOT> gd>
AuthorDate: Tue Jul 16 21:43:46 2024 +0000
Commit:     Joe Kappus <joe <AT> wt <DOT> gd>
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"
 }