diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-11-23 03:02:57 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-11-23 03:02:57 +0000 |
commit | 71dd9d29cdaf7cc0ecdb9ea37d128726a941c630 (patch) | |
tree | 4eccd905f575579fe47abb8a83bbdb44ceb8c929 /dev-build/bazelisk | |
parent | c7a7ec40cf928d8fc6a8241aa208272c008c7b4d (diff) |
gentoo auto-resync : 23:11:2024 - 03:02:56
Diffstat (limited to 'dev-build/bazelisk')
-rw-r--r-- | dev-build/bazelisk/Manifest | 3 | ||||
-rw-r--r-- | dev-build/bazelisk/bazelisk-1.24.0.ebuild | 43 |
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-build/bazelisk/Manifest b/dev-build/bazelisk/Manifest index a01815138963..fd7512ef0c7e 100644 --- a/dev-build/bazelisk/Manifest +++ b/dev-build/bazelisk/Manifest @@ -6,8 +6,11 @@ DIST bazelisk-1.22.1-deps.tar.xz 2499772 BLAKE2B 98d57705870d7bd7b8b9815237a5183 DIST bazelisk-1.22.1.tar.gz 150482 BLAKE2B e96a36886dfbade7b4611c7f9932997c3c37059bc67f69aeeccbf4db470735be31edd836e9833d40cdea02370f94b56a30437f6f5def963fc2962f26ff4f3c37 SHA512 37e52ff5e2ff9cd467a0794fc8febed87a0f20063f3f74459b7e7296fcc6543eeabad370b4cc8f59eeada32a978edaeee4409c5c7c3c51b803774af72fae5068 DIST bazelisk-1.23.0-deps.tar.xz 2499540 BLAKE2B 14d4b11348986a669b9b6ef1dabd14b778b5531eaaa4d6e6f18f7005d7c54b0a0ed1cc252cf9f6923dbf8103f0b555d408a8cc4e924bbb4f7be03602afde8bd2 SHA512 ad74e4333b0019676ed0b3017e0ee8ccd1e7893ad772f8a04c117cb62f7140d625ab08a0d2f1f909ad71ed27e0e0ecbe459a35de76dfde7337fee7257f63d5d1 DIST bazelisk-1.23.0.tar.gz 150671 BLAKE2B 4328290d938c6af7b8eb27cc2555d7544eb8c06722f477af077150b20aac986830d766f87ce261d18474cfff14a95f014f21d4a19a6614def49bc92a1b52da29 SHA512 ac93598553d16651a6ab83dcbbfa15a870ba7cfbf99ae10ef9e3bff8038b121f84bdd765680c44f7d97e892f01cdf774a13ad3103f65303b26f490394eb1ce7e +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 EBUILD bazelisk-1.21.0.ebuild 859 BLAKE2B 8e5d78870093804cce78908c6cc17559892033262846b96cf2f3237bc587060f2cbe97de52fa09d0f296864be5fe4fbba890ea86e4085e0996de16d22b1e731e SHA512 d562a6b3af001eb377ca01141d953f757657b8b517eb7e78a1c557368208c9ed0b2921daf03c29bc8e39a8a4efea7fe1a6b4930ae4a697f87f9f8583ac8e8d2a EBUILD bazelisk-1.22.0.ebuild 861 BLAKE2B 648f0ace1f5a21af3f10205e4fee5e50d6cda8961284762b96d06abc1180f116c4abbb763d3c253a97484423eaf4096797e30055622632e4757eb6e50881cc67 SHA512 49dfc38e3d64a1b16d8442cfce061ed4fc5e49abab2fbd5a9e8906b5275ec5a2e80c3210485ba32a56dc81ef394286099a7b3fbc88691d070ff3a2f1338248df EBUILD bazelisk-1.22.1.ebuild 861 BLAKE2B 648f0ace1f5a21af3f10205e4fee5e50d6cda8961284762b96d06abc1180f116c4abbb763d3c253a97484423eaf4096797e30055622632e4757eb6e50881cc67 SHA512 49dfc38e3d64a1b16d8442cfce061ed4fc5e49abab2fbd5a9e8906b5275ec5a2e80c3210485ba32a56dc81ef394286099a7b3fbc88691d070ff3a2f1338248df EBUILD bazelisk-1.23.0.ebuild 861 BLAKE2B 648f0ace1f5a21af3f10205e4fee5e50d6cda8961284762b96d06abc1180f116c4abbb763d3c253a97484423eaf4096797e30055622632e4757eb6e50881cc67 SHA512 49dfc38e3d64a1b16d8442cfce061ed4fc5e49abab2fbd5a9e8906b5275ec5a2e80c3210485ba32a56dc81ef394286099a7b3fbc88691d070ff3a2f1338248df +EBUILD bazelisk-1.24.0.ebuild 861 BLAKE2B 648f0ace1f5a21af3f10205e4fee5e50d6cda8961284762b96d06abc1180f116c4abbb763d3c253a97484423eaf4096797e30055622632e4757eb6e50881cc67 SHA512 49dfc38e3d64a1b16d8442cfce061ed4fc5e49abab2fbd5a9e8906b5275ec5a2e80c3210485ba32a56dc81ef394286099a7b3fbc88691d070ff3a2f1338248df MISC metadata.xml 894 BLAKE2B 4346989ace750cbf341d14c28db0814020ceac6f4b9e7786e4a62b38c363cea25b2ddf500fe1c37168aff957d0d0c5ce40491f4a5e5af9ad4e000581d5ef267d SHA512 7cf7302b01589c587325fffb5a9707b532189996342c3a90fc10949409cea29881a8e476c12fa3724c5b98f7296085d4fd25a1c0976b8074f43061157430d032 diff --git a/dev-build/bazelisk/bazelisk-1.24.0.ebuild b/dev-build/bazelisk/bazelisk-1.24.0.ebuild new file mode 100644 index 000000000000..9b18306d7e1b --- /dev/null +++ b/dev-build/bazelisk/bazelisk-1.24.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 +} |