<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/e074701ef88be3939cdced6749f7a0bb559f8330">https://github.com/macports/macports-ports/commit/e074701ef88be3939cdced6749f7a0bb559f8330</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 e074701 bazel : Remove git dependency as repo hack no longer required and prevents binary distribution
</span>e074701 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit e074701ef88be3939cdced6749f7a0bb559f8330
</span>Author: Chris Jones <jonesc@macports.org>
AuthorDate: Thu Oct 18 21:56:21 2018 +0100
<span style='display:block; white-space:pre;color:#404040;'> bazel : Remove git dependency as repo hack no longer required and prevents binary distribution
</span>---
devel/bazel/Portfile | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 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 def2688..df9cbb7 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;'>@@ -15,6 +15,7 @@ PortGroup java 1.0
</span> # FC=${configure.fc}
github.setup bazelbuild bazel 0.18.0
<span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 1
</span> github.tarball_from releases
categories devel
maintainers {tfmnet.com:mohamed.issa @RootFunction} \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -37,8 +38,8 @@ use_configure no
</span>
depends_build-append bin:python:python27 \
bin:bash:bash \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- bin:zip:zip \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- bin:git:git
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ bin:zip:zip
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# bin:git:git
</span>
# https://github.com/bazelbuild/bazel/issues/6188
if {${os.major} <= 15} {
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -55,9 +56,11 @@ build {
</span> file delete -force /var/tmp/_${name}_root
# build fails if it does not recognize this dir as a git repo
<span style='display:block; white-space:pre;background:#ffe0e0;'>- system -W ${worksrcpath} "git init"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- system -W ${worksrcpath} "git add ."
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- system -W ${worksrcpath} "git commit -m GitRepo"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # As of 0.18.0 this no longer seems neccessary, and git dependency
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # prevents binary distribution so comment out. Eventually can be removed.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #system -W ${worksrcpath} "git init"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #system -W ${worksrcpath} "git add ."
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #system -W ${worksrcpath} "git commit -m GitRepo"
</span>
# Build the bash completion script
system -W ${worksrcpath} "./${name} --max_idle_secs=60 --output_user_root=${workpath} build //scripts:${name}-complete.bash"
</pre><pre style='margin:0'>
</pre>