devel/bazel: update to 4.2.1

ChangeLog: https://github.com/bazelbuild/bazel/releases/tag/4.2.1

While here, pet linters.

PR:	258180
Reported by:	aehlig@linta.de (maintainer)
This commit is contained in:
Klaus Aehlig 2021-08-31 09:14:03 +02:00 committed by Fernando Apesteguía
parent b6cd87641b
commit d0ce5eeb95
2 changed files with 17 additions and 17 deletions

View file

@ -1,7 +1,7 @@
# Created by: Klaus Aehlig <aehlig@linta.de>
PORTNAME= bazel
DISTVERSION= 4.2.0
DISTVERSION= 4.2.1
CATEGORIES= devel java
MASTER_SITES= https://storage.googleapis.com/bazel/${PORTVERSION}/rc${FINALRC}/
DISTNAME= bazel-${PORTVERSION}rc${FINALRC}-dist
@ -22,25 +22,25 @@ BUILD_DEPENDS= bash:shells/bash \
zip:archivers/zip
USES= python:3.3+ shebangfix zip:infozip
SHEBANG_REGEX= .*(sh|txt|_stub|stub_.*|bazel|get_workspace_status|protobuf_support|_so)
USE_JAVA= yes
JAVA_VERSION= 1.8
JAVA_VENDOR= openjdk
JAVA_BUILD= yes
JAVA_RUN= yes
CONFLICTS_INSTALL= bazel029
# The bazel binary is also a zip archive (extracted by the elf part), it must not be stripped
STRIP=
NO_WRKSUBDIR= YES
# In bazel, a release is always code-wise identical to the final release candidate.
# Hence we can also download that one and so have a simple way to also test earlier release
# candidates.
FINALRC= 4
SHEBANG_REGEX= .*(sh|txt|_stub|stub_.*|bazel|get_workspace_status|protobuf_support|_so)
USE_JAVA= yes
JAVA_VENDOR= openjdk
JAVA_VERSION= 1.8
JAVA_BUILD= yes
JAVA_RUN= yes
NO_WRKSUBDIR= YES
# The bazel binary is also a zip archive (extracted by the elf part), it must not be stripped
STRIP=
FINALRC= 2
.include <bsd.port.pre.mk>

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1629042860
SHA256 (bazel-4.2.0rc4-dist.zip) = 2294013b281879f4be744113ba3d75c311369ff321e9c697a4449b24455e10cc
SIZE (bazel-4.2.0rc4-dist.zip) = 279246919
TIMESTAMP = 1630150517
SHA256 (bazel-4.2.1rc2-dist.zip) = d92998f7503a74e9e4f8aef5c81d85849abfed51d9d8fb622103c4eb5d1330a7
SIZE (bazel-4.2.1rc2-dist.zip) = 279265298