<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/11db198bb15c0bf945d04e4d64fc6385e937c181">https://github.com/macports/macports-ports/commit/11db198bb15c0bf945d04e4d64fc6385e937c181</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 11db198bb15c0bf945d04e4d64fc6385e937c181
</span>Author: Christopher Nielsen <mascguy@github.com>
AuthorDate: Mon May 29 12:04:17 2023 -0400

<span style='display:block; white-space:pre;color:#404040;'>    py-tensorflow: relax xcode minimum to 10.3, to match bazel
</span><span style='display:block; white-space:pre;color:#404040;'>    - Use platforms {darwin >= 18 <= 19}; currently fails for macOS 11.x and later
</span>---
 python/py-tensorflow/Portfile | 20 ++++++--------------
 1 file changed, 6 insertions(+), 14 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 69c758ff36e..a0d7ee8dd7e 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;'>@@ -13,7 +13,8 @@ github.setup        tensorflow tensorflow ${version} v
</span> 
 license             Apache-2
 maintainers         {emcrisostomo @emcrisostomo} openmaintainer
<span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms           darwin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Goal is darwin >= 18, but present failures prevent that for macOS 11.x+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platforms           {darwin >= 18 <= 19}
</span> supported_archs     x86_64 arm64
 
 description         TensorFlow helps the tensors flow
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -26,20 +27,10 @@ checksums           rmd160  26051c2456224f94f82e896aff4cb8512c2f6dc3 \
</span>                     sha256  2b1725eccba5ee42347462f5a65b274a905f7946181fadafc7b44b5c85ba3041 \
                     size    69709103
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-set min_darwin 16
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-if { ${os.major} < ${min_darwin} } {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    known_fail yes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    # https://trac.macports.org/ticket/58518
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    pre-fetch {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        ui_error "${name} ${version} requires Darwin ${min_darwin} or newer."
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        return -code error "incompatible macOS version"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> use_xcode           yes
 
 compiler.cxx_standard   2017
<span style='display:block; white-space:pre;background:#ffe0e0;'>-compiler.blacklist-append {clang < 1200} {macports-clang-[4-9].0}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+compiler.blacklist-append {clang < 1000} {macports-clang-[4-9].0}
</span> 
 # Supported python versions
 python.versions  39 310
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -58,7 +49,7 @@ if {${name} ne ${subport}} {
</span>                     py${python.version}-tensorflow-metal
 
     # Relax Xcode minimum version, based on testing
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    bazel.min_xcode 12.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    bazel.min_xcode 10.3
</span> 
     variant mkl description {Enable Intel Math Kernel Library support} {
         bazel.extra_build_opts-append --config=mkl
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -117,7 +108,8 @@ if {${name} ne ${subport}} {
</span>     #   target '@tf_runtime//:support' is not visible from target '//tensorflow/compiler/xla/pjrt:pjrt_future'
     # See: https://github.com/tensorflow/tensorflow/issues/58825
     bazel.extra_build_opts-append \
<span style='display:block; white-space:pre;background:#ffe0e0;'>-                            --incompatible_fix_package_group_reporoot_syntax=false \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                            --noincompatible_fix_package_group_reporoot_syntax \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                            --noincompatible_validate_top_level_header_inclusions
</span> 
     destroot.cmd  pip-${python.branch}
     destroot.args           \
</pre><pre style='margin:0'>

</pre>