summaryrefslogtreecommitdiff
path: root/dev-build/bazelisk
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-09-12 12:31:24 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-09-12 12:31:24 +0100
commit3ea54510168a7ed4271b85f7292beca67346bfe9 (patch)
tree560f44ef2b85e5594b847ab20454e58b35ecd7e2 /dev-build/bazelisk
parent65a36438d5b824f80023c282dadc3fcd5736b526 (diff)
gentoo auto-resync : 12:09:2024 - 12:31:23
Diffstat (limited to 'dev-build/bazelisk')
-rw-r--r--dev-build/bazelisk/Manifest3
-rw-r--r--dev-build/bazelisk/bazelisk-1.21.0.ebuild43
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-build/bazelisk/Manifest b/dev-build/bazelisk/Manifest
index 23b61be9972d..47fc96b82087 100644
--- a/dev-build/bazelisk/Manifest
+++ b/dev-build/bazelisk/Manifest
@@ -1,4 +1,7 @@
DIST bazelisk-1.19.0-deps.tar.xz 2414272 BLAKE2B d044bafa94ce8d4fd9bc6dceb76368653c5052ed579be6f6a6fd37c68c821442f86fabcebc88eff118a414bd99e0e9b49dde5321130107da9c3c3563e7cba01b SHA512 57bafd7bb370f49cf2ff90596e25be8672dc4ed4f8466f8a969b49ce6b1bc57d6aff917065ec07bb04c634efb259d8e045213acb04ba1288c6a5f2a441eb2607
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
EBUILD bazelisk-1.20.0.ebuild 867 BLAKE2B 53bf14a72a7617995c14ce0f0998bf961a0dd98822b28f52f106fcdab23eaf4dd4cb2308f6f7690ce0fdd207653372f7fe4e27ce744828ee7363dfadf46c59eb SHA512 b0de0ecbe88224926b5dca2bc68e9ca195bf1aa0ed9209ad667d1929a0647e6adbbf0c95c098279a1b4b155cde992dd2d536f53e6ada5828a24e05cc18479f1b
+EBUILD bazelisk-1.21.0.ebuild 861 BLAKE2B 648f0ace1f5a21af3f10205e4fee5e50d6cda8961284762b96d06abc1180f116c4abbb763d3c253a97484423eaf4096797e30055622632e4757eb6e50881cc67 SHA512 49dfc38e3d64a1b16d8442cfce061ed4fc5e49abab2fbd5a9e8906b5275ec5a2e80c3210485ba32a56dc81ef394286099a7b3fbc88691d070ff3a2f1338248df
MISC metadata.xml 894 BLAKE2B 4346989ace750cbf341d14c28db0814020ceac6f4b9e7786e4a62b38c363cea25b2ddf500fe1c37168aff957d0d0c5ce40491f4a5e5af9ad4e000581d5ef267d SHA512 7cf7302b01589c587325fffb5a9707b532189996342c3a90fc10949409cea29881a8e476c12fa3724c5b98f7296085d4fd25a1c0976b8074f43061157430d032
diff --git a/dev-build/bazelisk/bazelisk-1.21.0.ebuild b/dev-build/bazelisk/bazelisk-1.21.0.ebuild
new file mode 100644
index 000000000000..9b18306d7e1b
--- /dev/null
+++ b/dev-build/bazelisk/bazelisk-1.21.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
+}