View | Details | Raw Unified | Return to bug 238680
Collapse All | Expand All

(-)bazel/Makefile (-6 / +5 lines)
Lines 2-8 Link Here
2
# $FreeBSD: head/devel/bazel/Makefile 502889 2019-05-28 11:31:20Z swills $
2
# $FreeBSD: head/devel/bazel/Makefile 502889 2019-05-28 11:31:20Z swills $
3
3
4
PORTNAME=		bazel
4
PORTNAME=		bazel
5
DISTVERSION=		0.26.0
5
DISTVERSION=		0.27.0
6
CATEGORIES=		devel java
6
CATEGORIES=		devel java
7
MASTER_SITES=		https://storage.googleapis.com/bazel/${PORTVERSION}/rc${FINALRC}/
7
MASTER_SITES=		https://storage.googleapis.com/bazel/${PORTVERSION}/rc${FINALRC}/
8
DISTNAME=		bazel-${PORTVERSION}rc${FINALRC}-dist
8
DISTNAME=		bazel-${PORTVERSION}rc${FINALRC}-dist
Lines 24-32 Link Here
24
# In bazel, a release is always code-wise identical to the final release candidate.
24
# In bazel, a release is always code-wise identical to the final release candidate.
25
# Hence we can also download that one and so have a simple way to also test earlier release
25
# Hence we can also download that one and so have a simple way to also test earlier release
26
# candidates.
26
# candidates.
27
FINALRC=		16
27
FINALRC=		5
28
28
29
USES=			shebangfix zip:infozip python
29
USES=			shebangfix zip:infozip python:3.3+
30
SHEBANG_REGEX=		.*(sh|txt|_stub|stub_.*|bazel|get_workspace_status|protobuf_support|_so)
30
SHEBANG_REGEX=		.*(sh|txt|_stub|stub_.*|bazel|get_workspace_status|protobuf_support|_so)
31
USE_JAVA=		yes
31
USE_JAVA=		yes
32
JAVA_VENDOR=		openjdk
32
JAVA_VENDOR=		openjdk
Lines 53-64 Link Here
53
	${WRKSRC}/src/main/cpp/blaze_util_posix.cc \
53
	${WRKSRC}/src/main/cpp/blaze_util_posix.cc \
54
	${WRKSRC}/src/main/cpp/BUILD
54
	${WRKSRC}/src/main/cpp/BUILD
55
	@${ECHO_CMD} build --strategy=Javac=standalone >> ${WRKSRC}/scripts/packages/bazel.bazelrc
55
	@${ECHO_CMD} build --strategy=Javac=standalone >> ${WRKSRC}/scripts/packages/bazel.bazelrc
56
	@${ECHO_CMD} build --python_path=${PYTHON_CMD} >> ${WRKSRC}/scripts/packages/bazel.bazelrc
57
	@${ECHO_CMD} build --host_javabase=@local_jdk//:jdk >> ${WRKSRC}/scripts/packages/bazel.bazelrc
56
	@${ECHO_CMD} build --host_javabase=@local_jdk//:jdk >> ${WRKSRC}/scripts/packages/bazel.bazelrc
58
	@${ECHO_CMD} build --action_env=PATH=/bin:/usr/bin/:${LOCALBASE}/bin >> ${WRKSRC}/scripts/packages/bazel.bazelrc
57
	@${ECHO_CMD} build --action_env=PATH=/bin:/usr/bin/:${LOCALBASE}/bin >> ${WRKSRC}/scripts/packages/bazel.bazelrc
59
	@${REINPLACE_CMD} \
58
	@${REINPLACE_CMD} \
60
	-e 's|\$$command|$$command --python_path=${PYTHON_CMD}|' \
59
	-e 's|^\(PYTHON_BIN=.*\)|if [ "%VERSION%" = "3" ] ; then PYTHON_BIN=${PYTHON_CMD}; else \1 ; fi|' \
61
	${WRKSRC}/scripts/bootstrap/bootstrap.sh
60
	${WRKSRC}/tools/python/pywrapper_template.txt
62
	@${REINPLACE_CMD} \
61
	@${REINPLACE_CMD} \
63
	-e 's|/usr/bin/env python|${PYTHON_CMD}|' \
62
	-e 's|/usr/bin/env python|${PYTHON_CMD}|' \
64
	${WRKSRC}/src/main/java/com/google/devtools/build/lib/bazel/rules/python/BazelPythonSemantics.java
63
	${WRKSRC}/src/main/java/com/google/devtools/build/lib/bazel/rules/python/BazelPythonSemantics.java
(-)bazel/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1558938094
1
TIMESTAMP = 1560545499
2
SHA256 (bazel-0.26.0rc16-dist.zip) = e7db1cd14b0905f766dfdbf13b802c1d9ebd1c08dd2c646b4216d4d746ada87f
2
SHA256 (bazel-0.27.0rc5-dist.zip) = 665bac721c3e2630715302c1d952e6c79db365fe69cf36962212d17d27c52df1
3
SIZE (bazel-0.26.0rc16-dist.zip) = 244629965
3
SIZE (bazel-0.27.0rc5-dist.zip) = 247943537

Return to bug 238680