<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/20d82fe2326db15d574e00c7661f658f1276342a">https://github.com/macports/macports-ports/commit/20d82fe2326db15d574e00c7661f658f1276342a</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 20d82fe2326 py-torchtext: Check os.platform before os.major
</span>20d82fe2326 is described below

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

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

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-torchtext/Portfile b/python/py-torchtext/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index d7b5dbc6376..bc7221ddfd0 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-torchtext/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-torchtext/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -27,11 +27,11 @@ github.livecheck.regex  {([0-9.]+)}
</span> # Supported python versions
 python.versions     36 37 38 39
 
<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>