<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/6024a04de289b81a44f6599dc176103f7f46b005">https://github.com/macports/macports-ports/commit/6024a04de289b81a44f6599dc176103f7f46b005</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 6024a04de289b81a44f6599dc176103f7f46b005
</span>Author: Sergey Fedorov <barracuda@macos-powerpc.org>
AuthorDate: Wed Jun 26 10:34:15 2024 +0800

<span style='display:block; white-space:pre;color:#404040;'>    slepc: update to 3.21.1, fix the port
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    Co-authored-by: Ryan Carsten Schmidt <ryandesign@macports.org>
</span>---
 math/slepc/Portfile | 27 ++++++++++++++++++---------
 1 file changed, 18 insertions(+), 9 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/math/slepc/Portfile b/math/slepc/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 1dec4cbc376..7c382753b0b 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/math/slepc/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/math/slepc/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5,8 +5,8 @@ PortGroup                   mpi 1.0
</span> PortGroup                   muniversal 1.0
 
 name                        slepc
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version                     3.15.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-revision                    1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version                     3.21.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision                    0
</span> categories                  math science
 maintainers                 {mcalhoun @MarcusCalhoun-Lopez} openmaintainer
 license                     BSD
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -22,14 +22,12 @@ notes                       "Add the following lines to your .bash_profile if yo
</span>                             \texport PETSC_DIR=${prefix}/lib/petsc\n\
                             \texport SLEPC_DIR=${prefix}/lib/slepc"
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms                   darwin
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> homepage                    https://slepc.upv.es
 master_sites                https://slepc.upv.es/download/distrib/
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums                   rmd160  76c818bd5e4cd14b7c738d5f765592316a77d409 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                            sha256  e53783ae13acadce274ea65c67186b5ab12332cf17125a694e21d598aa6b5f00 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                            size    5191730
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums                   rmd160  032ee36fec86fc97b68b9de1e5f3ad6bff00d082 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                            sha256  beb33f0a15c3ce81744b15ad09ddf84dae70dbf3475c5ef032b8549ab87d6d8a \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                            size    1827860
</span> 
 mpi.setup                   default
 mpi.enforce_variant         petsc
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -37,12 +35,23 @@ mpi.enforce_variant         petsc
</span> depends_lib-append          port:petsc
 use_parallel_build          no
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-set python.version          39
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-set python_ver_dot          [join [split ${python.version} {}] "."]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set python_ver_dot          3.11
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set python.version          [string map {. ""} $python_ver_dot]
</span> 
 depends_build-append        port:sowing \
                             port:python${python.version}
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.python            ${prefix}/bin/python${python_ver_dot}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+post-patch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    reinplace "s|/usr/bin/env python3|${configure.python}|" ${worksrcpath}/configure
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    fs-traverse f [list ${worksrcpath}] {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        if {[string match *.py ${f}]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+            reinplace "s|/usr/bin/env python3|${configure.python}|" ${f}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> # allow configure script to find MacPorts Python
 configure.env-append        PATH=${frameworks_dir}/Python.framework/Versions/${python_ver_dot}/bin:$env(PATH)
 
</pre><pre style='margin:0'>

</pre>