<pre style='margin:0'>
Chris Jones (cjones051073) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/e9bf89df0ecaaa9253dbcd55b203e9c700b1d44d">https://github.com/macports/macports-ports/commit/e9bf89df0ecaaa9253dbcd55b203e9c700b1d44d</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 e9bf89df0ec flann: prepare for Python 3.10
</span>e9bf89df0ec is described below
<span style='display:block; white-space:pre;color:#808000;'>commit e9bf89df0ecaaa9253dbcd55b203e9c700b1d44d
</span>Author: Christopher Chavez <chrischavez@gmx.us>
AuthorDate: Sun Jun 13 07:02:04 2021 -0500
<span style='display:block; white-space:pre;color:#404040;'> flann: prepare for Python 3.10
</span>---
science/flann/Portfile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/flann/Portfile b/science/flann/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index c0d1a46d029..29914c475fd 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/science/flann/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/flann/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -47,7 +47,7 @@ proc python_dir {} {
</span> global pythons_suffixes
foreach s ${pythons_suffixes} {
if {[variant_isset python${s}]} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- set p python[string index ${s} 0].[string index ${s} 1]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set p python[string index ${s} 0].[string range ${s} 1 end]
</span> return [file normalize [exec ${p} -c "import sys; print(sys.prefix)"]/lib/${p}]
}
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -56,7 +56,7 @@ proc python_dir {} {
</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 index ${s} 1]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set v [string index ${s} 0].[string range ${s} 1 end]
</span> set i [lsearch -exact ${pythons_ports} ${p}]
set c [lreplace ${pythons_ports} ${i} ${i}]
variant ${p} description "Use Python ${v} for python bindings" conflicts {*}${c} "
</pre><pre style='margin:0'>
</pre>