<pre style='margin:0'>
Ryan Schmidt (ryandesign) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/c3406c8f3e541aff994f78aa00b97991b4624ca5">https://github.com/macports/macports-ports/commit/c3406c8f3e541aff994f78aa00b97991b4624ca5</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 c3406c8f3e5 py-pytorch: Check os.platform before os.major
</span>c3406c8f3e5 is described below

<span style='display:block; white-space:pre;color:#808000;'>commit c3406c8f3e541aff994f78aa00b97991b4624ca5
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Wed Mar 17 00:09:42 2021 -0500

<span style='display:block; white-space:pre;color:#404040;'>    py-pytorch: Check os.platform before os.major
</span>---
 python/py-pytorch/Portfile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-pytorch/Portfile b/python/py-pytorch/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 5ff4ce107db..bc23d5ea9d2 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-pytorch/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-pytorch/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -46,11 +46,11 @@ compiler.blacklist-append *gcc* {clang < 800} {macports-clang-3.[0-9]} macports-
</span> variant mkl description {Enable Intel Math Kernel Library support} { }
 default_variants-append +mkl
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-if {${os.major} <= 15} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${os.platform} eq "darwin" && ${os.major} <= 15} {
</span>     known_fail yes
     pre-fetch {
<span style='display:block; white-space:pre;background:#ffe0e0;'>-        ui_error "$subport is not supported on macOS 10.11 and older."
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        error "unsupported platform"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        ui_error "$subport is not supported on OS X 10.11 and older."
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        return -code error "unsupported platform"
</span>     }
 }
 
</pre><pre style='margin:0'>

</pre>