dev-build/bazelisk: bump to 1.30.0

Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
Maciej Barć
2026-10-22 11:17:33 +02:00
parent 7c7418d429
commit 176c8e3fba
2 changed files with 48 additions and 0 deletions
+1
View File
@@ -1,2 +1,3 @@
DIST bazelisk-1.29.0-deps.tar.xz 5921060 BLAKE2B 9df46219f9a632e97bd6df3ea0d82e86f34b1d3871b475a45d2248fb263f98e72d2540ab4ae73db5a510fc4b7f4939081b2b836e17a5958976f39f27733da8dd SHA512 047695e53cc4ace31a0531957acc72f9d077f0be2a663f3a2ed313a90068044eda6df3c5007cf00576832becf62f8aa3cffad8ef75743a637b7367f286a1e73b
DIST bazelisk-1.29.0.gh.tar.gz 167799 BLAKE2B 8fc513c6bd834969b0a30c2728a365605f2eac5a6cefc382e64364353fd1f42f52e018484790859623ff0e5c1521f2e29f0809ab4ec17d35ed3cf34b72fa7e17 SHA512 9335d062c46973265c87b6d4f02b05d7f2e69df2bcb109abe62bf611ed40c1ddd860405d8368ae110f413082cc1eac7210997b94002ecff704885f7803dfadae
DIST bazelisk-1.30.0.gh.tar.gz 168948 BLAKE2B e420ac563883d8b9b87d79200ec7d8dbfac3adfbce441981ecfe0bbd620c2acc0f170abbfc1a33e4770a02d98743151e121df0a1f01254265695641c34327e55 SHA512 642ff721f2d2e26c6316546099bf8e270922a14bbd5d7cd695bfb8341699727f55bd25224cc974c0b3b36ab12dd3b44c389b70f75816ed56bf69c050c8933cd7
+47
View File
@@ -0,0 +1,47 @@
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=9
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}.gh.tar.gz
https://dev.gentoo.org/~xgqt/distfiles/deps/${PN}-1.29.0-deps.tar.xz
"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
IUSE="+bazel-symlink"
BDEPEND="
>=dev-lang/go-1.27.3
"
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}"
einstalldocs
if use bazel-symlink ; then
dosym -r /usr/bin/bazelisk /usr/bin/bazel
fi
}