<pre style='margin:0'>
Herby Gillot (herbygillot) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/9bb9763536c11d0af936ed0b5df68d28b8056b7a">https://github.com/macports/macports-ports/commit/9bb9763536c11d0af936ed0b5df68d28b8056b7a</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 9bb9763536c bazelisk: update to 1.16.0
</span>9bb9763536c is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 9bb9763536c11d0af936ed0b5df68d28b8056b7a
</span>Author: Herby Gillot <herby.gillot@gmail.com>
AuthorDate: Thu Feb 2 17:13:52 2023 -0500
<span style='display:block; white-space:pre;color:#404040;'> bazelisk: update to 1.16.0
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> - modify build.sh to not build every OS/arch release target; only build for
</span><span style='display:block; white-space:pre;color:#404040;'> the current platform
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> - add @herbygillot as co-maintainer
</span>---
devel/bazelisk/Portfile | 14 ++++---
devel/bazelisk/files/patch-build.sh.diff | 43 ++++++++++++++++++++++
.../patch-clean-and-stop-bazel-after-build.diff | 19 ----------
3 files changed, 51 insertions(+), 25 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/bazelisk/Portfile b/devel/bazelisk/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 36a8df8ce9f..cb11ea38c56 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/bazelisk/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/bazelisk/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -3,12 +3,14 @@
</span> PortSystem 1.0
PortGroup golang 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-go.setup github.com/bazelbuild/bazelisk 1.15.0 v
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+go.setup github.com/bazelbuild/bazelisk 1.16.0 v
</span> github.tarball_from archive
revision 0
categories devel
<span style='display:block; white-space:pre;background:#ffe0e0;'>-maintainers {@0xIDANT danieltrautmann.com:me} openmaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers {@0xIDANT danieltrautmann.com:me} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {gmail.com:herby.gillot @herbygillot} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ openmaintainer
</span> license Apache-2
description A user-friendly launcher for Bazel
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -20,9 +22,9 @@ long_description Bazelisk is a wrapper for Bazel written in Go. \
</span> all command-line arguments to the real Bazel binary. You \
can call it just like you would call Bazel.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 6af49e97b09bf304475ede392ec78c40388492b6 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 0105d0e77ffda5a54d908e8781c5ed5551cd2810291c7b7071308bf0b387e4c1 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 157359
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 aa2e5da6b6c6fdcfe8c34eaaf7afcea47a906a70 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 a185b9b9c31c48e211c64a10eb7693c208cf99bc21f3bdb4082a7e485558fd05 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 158024
</span>
conflicts bazel
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -31,7 +33,7 @@ build.env-append BAZELISK_VERSION=v${version}
</span> build.env-delete GO111MODULE=off GOPROXY=off
patchfiles patch-bazelisk-version.diff \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- patch-clean-and-stop-bazel-after-build.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-build.sh.diff
</span>
destroot {
xinstall -m 0755 \
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/bazelisk/files/patch-build.sh.diff b/devel/bazelisk/files/patch-build.sh.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..6726ca32ef5
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/bazelisk/files/patch-build.sh.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,43 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- ./build.sh 2023-02-02 16:49:28.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ ./build.sh 2023-02-02 16:51:48.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -20,22 +20,14 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rm -rf bazelisk bin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ mkdir bin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++TARGET="bazelisk-${GOOS}-${GOARCH}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ go build
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-./bazelisk build --config=release \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- //:bazelisk-darwin-amd64 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- //:bazelisk-darwin-arm64 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- //:bazelisk-darwin-universal \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- //:bazelisk-linux-amd64 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- //:bazelisk-linux-arm64 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- //:bazelisk-windows-amd64
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++./bazelisk build --config=release "//:${TARGET}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-cp bazel-out/*-opt-*/bin/bazelisk-darwin_amd64 bin/bazelisk-darwin-amd64
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-cp bazel-out/*-opt-*/bin/bazelisk-darwin_arm64 bin/bazelisk-darwin-arm64
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-cp bazel-out/*-opt/bin/bazelisk-darwin_universal bin/bazelisk-darwin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-cp bazel-out/*-opt-*/bin/bazelisk-linux_amd64 bin/bazelisk-linux-amd64
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-cp bazel-out/*-opt-*/bin/bazelisk-linux_arm64 bin/bazelisk-linux-arm64
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-cp bazel-out/*-opt-*/bin/bazelisk-windows_amd64.exe bin/bazelisk-windows-amd64.exe
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++cp bazel-out/*-opt/bin/bazelisk-${GOOS}_${GOARCH} bin/${TARGET}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++./bazelisk clean --expunge
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rm -f bazelisk
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ### Build release artifacts using `go build`.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -54,9 +46,11 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo "== Bazelisk version output =="
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo "Before releasing, make sure that this is the correct version string:"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-"bin/bazelisk-$(uname -s | tr [:upper:] [:lower:])-amd64" version | grep "Bazelisk version"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++"bin/${TARGET}" version | grep "Bazelisk version"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++"bin/${TARGET}" clean --expunge
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Non-googlers: you should run this script with NPM_REGISTRY=https://registry.npmjs.org
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ readonly REGISTRY=${NPM_REGISTRY:-https://wombat-dressing-room.appspot.com}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo "== NPM releases =="
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/bazelisk/files/patch-clean-and-stop-bazel-after-build.diff b/devel/bazelisk/files/patch-clean-and-stop-bazel-after-build.diff
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 902cc15fe1a..00000000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/bazelisk/files/patch-clean-and-stop-bazel-after-build.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,19 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- build.sh.orig 2022-02-17 13:27:30.000000000 +0100
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ build.sh 2022-02-27 15:07:28.000000000 +0100
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -36,6 +36,7 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- cp bazel-out/*-opt-*/bin/bazelisk-linux_amd64 bin/bazelisk-linux-amd64
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- cp bazel-out/*-opt-*/bin/bazelisk-linux_arm64 bin/bazelisk-linux-arm64
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- cp bazel-out/*-opt-*/bin/bazelisk-windows_amd64.exe bin/bazelisk-windows-amd64.exe
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+./bazelisk clean --expunge
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- rm -f bazelisk
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ### Build release artifacts using `go build`.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -57,6 +58,8 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- "bin/bazelisk-$(uname -s | tr [:upper:] [:lower:])-amd64" version | grep "Bazelisk version"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- echo
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+"bin/bazelisk-$(uname -s | tr [:upper:] [:lower:])-amd64" clean --expunge
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Non-googlers: you should run this script with NPM_REGISTRY=https://registry.npmjs.org
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- readonly REGISTRY=${NPM_REGISTRY:-https://wombat-dressing-room.appspot.com}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- echo "== NPM releases =="
</span></pre><pre style='margin:0'>
</pre>