<pre style='margin:0'>
Christopher Nielsen (mascguy) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/fb29cdd5712878122fe6284407d0d977a1194154">https://github.com/macports/macports-ports/commit/fb29cdd5712878122fe6284407d0d977a1194154</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit fb29cdd5712878122fe6284407d0d977a1194154
</span>Author: Christopher Nielsen <mascguy@github.com>
AuthorDate: Sun May 7 09:56:24 2023 -0400
<span style='display:block; white-space:pre;color:#404040;'> py-tensorflow: drop python 3.7/3.8; allow xcode/clang 12.0; cleanup conflict declarations
</span>---
python/py-tensorflow/Portfile | 18 ++++++++++--------
1 file changed, 10 insertions(+), 8 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 57b9c697516..6e970f34beb 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;'>@@ -42,24 +42,26 @@ if { ${os.major} < ${min_darwin} } {
</span> use_xcode yes
compiler.cxx_standard 2017
<span style='display:block; white-space:pre;background:#ffe0e0;'>-compiler.blacklist-append {clang < 1200.0.32.27} {macports-clang-[4-9].0}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+compiler.blacklist-append {clang < 1200} {macports-clang-[4-9].0}
</span>
# Supported python versions
<span style='display:block; white-space:pre;background:#ffe0e0;'>-python.versions 37 38 39 310
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+python.versions 39 310
</span>
if {${name} ne ${subport}} {
PortGroup bazel 1.0
# TF versions 1 and 2 cannot be installed at once
<span style='display:block; white-space:pre;background:#ffe0e0;'>- conflicts py${python.version}-tensorflow1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${python.version} < 310 } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ conflicts py${python.version}-tensorflow1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span>
# Conflicts with tensorflow-macos, tensorflow-metal
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if { ${python.version} eq 38 || ${python.version} eq 39 || ${python.version} eq 310 } {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- conflicts-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ conflicts-append \
</span> py${python.version}-tensorflow-macos \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- py${python.version}-tensorflow-metal \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- py${python.version}-tensorflow_macos
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ py${python.version}-tensorflow-metal
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Relax Xcode minimum version, based on testing
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ bazel.min_xcode 12.0
</span>
variant mkl description {Enable Intel Math Kernel Library support} {
bazel.extra_build_opts-append --config=mkl
</pre><pre style='margin:0'>
</pre>