<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/d67ef4bd116e13ff6c32732781d4e33c77e27d9c">https://github.com/macports/macports-ports/commit/d67ef4bd116e13ff6c32732781d4e33c77e27d9c</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit d67ef4bd116e13ff6c32732781d4e33c77e27d9c
</span>Author: Chris Jones <jonesc@macports.org>
AuthorDate: Wed Jul 3 14:16:32 2019 +0100

<span style='display:block; white-space:pre;color:#404040;'>    py-tensorflow: Fix mock import issue
</span>---
 python/py-tensorflow/Portfile | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

<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 3245e0c..da0b3b4 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;'>@@ -12,7 +12,7 @@ PortGroup           conflicts_build                1.0
</span> 
 name                py-tensorflow
 version             1.14.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision            1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision            2
</span> github.setup        tensorflow tensorflow ${version} v
 platforms           darwin
 supported_archs     x86_64
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -178,6 +178,10 @@ if {${name} ne ${subport}} {
</span>     post-destroot {
         file delete ${destroot}${python.prefix}/bin/tensorboard
         file delete ${destroot}${prefix}/bin/tensorboard-${python.branch}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+        # https://github.com/tensorflow/tensorflow/issues/25282
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        foreach f [ exec find ${destroot}${python.prefix} -name "__init__.py" ] {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+            reinplace -q "s|from tensorflow.python.platform.googletest import mock|import mock|g" ${f}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        }
</span>     }
 
     livecheck.type  none
</pre><pre style='margin:0'>

</pre>