<pre style='margin:0'>
Michael Dickens (michaelld) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/08cc64927ac51742b832132b518f2ca53f974354">https://github.com/macports/macports-ports/commit/08cc64927ac51742b832132b518f2ca53f974354</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 08cc649 py-numpy: Make +openblas a default variant
</span>08cc649 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 08cc64927ac51742b832132b518f2ca53f974354
</span>Author: Michael Dickens <michaelld@macports.org>
AuthorDate: Sun Mar 3 20:42:23 2019 -0500
<span style='display:block; white-space:pre;color:#404040;'> py-numpy: Make +openblas a default variant
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> This is a workaround for the default NumPy install to overcome issues with polyfit. See also https://trac.macports.org/ticket/56954 .
</span>---
python/py-numpy/Portfile | 9 +++++++++
1 file changed, 9 insertions(+)
<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 3e21ca9..3528505 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;'>@@ -79,6 +79,15 @@ if {${name} ne ${subport}} {
</span> depends_lib-append path:lib/libopenblas.dylib:OpenBLAS
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Make +openblas a default variant, at least temporarily, to
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # overcome issues with polyfit. see also:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # https://trac.macports.org/ticket/56954
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # https://github.com/numpy/numpy/issues/12230
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {![variant_isset atlas] &&
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ![variant_isset openblas]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ default_variants +openblas
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> # when using ATLAS (whether by default or specified by the user via
# the +atlas variant) ...
if {[variant_isset atlas]} {
</pre><pre style='margin:0'>
</pre>