<pre style='margin:0'>
Michael Dickens (michaelld) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/e06aa3f49a0c35e98fd239c56b57eebae0421ee6">https://github.com/macports/macports-ports/commit/e06aa3f49a0c35e98fd239c56b57eebae0421ee6</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 e06aa3f49a0 volk: add support for Python 3.10 and make it the default
</span>e06aa3f49a0 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit e06aa3f49a0c35e98fd239c56b57eebae0421ee6
</span>Author: Michael Dickens <michaelld@macports.org>
AuthorDate: Thu Jun 23 15:40:33 2022 -0500
<span style='display:block; white-space:pre;color:#404040;'> volk: add support for Python 3.10 and make it the default
</span>---
science/volk/Portfile | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/volk/Portfile b/science/volk/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index ea309f599f3..dea1f519235 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/science/volk/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/volk/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -110,7 +110,7 @@ configure.cppflags-delete -I${prefix}/include
</span> # specify the Python dependencies; these are checked for at configure,
# then used for building, but not at runtime.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-set pythons_suffixes {35 36 37 38 39}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set pythons_suffixes {35 36 37 38 39 310}
</span>
set pythons_ports {}
foreach s ${pythons_suffixes} {
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -121,7 +121,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}/site-packages]
}
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -130,7 +130,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 "Build Volk using Python ${v}" conflicts {*}${c} "
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -153,7 +153,7 @@ foreach s ${pythons_suffixes} {
</span> }
if {![variant_isset debug]} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- set selected_python python38
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set selected_python python310
</span> foreach s ${pythons_suffixes} {
if {[variant_isset python${s}]} {
set selected_python python${s}
</pre><pre style='margin:0'>
</pre>