<pre style='margin:0'>
Ryan Schmidt (ryandesign) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/01a7debf75e1aff739b7cb7f5988bef9efd16cb0">https://github.com/macports/macports-ports/commit/01a7debf75e1aff739b7cb7f5988bef9efd16cb0</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 01a7debf75e arowpp: Update to 0.1.3
</span>01a7debf75e is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 01a7debf75e1aff739b7cb7f5988bef9efd16cb0
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Fri Jan 15 12:14:29 2021 -0600
<span style='display:block; white-space:pre;color:#404040;'> arowpp: Update to 0.1.3
</span>---
math/arowpp/Portfile | 44 ++++++++++++++++++++++++++++-----------
math/arowpp/files/fix-build.patch | 24 +++++++++++++++++++++
2 files changed, 56 insertions(+), 12 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/math/arowpp/Portfile b/math/arowpp/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index bd1e85f3ba9..0a464c79c7c 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/math/arowpp/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/math/arowpp/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,9 +1,14 @@
</span> # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
<span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup github 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup tetsuok arowpp 0.1.3 v
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 a639f1cc171e63a51e080f576ef000e9ccd6cc3d \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 d3762df1d560d418d16b7b58eec35a573c566575db3c639a54c0f664cccb0edc \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 31413
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-name arowpp
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-version 0.1.2
</span> categories math textproc
maintainers nomaintainer
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -17,26 +22,41 @@ long_description arowpp (AROW++) is an simple and efficient implementation of
</span> extension of confidence weighted (CW) algorithm that can \
achieve the good performance with a few iterations.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-homepage https://code.google.com/p/arowpp/
</span> platforms darwin
license BSD
<span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites googlecode:arowpp
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-distname AROW++-${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.tarball_from archive
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_build port:bazel
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles fix-build.patch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+use_configure no
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 5f6f3718908d3eb14d359cb41e43e40a65d3f39b \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 cd1637278503d1cc331c9225c4d2472f59bc5f9f9f7031133b484a37b139b344
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+compiler.cxx_standard 2011
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Need to figure out how to tell Bazel to use the right compiler and flags.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Other ports using Bazel, like py-tensorflow, may provide guidance.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+build.cmd ${prefix}/bin/bazel
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+build.target build
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+build.args //:arow_learn //:arow_test
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # The build system doesn't support installing so we have to do it manually.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # https://github.com/tetsuok/arowpp/issues/3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -W ${worksrcpath}/bazel-bin arow_learn arow_test ${destroot}${prefix}/bin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 0644 -W ${worksrcpath}/src arowpp.h ${destroot}${prefix}/include
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # There isn't a dynamic library anymore.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # https://github.com/tetsuok/arowpp/issues/6
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 0644 -W ${worksrcpath}/bazel-bin libarowpp.a ${destroot}${prefix}/lib
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-post-destroot {
</span> set docdir ${destroot}${prefix}/share/doc/${name}
xinstall -d ${docdir}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -m 644 -W ${worksrcpath} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 0644 -W ${worksrcpath} \
</span> AUTHORS \
BSD \
COPYING \
ChangeLog \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- README \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ README.md \
</span> ${docdir}
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.regex AROW\\+\\+-(\\d+\\.\\d+\\.\\d+)\\.tar
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/math/arowpp/files/fix-build.patch b/math/arowpp/files/fix-build.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..1a8571b0e4f
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/math/arowpp/files/fix-build.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,24 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Fix build failure with current bazel.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+https://github.com/tetsuok/arowpp/issues/1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+https://github.com/tetsuok/arowpp/commit/803b10a3fc4306b033a00db8bb50b6146d282e0c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- WORKSPACE.orig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ WORKSPACE
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -15,10 +15,13 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # See the License for the specific language governing permissions and
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # limitations under the License.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-new_http_archive(
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++workspace(name = "com_github_tetsuok_arowpp")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++http_archive(
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ name = "gtest",
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- url = "https://googletest.googlecode.com/files/gtest-1.7.0.zip",
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- sha256 = "247ca18dd83f53deb1328be17e4b1be31514cedfc1e3424f672bf11fd7e0d60d",
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- build_file = "gtest.BUILD",
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- strip_prefix = "gtest-1.7.0",
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ url = "https://github.com/google/googletest/archive/release-1.7.0.zip",
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ sha256 = "b58cb7547a28b2c718d1e38aee18a3659c9e3ff52440297e965f5edffe34b6d0",
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ build_file = "@//:gtest.BUILD",
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ strip_prefix = "googletest-release-1.7.0",
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ )
</span></pre><pre style='margin:0'>
</pre>