diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-10-24 04:04:24 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-10-24 04:04:24 +0100 |
commit | e7daa1f959ba2c720f36a6984f588098e68b15cd (patch) | |
tree | 42ed099f2514ebda2681a4de13af60727c8a9fab /dev-build/bazelisk | |
parent | fd93fe10d9e6c855fed8e1524b2d2d64d2085570 (diff) |
gentoo auto-resync : 24:10:2024 - 04:04:24
Diffstat (limited to 'dev-build/bazelisk')
-rw-r--r-- | dev-build/bazelisk/Manifest | 3 | ||||
-rw-r--r-- | dev-build/bazelisk/bazelisk-1.22.1.ebuild | 43 |
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-build/bazelisk/Manifest b/dev-build/bazelisk/Manifest index 0c23f1389c30..f61a0d4fa211 100644 --- a/dev-build/bazelisk/Manifest +++ b/dev-build/bazelisk/Manifest @@ -4,7 +4,10 @@ DIST bazelisk-1.21.0-deps.tar.xz 2484860 BLAKE2B 72ac4415fa8123816444a6514d87f5b 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 +DIST bazelisk-1.22.1-deps.tar.xz 2499772 BLAKE2B 98d57705870d7bd7b8b9815237a51834e8ee63504d86478802ecd73c9ba6b15567cc44b351a75138fb3bc4c426742396918403f3f04b8b755b08a2b64335a1a8 SHA512 23d903a9d3016d82efcad7a6be0f9c807a4702092a2966df82d8cbabc92449123208b3d659aeb2f55403591d1b10a080d18aeb0d0b02405b3a6f889cf44b0790 +DIST bazelisk-1.22.1.tar.gz 150482 BLAKE2B e96a36886dfbade7b4611c7f9932997c3c37059bc67f69aeeccbf4db470735be31edd836e9833d40cdea02370f94b56a30437f6f5def963fc2962f26ff4f3c37 SHA512 37e52ff5e2ff9cd467a0794fc8febed87a0f20063f3f74459b7e7296fcc6543eeabad370b4cc8f59eeada32a978edaeee4409c5c7c3c51b803774af72fae5068 EBUILD bazelisk-1.20.0.ebuild 867 BLAKE2B 53bf14a72a7617995c14ce0f0998bf961a0dd98822b28f52f106fcdab23eaf4dd4cb2308f6f7690ce0fdd207653372f7fe4e27ce744828ee7363dfadf46c59eb SHA512 b0de0ecbe88224926b5dca2bc68e9ca195bf1aa0ed9209ad667d1929a0647e6adbbf0c95c098279a1b4b155cde992dd2d536f53e6ada5828a24e05cc18479f1b EBUILD bazelisk-1.21.0.ebuild 861 BLAKE2B 648f0ace1f5a21af3f10205e4fee5e50d6cda8961284762b96d06abc1180f116c4abbb763d3c253a97484423eaf4096797e30055622632e4757eb6e50881cc67 SHA512 49dfc38e3d64a1b16d8442cfce061ed4fc5e49abab2fbd5a9e8906b5275ec5a2e80c3210485ba32a56dc81ef394286099a7b3fbc88691d070ff3a2f1338248df EBUILD bazelisk-1.22.0.ebuild 861 BLAKE2B 648f0ace1f5a21af3f10205e4fee5e50d6cda8961284762b96d06abc1180f116c4abbb763d3c253a97484423eaf4096797e30055622632e4757eb6e50881cc67 SHA512 49dfc38e3d64a1b16d8442cfce061ed4fc5e49abab2fbd5a9e8906b5275ec5a2e80c3210485ba32a56dc81ef394286099a7b3fbc88691d070ff3a2f1338248df +EBUILD bazelisk-1.22.1.ebuild 861 BLAKE2B 648f0ace1f5a21af3f10205e4fee5e50d6cda8961284762b96d06abc1180f116c4abbb763d3c253a97484423eaf4096797e30055622632e4757eb6e50881cc67 SHA512 49dfc38e3d64a1b16d8442cfce061ed4fc5e49abab2fbd5a9e8906b5275ec5a2e80c3210485ba32a56dc81ef394286099a7b3fbc88691d070ff3a2f1338248df MISC metadata.xml 894 BLAKE2B 4346989ace750cbf341d14c28db0814020ceac6f4b9e7786e4a62b38c363cea25b2ddf500fe1c37168aff957d0d0c5ce40491f4a5e5af9ad4e000581d5ef267d SHA512 7cf7302b01589c587325fffb5a9707b532189996342c3a90fc10949409cea29881a8e476c12fa3724c5b98f7296085d4fd25a1c0976b8074f43061157430d032 diff --git a/dev-build/bazelisk/bazelisk-1.22.1.ebuild b/dev-build/bazelisk/bazelisk-1.22.1.ebuild new file mode 100644 index 000000000000..9b18306d7e1b --- /dev/null +++ b/dev-build/bazelisk/bazelisk-1.22.1.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 +} |