commit:     8cc144ff5e278b338f2d9027ef6a5b5debe04a6f
Author:     Wolfgang E. Sanyer <ezzieyguywuf <AT> gmail <DOT> com>
AuthorDate: Sun Jul 24 00:16:51 2022 +0000
Commit:     Wolfgang E. Sanyer <ezzieyguywuf <AT> gmail <DOT> com>
CommitDate: Sun Jul 24 00:20:29 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8cc144ff

dev-util/bazelisk: new package, recommended launcher for Bazel

Signed-off-by: Wolfgang E. Sanyer <ezzieyguywuf <AT> gmail.com>

 dev-util/bazelisk/Manifest               |  2 ++
 dev-util/bazelisk/bazelisk-1.12.0.ebuild | 23 +++++++++++++++++++++++
 dev-util/bazelisk/metadata.xml           |  8 ++++++++
 3 files changed, 33 insertions(+)

diff --git a/dev-util/bazelisk/Manifest b/dev-util/bazelisk/Manifest
new file mode 100644
index 000000000..b34186792
--- /dev/null
+++ b/dev-util/bazelisk/Manifest
@@ -0,0 +1,2 @@
+DIST bazelisk-1.12.0-deps-r1.tar.gz 1852311 BLAKE2B 
0248bb16260767a3705ccc574bd7ffb5ca3f74a8351954600abf76073f1583c8547859aebb461db34a524eaa35e80a8f1d9cc9037e9c12142e47e76ac2d29162
 SHA512 
c2b1d55b221c9366559b1c61b2aa2618433c93b177d1b4c9b705103711693d1b08dd54caff5293500a642abad4d9509f10443005f384fd3b3d4086e44577b66c
+DIST bazelisk-1.12.0.tar.gz 155506 BLAKE2B 
7e5c3b6682578af275929336c9cec4828d5288c8762db92517ea1024f54bfdae5813cad63438fc049bf1265a263e122ef6fdb3d411fb12efb1e77d4478f8de06
 SHA512 
b5f6954c9bf2539dae6c30fee0ff84f2b6f16c8d1fed7fae7d282c3dd61de21f4945270aa1b9e34adf1b15b9e171f1a579eb8421074154403dbd5e93f724b3a5

diff --git a/dev-util/bazelisk/bazelisk-1.12.0.ebuild 
b/dev-util/bazelisk/bazelisk-1.12.0.ebuild
new file mode 100644
index 000000000..9b38037a0
--- /dev/null
+++ b/dev-util/bazelisk/bazelisk-1.12.0.ebuild
@@ -0,0 +1,23 @@
+# Copyright 2022 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"
+HOMEPAGE="https://bazel.build/install/bazelisk";
+SRC_URI="https://github.com/bazelbuild/${PN}/archive/refs/tags/v${PV}.tar.gz 
-> ${P}.tar.gz"
+SRC_URI+=" 
https://github.com/ezzieyguywuf/go-ebuild-dependencies/blob/main/deps/${P}-deps-r1.tar.gz?raw=true
 -> ${P}-deps-r1.tar.gz"
+
+LICENSE="MIT MPL-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+src_compile() {
+       go build || die
+}
+
+src_install() {
+       dobin ${PN}
+}

diff --git a/dev-util/bazelisk/metadata.xml b/dev-util/bazelisk/metadata.xml
new file mode 100644
index 000000000..132632716
--- /dev/null
+++ b/dev-util/bazelisk/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="person">
+               <email>[email protected]</email>
+               <name>Wolfgang E. Sanyer</name>
+       </maintainer>
+</pkgmetadata>

Reply via email to