<pre style='margin:0'>
Zhenfu Shi (i0ntempest) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/1d35555a09f6fa784597b31c1379fca70874a938">https://github.com/macports/macports-ports/commit/1d35555a09f6fa784597b31c1379fca70874a938</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 1d35555a09f6fa784597b31c1379fca70874a938
</span>Author: i0ntempest <szf1234@me.com>
AuthorDate: Thu Sep 19 18:33:14 2024 -0400

<span style='display:block; white-space:pre;color:#404040;'>    py-scikit-learn: update to 1.5.2
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    temporary workaround for numpy v2 requirement
</span><span style='display:block; white-space:pre;color:#404040;'>    Closes: https://trac.macports.org/ticket/70798
</span>---
 python/py-scikit-learn/Portfile | 16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-scikit-learn/Portfile b/python/py-scikit-learn/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index ca38af71575..7c1401966e7 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-scikit-learn/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-scikit-learn/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5,8 +5,9 @@ PortGroup           python 1.0
</span> PortGroup           compiler_wrapper 1.0
 
 name                py-scikit-learn
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version             1.4.1.post1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version             1.5.2
</span> revision            0
<span style='display:block; white-space:pre;background:#e0ffe0;'>+distname            scikit_learn-${version}
</span> categories-append   science
 license             BSD
 
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -24,9 +25,9 @@ long_description    Scikit-learn integrates machine learning algorithms \
</span> 
 homepage            https://scikit-learn.org/
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums           rmd160  f31d7a07926e67dd2457957316ce56a690ca2571 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                    sha256  93d3d496ff1965470f9977d05e5ec3376fb1e63b10e4fda5e39d23c2d8969a30 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                    size    7743688
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums           rmd160  c44852ef8d63ca0da228bc7a3850ef99900568a9 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    sha256  b4237ed7b3fdd0a4882792e68ef2545d5baa50aca3bb45aa7df468138ad8f94d \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    size    7001680
</span> 
 if {${name} ne ${subport}} {
     depends_build-append \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -49,18 +50,21 @@ if {${name} ne ${subport}} {
</span>     compiler.openmp_version 2.5
     depends_lib-append  port:libomp
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+    python.pep517_backend meson
</span>     python.add_archflags no
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+    # Remove after numpy v2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    build.args          --skip-dependency-check
</span>     build.env-append    "CPPFLAGS=${configure.cppflags} -I${prefix}/include/libomp -Xpreprocessor -fopenmp" \
                         "CFLAGS=${configure.cc_archflags} -I${prefix}/include/libomp" \
                         "CXXFLAGS=${configure.cxx_archflags} -I${prefix}/include/libomp" \
                         "LDFLAGS=${configure.ld_archflags} -L${prefix}/lib/libomp -lomp" \
<span style='display:block; white-space:pre;background:#ffe0e0;'>-                        DYLD_LIBRARY_PATH=${prefix}/lib/libomp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                        DYLD_LIBRARY_PATH=${prefix}/lib/libomp CYTHON=${prefix}/bin/cython-${python.branch}
</span>     destroot.env-append "CPPFLAGS=${configure.cppflags} -I${prefix}/include/libomp -Xpreprocessor -fopenmp" \
                         "CFLAGS=${configure.cc_archflags} -I${prefix}/include/libomp" \
                         "CXXFLAGS=${configure.cxx_archflags} -I${prefix}/include/libomp" \
                         "LDFLAGS=${configure.ld_archflags} -L${prefix}/lib/libomp -lomp" \
<span style='display:block; white-space:pre;background:#ffe0e0;'>-                        DYLD_LIBRARY_PATH=${prefix}/lib/libomp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                        DYLD_LIBRARY_PATH=${prefix}/lib/libomp CYTHON=${prefix}/bin/cython-${python.branch}
</span> 
     livecheck.type      none
 }
</pre><pre style='margin:0'>

</pre>