<pre style='margin:0'>
Renee Otten (reneeotten) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/5d8d8d686191bf0ab23734af2aca88b1b4d0d319">https://github.com/macports/macports-ports/commit/5d8d8d686191bf0ab23734af2aca88b1b4d0d319</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 5d8d8d68619 py-numpy: correct os.minor check
</span>5d8d8d68619 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 5d8d8d686191bf0ab23734af2aca88b1b4d0d319
</span>Author: ichiro-isoda <69106693+ichiro-isoda@users.noreply.github.com>
AuthorDate: Fri Nov 8 23:45:26 2024 +0900
<span style='display:block; white-space:pre;color:#404040;'> py-numpy: correct os.minor check
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> - for some reason macOS 13.3 corresponds to darwin 22.4
</span>---
python/py-numpy/Portfile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-numpy/Portfile b/python/py-numpy/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 0f658c6891f..41bedcdae54 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-numpy/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-numpy/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -104,7 +104,7 @@ if {${name} ne ${subport}} {
</span>
# NumPy (and SciPy) only support the Accelerate framework for macOS 13.3+
# see: https://github.com/numpy/numpy/blob/v1.26.4/INSTALL.rst#macos
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if {${os.platform} eq "darwin" && (${os.major} > 22 || ${os.major} == 22 && ${os.minor} >= 3)} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${os.platform} eq "darwin" && (${os.major} > 22 || ${os.major} == 22 && ${os.minor} >= 4)} {
</span> variant accelerate conflicts openblas flexiblas blis description "Use Apples Accelerate Framework" {
build.args-append -Csetup-args=-Dblas=accelerate -Csetup-args=-Dlapack=accelerate
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -137,7 +137,7 @@ if {${name} ne ${subport}} {
</span> if {![variant_isset accelerate] && ![variant_isset openblas] && ![variant_isset flexiblas] && ![variant_isset blis]} {
# default to macOS Accelerate framework if macOS 13.3 or higher, otherwise OpenBLAS
# see: https://github.com/numpy/numpy/blob/v1.26.4/INSTALL.rst#macos
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if {${os.platform} eq "darwin" && (${os.major} > 22 || ${os.major} == 22 && ${os.minor} >= 3)} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${os.platform} eq "darwin" && (${os.major} > 22 || ${os.major} == 22 && ${os.minor} >= 4)} {
</span> default_variants +accelerate
} else {
default_variants +openblas
</pre><pre style='margin:0'>
</pre>