<pre style='margin:0'>
Chris Jones (cjones051073) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/4b314a2974edf7261ea5bee25aceec8959a2740a">https://github.com/macports/macports-ports/commit/4b314a2974edf7261ea5bee25aceec8959a2740a</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 4b314a2 bazel: update to 0.25.2 bazel21: new legacy bazel port, pinned to version needed for py-tensorflow py-tensorflow: update build dependency to bazel21 Closes : https://trac.macports.org/ticket/58470
</span>4b314a2 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 4b314a2974edf7261ea5bee25aceec8959a2740a
</span>Author: Chris Jones <jonesc@macports.org>
AuthorDate: Sat May 18 20:14:01 2019 +0100
<span style='display:block; white-space:pre;color:#404040;'> bazel: update to 0.25.2
</span><span style='display:block; white-space:pre;color:#404040;'> bazel21: new legacy bazel port, pinned to version needed for py-tensorflow
</span><span style='display:block; white-space:pre;color:#404040;'> py-tensorflow: update build dependency to bazel21
</span><span style='display:block; white-space:pre;color:#404040;'> Closes : https://trac.macports.org/ticket/58470
</span>---
devel/bazel/Portfile | 61 +++++++++++++++++++++++++++++++++++++++++-----------
1 file changed, 48 insertions(+), 13 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/bazel/Portfile b/devel/bazel/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 57998a8..02adc29 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/bazel/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/bazel/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -8,32 +8,72 @@ PortGroup compilers 1.0
</span> PortGroup xcodeversion 1.0
PortGroup compiler_blacklist_versions 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# Note py-tensorflow only support 0.21.0 and older at this time...
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-github.setup bazelbuild bazel 0.21.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> # epoch unfortunately needed to go back to 0.18.0 as 0.19.0
# built tensorflow badily, giving runtime seg. faults...
# Now resolved, but epoch must NOT be removed though now.
epoch 1
<span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 db49db0e036eee72451c7c83a92359c8b5b3a7ec \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 6ccb831e683179e0cfb351cb11ea297b4db48f9eab987601c038aa0f83037db4 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 88279748
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# ports
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+name bazel
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+subport bazel21 { }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if { ${name} eq ${subport} } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Main port
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ github.setup bazelbuild ${name} 0.25.2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ conflicts bazel21
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums rmd160 cfff49a4be85f7693ae615c293b13d0a447b80d7 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 7456032199852c043e6c5b3e4c71dd8089c1158f72ec554e6ec1c77007f0ab51 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 275804130
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Required java version.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ java.version 12
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # JDK port to install if required java not found
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ java.fallback openjdk12
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+} elseif { "bazel21" eq ${subport} } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # legacy 0.21.x port
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ github.setup bazelbuild ${name} 0.21.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ livecheck.type none
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ conflicts bazel
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums rmd160 db49db0e036eee72451c7c83a92359c8b5b3a7ec \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 6ccb831e683179e0cfb351cb11ea297b4db48f9eab987601c038aa0f83037db4 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 88279748
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Required java version.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ java.version 11
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # JDK port to install if required java not found
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ java.fallback openjdk11
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> github.tarball_from releases
categories devel
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> maintainers {tfmnet.com:mohamed.issa @RootFunction} \
{jonesc @cjones051073} \
openmaintainer
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> description A tool for automating builds and tests.
long_description ${description}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> platforms darwin
license Apache-2
distname ${distname}-dist
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 db49db0e036eee72451c7c83a92359c8b5b3a7ec \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 6ccb831e683179e0cfb351cb11ea297b4db48f9eab987601c038aa0f83037db4 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 88279748
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> use_zip yes
extract.mkdir yes
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -41,11 +81,6 @@ use_configure no
</span>
patch.pre_args -p1
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# Required java version.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-java.version 11
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# JDK port to install if required java not found
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-java.fallback openjdk11
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> # The oldest Xcode version to use default Xcode compiler
# Note setting here should be in sync with that in py-tensorflow
set bazel_min_xcode 9.0
</pre><pre style='margin:0'>
</pre>