public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Maciej Barć" <xgqt@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-build/bazelisk/
Date: Mon, 30 Sep 2024 18:22:57 +0000 (UTC)	[thread overview]
Message-ID: <1727720573.d9c00207b11e6b4d7c87377cad31a5a45017e9c7.xgqt@gentoo> (raw)

commit:     d9c00207b11e6b4d7c87377cad31a5a45017e9c7
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 30 17:37:46 2024 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Mon Sep 30 18:22:53 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9c00207

dev-build/bazelisk: bump to 1.22.0

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 dev-build/bazelisk/Manifest               |  2 ++
 dev-build/bazelisk/bazelisk-1.22.0.ebuild | 43 +++++++++++++++++++++++++++++++
 2 files changed, 45 insertions(+)

diff --git a/dev-build/bazelisk/Manifest b/dev-build/bazelisk/Manifest
index 59c0e44a4779..c051415bcaef 100644
--- a/dev-build/bazelisk/Manifest
+++ b/dev-build/bazelisk/Manifest
@@ -2,3 +2,5 @@ DIST bazelisk-1.19.0-deps.tar.xz 2414272 BLAKE2B d044bafa94ce8d4fd9bc6dceb763686
 DIST bazelisk-1.20.0.tar.gz 165942 BLAKE2B 2ff0c56bdbd9b8fe6a2fd35c0d2d733b3fa9be706875c2c466e3af22e06674ac23e92b6ee23c8c5150db449ae38f2f9ad313cd0e60a50446182b88f12333549c SHA512 05199786b007572544713653a1cdffb66e8db5edde4bbdb5c6c2e75d7436bfbb26311f1dca8ee107dd4088d8354fc81a6127977c998bdfff9bfddbd7cf7cbbb6
 DIST bazelisk-1.21.0-deps.tar.xz 2484860 BLAKE2B 72ac4415fa8123816444a6514d87f5bc3cf40dcce69e4e75e248b785c0da840a86eb86a99ac46103259affe8a0d055823834dcb225d553e1a2f91d14b6363d1e SHA512 b3fdb272889deeb043163c5c0a032d99177a3baff6044d1a0c80db2870f67324fa75b6a87c3377afd528312aedcefb22109a8899f3368473cfd30f41ba339574
 DIST bazelisk-1.21.0.tar.gz 150298 BLAKE2B 17d9647cf27e4a6127bf96840aba0d80fb935cb82cc4b9f95e11fdb7a08ba0e598b56401adff36af19562e10a43cf3c02a6e7c43e69bf2847c0f6459a03ee7e7 SHA512 a56106d11689366171e62fc7a5c73ac9a3c5b8a2158217845ba59b1152485f9eb5c786a303f2ae41e667e2fcfa7fab50e237311c07a5d5e791390dfa4d08f326
+DIST bazelisk-1.22.0-deps.tar.xz 2495160 BLAKE2B 7f297c0e4d16c72981ff611bfd37f996d23f6807011fe4e32174cae2bd4decc7cd26ada0c442b0607abfd6a2bc5f451f3b2c5a2f07af457e2ed94b0f7ce2e01f SHA512 9c79f885cc21567d60e238c3a68d54a8c1a16488f89a1b200a0eb945b1ab911dbd16d157f3f07476abccb29a7b27289b2257132c1f63d8844556d6434cb8b656
+DIST bazelisk-1.22.0.tar.gz 150380 BLAKE2B e96f0e125af18e72674804c2f9c0b039a33cab2e35135128e71ca70faf3e498bcef3b8e1bf1df4d44d3cdc9ca7f8cf90bd72075a288f608ac622450a1cfb02ef SHA512 436394751b00a57ee44eb8d4a13a47b2365a1abebe28da9529b42b71043805b18b5f2ce1f08e23b2472f2d9a173d85336c539231e768e594ac9226d8f9e88a31

diff --git a/dev-build/bazelisk/bazelisk-1.22.0.ebuild b/dev-build/bazelisk/bazelisk-1.22.0.ebuild
new file mode 100644
index 000000000000..9b18306d7e1b
--- /dev/null
+++ b/dev-build/bazelisk/bazelisk-1.22.0.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit go-module
+
+DESCRIPTION="A user-friendly launcher for Bazel written in Go"
+HOMEPAGE="https://github.com/bazelbuild/bazelisk/"
+SRC_URI="
+	https://github.com/bazelbuild/${PN}/archive/refs/tags/v${PV}.tar.gz
+		-> ${P}.tar.gz
+	https://dev.gentoo.org/~xgqt/distfiles/deps/${P}-deps.tar.xz
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="+bazel-symlink"
+
+DOCS=( CONTRIBUTING.md README.md )
+
+src_compile() {
+	mkdir -p bin || die
+
+	local go_ldflags="-X main.BazeliskVersion=${PV}"
+	local -a go_buildargs=(
+		-ldflags "${go_ldflags}"
+		-o bin
+	)
+	ego build "${go_buildargs[@]}"
+}
+
+src_install() {
+	exeinto /usr/bin
+	doexe "bin/${PN}"
+
+	if use bazel-symlink ; then
+		dosym -r /usr/bin/bazelisk /usr/bin/bazel
+	fi
+
+	einstalldocs
+}


             reply	other threads:[~2024-09-30 18:23 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-30 18:22 Maciej Barć [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-07 19:34 [gentoo-commits] repo/gentoo:master commit in: dev-build/bazelisk/ Maciej Barć
2025-01-22 17:34 Arthur Zamarin
2025-01-22 11:45 Arthur Zamarin
2025-01-01 21:26 Maciej Barć
2025-01-01 21:26 Maciej Barć
2025-01-01 21:26 Maciej Barć
2024-12-28 17:38 Sam James
2024-12-28 15:59 Sam James
2024-12-14 19:30 Arthur Zamarin
2024-12-13 20:00 Arthur Zamarin
2024-12-13 18:02 Maciej Barć
2024-12-13 18:02 Maciej Barć
2024-11-28  0:09 Jakov Smolić
2024-11-27 19:42 Sam James
2024-11-24 15:47 Jakov Smolić
2024-11-23 16:02 Michał Górny
2024-11-22 15:50 Maciej Barć
2024-11-08 19:34 Maciej Barć
2024-11-04  0:19 Maciej Barć
2024-10-30 17:15 Arthur Zamarin
2024-10-30 15:14 Sam James
2024-10-23 15:44 Maciej Barć
2024-09-11 23:30 Maciej Barć
2024-08-02 23:19 Sam James
2024-06-22 19:05 Maciej Barć
2024-05-13 17:59 Maciej Barć
2024-03-04 21:58 Maciej Barć
2024-03-04  8:57 Sam James
2024-01-19 23:46 Maciej Barć

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=1727720573.d9c00207b11e6b4d7c87377cad31a5a45017e9c7.xgqt@gentoo \
    --to=xgqt@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