<pre style='margin:0'>
Perry E. Metzger (pmetzger) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/8dd0907aa5c72e150f55ead726fab408788d3a83">https://github.com/macports/macports-ports/commit/8dd0907aa5c72e150f55ead726fab408788d3a83</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 8dd0907aa5c72e150f55ead726fab408788d3a83
</span>Author: reneeotten <reneeotten@users.noreply.github.com>
AuthorDate: Sun Feb 3 14:24:12 2019 -0500
<span style='display:block; white-space:pre;color:#404040;'> py-tensorflow: use py-backports.weakref only below PY34
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> When fixing an issue with py-backports.weakref I noticed that
</span><span style='display:block; white-space:pre;color:#404040;'> py-tensorflow declares a dependency on this port for all Python
</span><span style='display:block; white-space:pre;color:#404040;'> versions. This is incorrect and only needed for versions below Python
</span><span style='display:block; white-space:pre;color:#404040;'> 3.4; see https://github.com/tensorflow/tensorflow/pull/11174
</span>---
python/py-tensorflow/Portfile | 7 ++-----
1 file changed, 2 insertions(+), 5 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 37f5f95..4c8fc88 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;'>@@ -11,7 +11,7 @@ PortGroup compiler_blacklist_versions 1.0
</span>
name py-tensorflow
version 1.12.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 1
</span> github.setup tensorflow tensorflow ${version} v
platforms darwin
supported_archs x86_64
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -74,12 +74,9 @@ if {${name} ne ${subport}} {
</span> port:py${python.version}-absl
if {${python.version} < 34} {
depends_lib-append \
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py${python.version}-backports.weakref \
</span> port:py${python.version}-enum34
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if {${python.version} < 37} {
</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}-backports.weakref
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span>
use_configure yes
# Options passed to configure script via env vars
</pre><pre style='margin:0'>
</pre>