From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1653988-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 B550C1581C1
	for <garchives@archives.gentoo.org>; Wed, 17 Jul 2024 08:40:26 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id C38E12BC100;
	Wed, 17 Jul 2024 08:40:25 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(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 AA01A2BC100
	for <gentoo-commits@lists.gentoo.org>; Wed, 17 Jul 2024 08:40:25 +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 B45BF343003
	for <gentoo-commits@lists.gentoo.org>; Wed, 17 Jul 2024 08:40:24 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id B09661E3C
	for <gentoo-commits@lists.gentoo.org>; Wed, 17 Jul 2024 08:40:21 +0000 (UTC)
From: "David Roman" <davidroman96@gmail.com>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "David Roman" <davidroman96@gmail.com>
Message-ID: <1721166314.98e8c78cea25970b188892a4e8be1ec8d3d3706e.davidroman@gentoo>
Subject: [gentoo-commits] repo/proj/guru:master 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: davidroman
X-VCS-Committer-Name: David Roman
X-VCS-Revision: 98e8c78cea25970b188892a4e8be1ec8d3d3706e
X-VCS-Branch: master
Date: Wed, 17 Jul 2024 08:40:21 +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: 2e1795a5-5a78-4e7d-83a1-97fb92a337f3
X-Archives-Hash: 0ded0e6f7b76ab1c06dc022e1c012f00

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"
 }