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: Fri, 13 Dec 2024 18:02:57 +0000 (UTC)	[thread overview]
Message-ID: <1734112579.7f485dcf2b30b2dfd2c95be1ba7cda8fd4b6cbe5.xgqt@gentoo> (raw)

commit:     7f485dcf2b30b2dfd2c95be1ba7cda8fd4b6cbe5
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 13 16:40:38 2024 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Fri Dec 13 17:56:19 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f485dcf

dev-build/bazelisk: bump to 1.25.0

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

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

diff --git a/dev-build/bazelisk/Manifest b/dev-build/bazelisk/Manifest
index 815c5e38bb65..3765d72d057b 100644
--- a/dev-build/bazelisk/Manifest
+++ b/dev-build/bazelisk/Manifest
@@ -5,3 +5,5 @@ DIST bazelisk-1.23.0.tar.gz 150671 BLAKE2B 4328290d938c6af7b8eb27cc2555d7544eb8c
 DIST bazelisk-1.24.0-deps.tar.xz 2519872 BLAKE2B fa8753fe358a3a2f788440a9097d6f64b620b64a8bec4383a05a009ba02c404ee7476c012c34af88e36fd5fa3a7d4d4f324ead20b9bc1079c96d894e3dc78857 SHA512 86a58d0c49114aab7c5605b1b0b7995bb27b52b19276459a2591e05195cf11f18ae37c43187583925c044972af5bf155d5f89624ff3b0fe034423fdc7c103507
 DIST bazelisk-1.24.0.tar.gz 150451 BLAKE2B d8e204c6d00d25f9188cdf8f5891eff279f76d17eb2604d800fa1bcf18896bed9980067887ae0ed42c931a30ce1a36fc0c3139753df4c1a76b18d995dc944c1f SHA512 929a80a7dcbcfea9aa2f38c3bb168c2418ade8964d4525ec026ad628448c6d2ef8d416c2d3b815f233713bef6b799ee0a6bf5a3a68f36f23499e35cfb6565678
 DIST bazelisk-1.24.1.tar.gz 151137 BLAKE2B 1b864bbe637370b9acafd6c904afacf617af2e30a31f7df8df1fa71065f4a7034c63f195e0714e41e7db9a8a963328d6e2084563bdce3846469979208a9ce9bc SHA512 e8e122c18d8eb517ac5a99b77619dd7281bce3fc4a55d03a2339642a44cc2fbf932cf86114d515cc3ceffd51063a9ea416786a9293c6497c3c1b747028bd7208
+DIST bazelisk-1.25.0-deps.tar.xz 2552304 BLAKE2B ff57574873f8a47c641152ed59412c61b6475c0a54c2e002dc340a6f6b3f36639c6696b73cbb37db8669d8bfa5b036ea6528193bb0fed494b41cd11435449f23 SHA512 87667114304b8a8c9de31974d3b86a344410af556e7439bbe6b0ec5890dc962f0d03f7680fa809855235a03ea4371cb789d2107e8e2ff4ca2d23e58f0ff883d1
+DIST bazelisk-1.25.0.tar.gz 153421 BLAKE2B 3f81c26064cd97704f1156bcf46fab1e1b5c9645fb1647717618ae7c96689609ba7c1064060e36e4157b682706d94647eaa7a0ca4c525c0c2a18981355064b21 SHA512 d5bad8bf5ed27df673e31db7d34fc739f8a689833673c3b5a07f22a212a6c5a3ace901155b9da7a276b6845ba7aaa4ea1997f79b2551fb9af2e9176bd002d566

diff --git a/dev-build/bazelisk/bazelisk-1.25.0.ebuild b/dev-build/bazelisk/bazelisk-1.25.0.ebuild
new file mode 100644
index 000000000000..74b65b7b80d1
--- /dev/null
+++ b/dev-build/bazelisk/bazelisk-1.25.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/${PN}-1.25.0-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-12-13 18:03 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-13 18:02 Maciej Barć [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-01-22 17:34 [gentoo-commits] repo/gentoo:master commit in: dev-build/bazelisk/ 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-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-30 18:22 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=1734112579.7f485dcf2b30b2dfd2c95be1ba7cda8fd4b6cbe5.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