From: "Maciej Barć" <xgqt@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-build/bazelisk/
Date: Mon, 4 Mar 2024 21:58:13 +0000 (UTC) [thread overview]
Message-ID: <1709589404.6e4fb2b43339fa5df77a346fb71235b30844ab58.xgqt@gentoo> (raw)
commit: 6e4fb2b43339fa5df77a346fb71235b30844ab58
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 4 17:08:49 2024 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Mon Mar 4 21:56:44 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e4fb2b4
dev-build/bazelisk: support bazel-symlink
Closes: https://bugs.gentoo.org/926104
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
.../bazelisk/{bazelisk-1.19.0.ebuild => bazelisk-1.19.0-r1.ebuild} | 5 +++++
dev-build/bazelisk/metadata.xml | 7 +++++--
2 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/dev-build/bazelisk/bazelisk-1.19.0.ebuild b/dev-build/bazelisk/bazelisk-1.19.0-r1.ebuild
similarity index 88%
rename from dev-build/bazelisk/bazelisk-1.19.0.ebuild
rename to dev-build/bazelisk/bazelisk-1.19.0-r1.ebuild
index 4cea472f3598..9b18306d7e1b 100644
--- a/dev-build/bazelisk/bazelisk-1.19.0.ebuild
+++ b/dev-build/bazelisk/bazelisk-1.19.0-r1.ebuild
@@ -16,6 +16,7 @@ SRC_URI="
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="+bazel-symlink"
DOCS=( CONTRIBUTING.md README.md )
@@ -34,5 +35,9 @@ src_install() {
exeinto /usr/bin
doexe "bin/${PN}"
+ if use bazel-symlink ; then
+ dosym -r /usr/bin/bazelisk /usr/bin/bazel
+ fi
+
einstalldocs
}
diff --git a/dev-build/bazelisk/metadata.xml b/dev-build/bazelisk/metadata.xml
index 032d00abaf95..de81e5f355e3 100644
--- a/dev-build/bazelisk/metadata.xml
+++ b/dev-build/bazelisk/metadata.xml
@@ -7,12 +7,15 @@
<name>Maciej Barć</name>
</maintainer>
<longdescription>
- Bazelisk is a wrapper for Bazel written in Go. It automatically picks
- a good version of Bazel given your current working directory, downloads it
+ Bazelisk is a wrapper for Bazel written in Go. It automatically picks a
+ good version of Bazel given your current working directory, downloads it
from the official server (if required) and then transparently passes
through all command-line arguments to the real Bazel binary. You can call
it just like you would call Bazel.
</longdescription>
+ <use>
+ <flag name="bazel-symlink">Install bazel symlink that points to bazelisk</flag>
+ </use>
<upstream>
<bugs-to>https://github.com/bazelbuild/bazelisk/issues/</bugs-to>
<remote-id type="github">bazelbuild/bazelisk</remote-id>
next reply other threads:[~2024-03-04 21:58 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-04 21:58 Maciej Barć [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-03-07 19:34 [gentoo-commits] repo/gentoo:master commit in: dev-build/bazelisk/ Maciej Barć
2025-01-22 17:34 Arthur Zamarin
2025-01-22 11:45 Arthur Zamarin
2025-01-01 21:26 Maciej Barć
2025-01-01 21:26 Maciej Barć
2025-01-01 21:26 Maciej Barć
2024-12-28 17:38 Sam James
2024-12-28 15:59 Sam James
2024-12-14 19:30 Arthur Zamarin
2024-12-13 20:00 Arthur Zamarin
2024-12-13 18:02 Maciej Barć
2024-12-13 18:02 Maciej Barć
2024-11-28 0:09 Jakov Smolić
2024-11-27 19:42 Sam James
2024-11-24 15:47 Jakov Smolić
2024-11-23 16:02 Michał Górny
2024-11-22 15:50 Maciej Barć
2024-11-08 19:34 Maciej Barć
2024-11-04 0:19 Maciej Barć
2024-10-30 17:15 Arthur Zamarin
2024-10-30 15:14 Sam James
2024-10-23 15:44 Maciej Barć
2024-09-30 18:22 Maciej Barć
2024-09-11 23:30 Maciej Barć
2024-08-02 23:19 Sam James
2024-06-22 19:05 Maciej Barć
2024-05-13 17:59 Maciej Barć
2024-03-04 8:57 Sam James
2024-01-19 23:46 Maciej Barć
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1709589404.6e4fb2b43339fa5df77a346fb71235b30844ab58.xgqt@gentoo \
--to=xgqt@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox