<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/782283b3896550035658d8db673781c710bb101d">https://github.com/macports/macports-ports/commit/782283b3896550035658d8db673781c710bb101d</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 782283b3896 spot: prepare for Python 3.10
</span>782283b3896 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 782283b3896550035658d8db673781c710bb101d
</span>Author: Christopher Chavez <chrischavez@gmx.us>
AuthorDate: Sun Jun 13 06:59:46 2021 -0500
<span style='display:block; white-space:pre;color:#404040;'> spot: prepare for Python 3.10
</span>---
science/spot/Portfile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/spot/Portfile b/science/spot/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 4a6a5f9cd27..7e0395f0234 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/science/spot/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/spot/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -32,7 +32,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;'>@@ -41,7 +41,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}]
set packagepath ${destroot}${frameworks_dir}/Python.framework/Versions/${v}/lib/python${v}
</pre><pre style='margin:0'>
</pre>