<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/14534f3292d90eeed5749e56066df9d1f9583957">https://github.com/macports/macports-ports/commit/14534f3292d90eeed5749e56066df9d1f9583957</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 14534f3 py-tensorflow: move py??-future to a build dependency.
</span>14534f3 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 14534f3292d90eeed5749e56066df9d1f9583957
</span>Author: Blair Zajac <blair@macports.org>
AuthorDate: Mon Sep 2 21:49:54 2019 -0700
<span style='display:block; white-space:pre;color:#404040;'> py-tensorflow: move py??-future to a build dependency.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> According to [1] py??-future is only during the build phase and the
</span><span style='display:block; white-space:pre;color:#404040;'> PyPI dependency doesn't list it as a runtime dependency. Use the port
</span><span style='display:block; white-space:pre;color:#404040;'> for all Python versions. Remove the py??-futures (with an s)
</span><span style='display:block; white-space:pre;color:#404040;'> dependency since I guessed that this may be needed for building on
</span><span style='display:block; white-space:pre;color:#404040;'> Python 2.7 build, but it's the py??-future port that is needed, such
</span><span style='display:block; white-space:pre;color:#404040;'> as in tensorflow/tools/git/gen_git_source.py, where builtins is
</span><span style='display:block; white-space:pre;color:#404040;'> imported.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> [1] https://www.tensorflow.org/install/source#setup_for_linux_and_macos
</span>---
python/py-tensorflow/Portfile | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-tensorflow/Portfile b/python/py-tensorflow/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index a3caf2e..fc0c348 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-tensorflow/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-tensorflow/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -64,6 +64,7 @@ python.default_version 37
</span> if {${name} ne ${subport}} {
depends_build-append \
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py${python.version}-future \
</span> port:py${python.version}-pip \
port:py${python.version}-mock \
port:bazel25 \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -72,7 +73,6 @@ if {${name} ne ${subport}} {
</span> depends_lib-append \
port:py${python.version}-absl \
port:py${python.version}-astor \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- port:py${python.version}-future \
</span> port:py${python.version}-gast \
port:py${python.version}-google-pasta \
port:py${python.version}-grpcio \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -86,11 +86,6 @@ if {${name} ne ${subport}} {
</span> port:py${python.version}-wheel \
port:py${python.version}-wrapt
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if {${python.version} eq 27} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:py${python.version}-futures
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> if {${python.version} < 34} {
depends_lib-append \
port:py${python.version}-backports.weakref \
</pre><pre style='margin:0'>
</pre>