<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/6123c8b514de494a78ec091bd5ec8191cfd2d573">https://github.com/macports/macports-ports/commit/6123c8b514de494a78ec091bd5ec8191cfd2d573</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 6123c8b gnuradio: add python37 variant
</span>6123c8b is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 6123c8b514de494a78ec091bd5ec8191cfd2d573
</span>Author: Stephen Larew <stephen@slarew.net>
AuthorDate: Sun Mar 3 10:48:40 2019 -0500
<span style='display:block; white-space:pre;color:#404040;'> gnuradio: add python37 variant
</span>---
science/gnuradio/Portfile | 21 +++++++++++++--------
1 file changed, 13 insertions(+), 8 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/gnuradio/Portfile b/science/gnuradio/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 6d9970f..1f4f4c6 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/science/gnuradio/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/gnuradio/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -205,23 +205,26 @@ if {${subport} eq "gnuradio-next"} {
</span>
# select Python to use; default to 2.7
<span style='display:block; white-space:pre;background:#ffe0e0;'>- variant python27 conflicts python34 python35 python36 description {Build GNU Radio using Python 2.7} {}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- variant python34 conflicts python27 python35 python36 description {Build GNU Radio using Python 3.4} {}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- variant python35 conflicts python27 python34 python36 description {Build GNU Radio using Python 3.5} {}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- variant python36 conflicts python27 python34 python35 description {Build GNU Radio using Python 3.6} {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ variant python27 conflicts python34 python35 python36 python37 description {Build GNU Radio using Python 2.7} {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ variant python34 conflicts python27 python35 python36 python37 description {Build GNU Radio using Python 3.4} {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ variant python35 conflicts python27 python34 python36 python37 description {Build GNU Radio using Python 3.5} {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ variant python36 conflicts python27 python34 python35 python37 description {Build GNU Radio using Python 3.6} {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ variant python37 conflicts python27 python34 python35 python36 description {Build GNU Radio using Python 3.7} {}
</span>
if {![variant_isset python27] &&
![variant_isset python34] &&
![variant_isset python35] &&
<span style='display:block; white-space:pre;background:#ffe0e0;'>- ![variant_isset python36]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ![variant_isset python36] &&
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ![variant_isset python37]} {
</span> default_variants +python27
}
if {![variant_isset python27] &&
![variant_isset python34] &&
![variant_isset python35] &&
<span style='display:block; white-space:pre;background:#ffe0e0;'>- ![variant_isset python36]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ui_error "\n\nYou must select one of the variants +python27 , +python34 , +python35, or +python36. .\n"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ![variant_isset python36] &&
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ![variant_isset python37]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ui_error "\n\nYou must select one of the variants +python27 , +python34 , +python35, +python36, or +python37. .\n"
</span> return -code error "Invalid variant selection"
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -231,8 +234,10 @@ if {${subport} eq "gnuradio-next"} {
</span> set PythonVersionNoDot "34"
} elseif {[variant_isset python35]} {
set PythonVersionNoDot "35"
<span style='display:block; white-space:pre;background:#ffe0e0;'>- } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } elseif {[variant_isset python36]} {
</span> set PythonVersionNoDot "36"
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set PythonVersionNoDot "37"
</span> }
} else {
# for now: release and devel require Python 2.7
</pre><pre style='margin:0'>
</pre>