dev-build/bazelisk: bump to 1.27.0

Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
Maciej Barć
2025-10-19 13:30:17 +02:00
parent 39896a2c49
commit 3c6183e762
2 changed files with 45 additions and 0 deletions

View File

@@ -1,2 +1,4 @@
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
DIST bazelisk-1.27.0-deps.tar.xz 2562664 BLAKE2B 405d7edfd322365762940c6fdcea891c56cab719a92b69483da6b9a38a0e2c914fdc0cfb1b838dfe7cf21896977cb85978b86eb83ee80debc6dd5c3b5f67bfc6 SHA512 0442f27536016179c175c5210504b30c7864f135531d2f670c7201d79360648391d8dccf0f16577e37785c926f9d3193482d82dc9915b49765d2d698e2718fb2
DIST bazelisk-1.27.0.gh.tar.gz 158174 BLAKE2B 82770cd3fa3c1aebfc9eab3ce0cc705be36b50d7968855f554b11d7c97a1188eb2e88d00dbd9aa8e06019b19176ca4ad934971c31a7908a947ce9f1712a9f3b3 SHA512 f043ce5eac2fcc56b041f9c287336d183c7b0ec1891eafb9cf5342c35fd3aa598a387295e52957b1377f22c35d7a3a4948e1d1616e421d02bed74c121aa4f59e

View File

@@ -0,0 +1,43 @@
# Copyright 1999-2025 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}.gh.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
}