<pre style='margin:0'>
Marcus Calhoun-Lopez (MarcusCalhoun-Lopez) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/d2fa37bc34c00b7b46d229e03202175eca97b045">https://github.com/macports/macports-ports/commit/d2fa37bc34c00b7b46d229e03202175eca97b045</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit d2fa37bc34c00b7b46d229e03202175eca97b045
</span>Author: Marcus Calhoun-Lopez <mcalhoun@macports.org>
AuthorDate: Sat Feb 22 10:22:46 2020 -0700
<span style='display:block; white-space:pre;color:#404040;'> slepc: allow greater control on Python version
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Fixes https://trac.macports.org/ticket/57951
</span>---
math/slepc/Portfile | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
<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 8475eae..636847c 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;'>@@ -37,9 +37,16 @@ mpi.enforce_variant petsc
</span> depends_lib-append port:petsc
use_parallel_build no
<span style='display:block; white-space:pre;background:#e0ffe0;'>+set python.version 27
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set python_ver_dot [join [split ${python.version} {}] "."]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> depends_build-append \
port:sowing \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- port:python27
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:python${python.version}
</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 -W ${worksrcpath} "s,#!/usr/bin/env python,#!${prefix}/bin/python${python_ver_dot}," configure
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span>
configure.pre_args --prefix=${prefix}/lib/slepc
if {![variant_isset universal]} {
</pre><pre style='margin:0'>
</pre>