<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/cec371bfe212c146c34e03c600721e4c816fdb32">https://github.com/macports/macports-ports/commit/cec371bfe212c146c34e03c600721e4c816fdb32</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 cec371bfe21 SoapySDR: prepare for Python 3.10
</span>cec371bfe21 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit cec371bfe212c146c34e03c600721e4c816fdb32
</span>Author: Christopher Chavez <chrischavez@gmx.us>
AuthorDate: Sun Jun 13 05:31:09 2021 -0500
<span style='display:block; white-space:pre;color:#404040;'> SoapySDR: prepare for Python 3.10
</span>---
science/SoapySDR/Portfile | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/SoapySDR/Portfile b/science/SoapySDR/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 93464d479dd..d0196f56160 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/science/SoapySDR/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/SoapySDR/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -46,7 +46,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;'>@@ -55,7 +55,7 @@ proc python_dir {} {
</span>
foreach s ${pythons2_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 ${pythons2_ports} ${p}]
set c [lreplace ${pythons2_ports} ${i} ${i}]
variant ${p} description "Build SoapySDR using Python ${v}" conflicts {*}${c} "
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -77,7 +77,7 @@ foreach s ${pythons2_suffixes} {
</span>
foreach s ${pythons3_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 ${pythons3_ports} ${p}]
set c [lreplace ${pythons3_ports} ${i} ${i}]
variant ${p} description "Build SoapySDR using Python ${v}" conflicts {*}${c} "
</pre><pre style='margin:0'>
</pre>