public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "David Roman" <davidroman96@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: app-admin/talosctl-bin/
Date: Tue,  3 Sep 2024 10:53:06 +0000 (UTC)	[thread overview]
Message-ID: <1725309662.4cd726b8fd2eeff1d965c88c02966edf284a232e.davidroman@gentoo> (raw)

commit:     4cd726b8fd2eeff1d965c88c02966edf284a232e
Author:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Mon Sep  2 20:40:57 2024 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Mon Sep  2 20:41:02 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4cd726b8

app-admin/talosctl-bin: add QA_PREBUILT

Fix formatting issues and variable order

Closes: https://bugs.gentoo.org/938917
Closes: https://bugs.gentoo.org/938916
Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>

 app-admin/talosctl-bin/talosctl-bin-1.7.6.ebuild | 36 +++++++++++++-----------
 1 file changed, 20 insertions(+), 16 deletions(-)

diff --git a/app-admin/talosctl-bin/talosctl-bin-1.7.6.ebuild b/app-admin/talosctl-bin/talosctl-bin-1.7.6.ebuild
index b2b183927..686fb7523 100644
--- a/app-admin/talosctl-bin/talosctl-bin-1.7.6.ebuild
+++ b/app-admin/talosctl-bin/talosctl-bin-1.7.6.ebuild
@@ -5,27 +5,31 @@ EAPI="8"
 
 DESCRIPTION="Pre-compiled talosctl is an tool for interacting with the Talos API"
 HOMEPAGE="https://www.talos.dev/v1.7/"
-S="${WORKDIR}"
 SRC_URI="
-        amd64? ( https://github.com/siderolabs/talos/releases/download/v${PV}/talosctl-linux-amd64 ->
-                 talosctl-amd64-v${PV} )
-        arm64? ( https://github.com/siderolabs/talos/releases/download/v${PV}/talosctl-linux-arm64 ->
-                 talosctl-arm64-v${PV} )
-        arm? ( https://github.com/siderolabs/talos/releases/download/v${PV}/talosctl-linux-armv7 ->
-                 talosctl-armv7-v${PV} )
+amd64? ( https://github.com/siderolabs/talos/releases/download/v${PV}/talosctl-linux-amd64 ->
+	talosctl-amd64-v${PV} )
+arm64? ( https://github.com/siderolabs/talos/releases/download/v${PV}/talosctl-linux-arm64 ->
+	talosctl-arm64-v${PV} )
+arm? ( https://github.com/siderolabs/talos/releases/download/v${PV}/talosctl-linux-armv7 ->
+	talosctl-armv7-v${PV} )
 "
+
+S="${WORKDIR}"
+
 LICENSE="MPL-2.0"
 SLOT="0"
 KEYWORDS="~amd64 ~arm ~arm64"
 
+QA_PREBUILT="usr/bin/talosctl"
+
 src_install() {
-        if use arm; then
-          newbin "${DISTDIR}"/talosctl-armv7-v${PV} talosctl
-        fi
-        if use arm64; then
-          newbin "${DISTDIR}"/talosctl-arm64-v${PV} talosctl
-        fi
-        if use amd64; then
-          newbin "${DISTDIR}"/talosctl-amd64-v${PV} talosctl
-        fi
+	if use arm; then
+		newbin "${DISTDIR}"/talosctl-armv7-v${PV} talosctl
+	fi
+	if use arm64; then
+		newbin "${DISTDIR}"/talosctl-arm64-v${PV} talosctl
+	fi
+	if use amd64; then
+		newbin "${DISTDIR}"/talosctl-amd64-v${PV} talosctl
+	fi
 }


             reply	other threads:[~2024-09-03 10:53 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-03 10:53 David Roman [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-02-03 11:38 [gentoo-commits] repo/proj/guru:master commit in: app-admin/talosctl-bin/ David Roman
2025-02-03 11:38 David Roman
2024-09-01 15:53 David Roman
2024-09-01 15:53 David Roman
2024-09-01 15:53 David Roman
2024-09-01 15:53 David Roman

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=1725309662.4cd726b8fd2eeff1d965c88c02966edf284a232e.davidroman@gentoo \
    --to=davidroman96@gmail.com \
    --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