From: "Zac Medico" <zmedico@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-containers/cri-tools/
Date: Thu, 08 May 2025 23:45:13 +0000 (UTC) [thread overview]
Message-ID: <1746747910.8873f14078aa3be68a7ec500f2898bdc5f63af57.zmedico@gentoo> (raw)
commit: 8873f14078aa3be68a7ec500f2898bdc5f63af57
Author: James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Thu May 8 13:18:09 2025 +0000
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Thu May 8 23:45:10 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8873f140
app-containers/cri-tools: We can now determine the crictl directory
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>
From: https://github.com/gentoo/gentoo/pull/41994
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>
app-containers/cri-tools/cri-tools-1.33.0.ebuild | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/app-containers/cri-tools/cri-tools-1.33.0.ebuild b/app-containers/cri-tools/cri-tools-1.33.0.ebuild
index f189cded30e7..305a9474b453 100644
--- a/app-containers/cri-tools/cri-tools-1.33.0.ebuild
+++ b/app-containers/cri-tools/cri-tools-1.33.0.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-inherit bash-completion-r1 go-module
+inherit bash-completion-r1 go-env go-module
DESCRIPTION="CLI and validation tools for Kubelet Container Runtime (CRI)"
HOMEPAGE="https://github.com/kubernetes-sigs/cri-tools"
@@ -17,16 +17,18 @@ RESTRICT="test"
DOCS=( docs {README,RELEASE,CHANGELOG,CONTRIBUTING}.md )
src_compile() {
+ local GOOS=$(go-env_goos)
+ CRICTL="build/bin/${GOOS}/${GOARCH}/crictl"
emake VERSION="${PV}"
- find build/ -name crictl -exec cp {} build/bin/ \; || die
- ./build/bin/crictl completion bash > "crictl.bash" || die
- ./build/bin/crictl completion zsh > "crictl.zsh" || die
+
+ "${CRICTL}" completion bash > crictl.bash || die
+ "${CRICTL}" completion zsh > crictl.zsh || die
}
src_install() {
einstalldocs
- dobin ./build/bin/crictl
+ dobin "${CRICTL}"
newbashcomp crictl.bash crictl
insinto /usr/share/zsh/site-functions
newins crictl.zsh _crictl
next reply other threads:[~2025-05-08 23:45 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-08 23:45 Zac Medico [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-05-08 23:45 [gentoo-commits] repo/gentoo:master commit in: app-containers/cri-tools/ Zac Medico
2025-05-08 23:45 Zac Medico
2025-05-08 23:45 Zac Medico
2025-01-19 18:03 Sam James
2025-01-07 2:09 Zac Medico
2024-12-10 1:35 Zac Medico
2024-09-08 22:03 Zac Medico
2023-06-03 17:02 Arthur Zamarin
2023-05-15 20:19 Arthur Zamarin
2023-05-06 12:11 Sam James
2023-02-03 6:52 Sam James
2022-08-26 21:02 Zac Medico
2022-05-28 17:45 Zac Medico
2022-05-28 17:22 Zac Medico
2022-05-28 17:22 Zac Medico
2022-05-13 20:54 Zac Medico
2022-05-07 16:49 Zac Medico
2022-01-17 18:25 Zac Medico
2021-12-31 19:03 Zac Medico
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=1746747910.8873f14078aa3be68a7ec500f2898bdc5f63af57.zmedico@gentoo \
--to=zmedico@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