<pre style='margin:0'>
ra1nb0w (ra1nb0w) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/da963c2c22a313617b24cd9b91cc6670b0f40f79">https://github.com/macports/macports-ports/commit/da963c2c22a313617b24cd9b91cc6670b0f40f79</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit da963c2c22a313617b24cd9b91cc6670b0f40f79
</span>Author: Davide Gerhard <ra1nb0w@macports.org>
AuthorDate: Mon Dec 20 17:12:27 2021 +0100
<span style='display:block; white-space:pre;color:#404040;'> PothosLiquidDSP: use python 3.9 as default
</span>---
science/PothosLiquidDSP/Portfile | 38 +++++++++++++++++++++-----------------
1 file changed, 21 insertions(+), 17 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/PothosLiquidDSP/Portfile b/science/PothosLiquidDSP/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 0fa0575aee5..de790bed528 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/science/PothosLiquidDSP/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/PothosLiquidDSP/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -26,30 +26,34 @@ compiler.cxx_standard 2011
</span> # set Python version and variants
set PythonVersionNoDot ""
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# select Python to use; default to 3.6
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python35 conflicts python36 python37 description {Build using Python 3.5} {}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python36 conflicts python35 python37 description {Build using Python 3.6} {}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python37 conflicts python35 python36 description {Build using Python 3.7} {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python37 conflicts python38 python39 python310 description {Build using Python 3.7} {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python38 conflicts python37 python39 python310 description {Build using Python 3.8} {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python39 conflicts python37 python38 python310 description {Build using Python 3.9} {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python310 conflicts python37 python38 python39 description {Build using Python 3.10} {}
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-if {![variant_isset python35] &&
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ![variant_isset python36] &&
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ![variant_isset python37]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- default_variants +python37
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {![variant_isset python37] &&
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ![variant_isset python38] &&
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ![variant_isset python39] &&
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ![variant_isset python310]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ default_variants +python39
</span> }
<span style='display:block; white-space:pre;background:#ffe0e0;'>-if {![variant_isset python35] &&
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ![variant_isset python36] &&
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ![variant_isset python37]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ui_error "\n\nYou must select one of the variants +python35, +python36, or +python37.\n"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {![variant_isset python37] &&
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ![variant_isset python38] &&
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ![variant_isset python39] &&
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ![variant_isset python310]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ui_error "\n\nYou must select one of the variants +python37, +python38, +python39, or +python310.\n"
</span> return -code error "Invalid variant selection"
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-if {[variant_isset python35]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set PythonVersionNoDot "35"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-} elseif {[variant_isset python36]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set PythonVersionNoDot "36"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-} else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {[variant_isset python37]} {
</span> set PythonVersionNoDot "37"
<span style='display:block; white-space:pre;background:#e0ffe0;'>+} elseif {[variant_isset python38]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set PythonVersionNoDot "38"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+} elseif {[variant_isset python310]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set PythonVersionNoDot "310"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+} else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set PythonVersionNoDot "39"
</span> }
set PythonVersionWithDot [join [split ${PythonVersionNoDot} ""] "."]
</pre><pre style='margin:0'>
</pre>