public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "James Le Cuirot" <chewi@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-benchmarks/hyperfine/
Date: Mon, 17 Jun 2024 09:39:30 +0000 (UTC)	[thread overview]
Message-ID: <1718617010.6e9e08389d3e189631f922f8c63bd49d78230d83.chewi@gentoo> (raw)

commit:     6e9e08389d3e189631f922f8c63bd49d78230d83
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 14 09:45:32 2024 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Mon Jun 17 09:36:50 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e9e0838

app-benchmarks/hyperfine: Use new cargo_target_dir helper

Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 app-benchmarks/hyperfine/hyperfine-1.16.1.ebuild | 4 ++--
 app-benchmarks/hyperfine/hyperfine-1.18.0.ebuild | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/app-benchmarks/hyperfine/hyperfine-1.16.1.ebuild b/app-benchmarks/hyperfine/hyperfine-1.16.1.ebuild
index b91b6cea4b6e..2dd876dd9714 100644
--- a/app-benchmarks/hyperfine/hyperfine-1.16.1.ebuild
+++ b/app-benchmarks/hyperfine/hyperfine-1.16.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2020-2023 Gentoo Authors
+# Copyright 2020-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -159,7 +159,7 @@ KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv"
 QA_FLAGS_IGNORED="usr/bin/${PN}"
 
 src_install() {
-	local build_dir="$(dirname $(find target/ -name ${PN}.bash -print -quit))"
+	local build_dir="$(dirname $(find "$(cargo_target_dir)" -name ${PN}.bash -print -quit))"
 
 	newbashcomp "${build_dir}/${PN}.bash" "${PN}"
 

diff --git a/app-benchmarks/hyperfine/hyperfine-1.18.0.ebuild b/app-benchmarks/hyperfine/hyperfine-1.18.0.ebuild
index b13a16e82303..959f004a2644 100644
--- a/app-benchmarks/hyperfine/hyperfine-1.18.0.ebuild
+++ b/app-benchmarks/hyperfine/hyperfine-1.18.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2020-2023 Gentoo Authors
+# Copyright 2020-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -190,7 +190,7 @@ src_prepare() {
 }
 
 src_install() {
-	local build_dir="$(dirname $(find target/ -name ${PN}.bash -print -quit))"
+	local build_dir="$(dirname $(find "$(cargo_target_dir)" -name ${PN}.bash -print -quit))"
 
 	newbashcomp "${build_dir}/${PN}.bash" "${PN}"
 


             reply	other threads:[~2024-06-17  9:39 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-17  9:39 James Le Cuirot [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-10-17 15:36 [gentoo-commits] repo/gentoo:master commit in: app-benchmarks/hyperfine/ Arthur Zamarin
2024-09-21  5:41 Sam James
2024-03-02  5:05 Sam James
2023-11-27 11:13 Sam James
2023-04-05 23:31 Georgy Yakovlev
2022-11-11 12:01 Georgy Yakovlev
2022-11-01  8:26 Agostino Sarubbo
2022-09-20  0:03 Georgy Yakovlev
2022-08-26 10:42 Sam James
2022-08-03 15:39 Jakov Smolić
2022-07-28 13:59 Sam James
2021-10-26 18:25 Georgy Yakovlev
2021-01-25 14:18 Sam James
2021-01-24 21:52 Sam James
2020-10-31  0:52 Georgy Yakovlev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1718617010.6e9e08389d3e189631f922f8c63bd49d78230d83.chewi@gentoo \
    --to=chewi@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox