<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/f6a3543cca00f59d45325aed31857aac748db0d6">https://github.com/macports/macports-ports/commit/f6a3543cca00f59d45325aed31857aac748db0d6</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 f6a3543cca0 vim: fix broken variants python36-39
</span>f6a3543cca0 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit f6a3543cca00f59d45325aed31857aac748db0d6
</span>Author: Julien Rabinow <randprefix.github@fastmail.com>
AuthorDate: Mon Feb 21 23:00:22 2022 -0800
<span style='display:block; white-space:pre;color:#404040;'> vim: fix broken variants python36-39
</span>---
editors/vim/Portfile | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/editors/vim/Portfile b/editors/vim/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 31fb44c939d..91b5c9dcb1a 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/editors/vim/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/editors/vim/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -116,11 +116,12 @@ foreach s ${pythons_suffixes} {
</span>
foreach s ${pythons_suffixes} {
set p python${s}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- set v [string index ${s} 0].[string range ${s} 1 end]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set major [string index ${s} 0]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set v ${major}.[string range ${s} 1 end]
</span> set i [lsearch -exact ${pythons_ports} ${p}]
set c [lreplace ${pythons_ports} ${i} ${i}]
variant ${p} description "Enable Python scripting" conflicts {*}${c} "
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if {${s} < 300} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${major} == 2} {
</span> configure.args-append --enable-pythoninterp --with-python-command=${prefix}/bin/python${v}
patchfiles-append patch-python.diff
} else {
</pre><pre style='margin:0'>
</pre>