<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/324d176d87a2b464e0ecb4aef15cfb1b24468eab">https://github.com/macports/macports-ports/commit/324d176d87a2b464e0ecb4aef15cfb1b24468eab</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 324d176  gr-lora: change variants to subports.
</span>324d176 is described below

<span style='display:block; white-space:pre;color:#808000;'>commit 324d176d87a2b464e0ecb4aef15cfb1b24468eab
</span>Author: Michael Dickens <michaelld@macports.org>
AuthorDate: Wed Feb 28 09:40:46 2018 -0500

<span style='display:block; white-space:pre;color:#404040;'>    gr-lora: change variants to subports.
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    Replace the default gr-lora by gr-lora-rpp0.
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    Closes: https://trac.macports.org/ticket/55286
</span>---
 science/gr-lora/Portfile | 35 +++++++++++++++++------------------
 1 file changed, 17 insertions(+), 18 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/gr-lora/Portfile b/science/gr-lora/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 19cf581..ee986cc 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/science/gr-lora/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/gr-lora/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -7,22 +7,15 @@ PortGroup  active_variants 1.1
</span> PortGroup  cxx11 1.1
 
 name       gr-lora
<span style='display:block; white-space:pre;background:#e0ffe0;'>+version    20180131
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision   1
</span> 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant BastilleResearch conflicts rpp0 description "Install gr-lora from BastilleResearch" {}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-variant rpp0 conflicts BastilleResearch description "Install gr-lora from rpp0" {}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# set default variant if none selected
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-if {![variant_isset BastilleResearch] && ![variant_isset rpp0]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    default_variants +rpp0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# make sure -${default_variant} is not set
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-if {![variant_isset BastilleResearch] && ![variant_isset rpp0]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    ui_msg "\nError: ${name} requires selection of variant +BastilleResearch or +rpp0.\n"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    return -code error "Invalid variant."
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${subport} eq ${name}} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    replaced_by gr-lora-rpp0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    PortGroup   obsolete 1.0
</span> }
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-if {[variant_isset BastilleResearch]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+subport gr-lora-BastilleResearch {
</span> 
     github.setup BastilleResearch gr-lora d587169a9676ad0f9ebf85e6a840f3955b3976d7
     version      20170713
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -30,13 +23,19 @@ if {[variant_isset BastilleResearch]} {
</span>     checksums    rmd160 99f82eb4e57eb59c863598b6a5e58f3632edc769 \
                  sha256 e1958cfe15e5ff3542e4df3dc7e626751321957cd2ff0122723d6a86d845cf6c
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-} elseif {[variant_isset rpp0]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    conflicts gr-lora-rpp0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+subport gr-lora-rpp0 {
</span> 
     github.setup rpp0 gr-lora 60e94eda37d9e9dcbcfa5b492c3f37e8d2fe06fa
     version      20180131
     checksums    rmd160 d19e3caa76e92920dba65ffc05207210bdab8b41 \
                  sha256 584edfd5cac322eeca2651260a7cfd32ca7bd1fefc8480957b912649edfadb69
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+    conflicts gr-lora-BastilleResearch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span>     depends_lib-append \
         port:liquid-dsp \
         port:wireshark
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -65,7 +64,7 @@ if {[variant_isset BastilleResearch]} {
</span>     }
 }
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# allow gr-lora to work with both gnuradio and gnuradio-devel ...
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# allow gr-lora-* to work with both gnuradio and gnuradio-devel ...
</span> 
 depends_lib-append  path:lib/libgnuradio-runtime.dylib:gnuradio
 
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -73,15 +72,15 @@ depends_lib-append  path:lib/libgnuradio-runtime.dylib:gnuradio
</span> 
 pre-fetch {
     if {![catch {set installed [lindex [registry_active gnuradio-next] 0]}]} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>-        # gnuradio-next is installed; this version of gr-lora does not work with gnuradio-next
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        ui_msg "\nError: ${name} requires the gnuradio or gnuradio-devel port, and will not work with the gnuradio-next port.  deactivate gnuradio-next, and then install or activate gnuradio or gnuradio-devel.\n"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        # gnuradio-next is installed; this version of gr-lora-* does not work with gnuradio-next
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        ui_msg "\nError: ${subport} requires the gnuradio or gnuradio-devel port, and will not work with the gnuradio-next port.  deactivate gnuradio-next, and then install or activate gnuradio or gnuradio-devel.\n"
</span>         return -code error "Invalid port dependency: gnuradio-next"
     }
 }
 
 categories       science comms
 maintainers      {michaelld @michaelld} openmaintainer
<span style='display:block; white-space:pre;background:#ffe0e0;'>-description      Provides augmented functionality (blocks, GRC definitions, apps, etc) for GNU Radio.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description      Provides an open-source implementation of the LoRa CSS PHY.
</span> long_description ${description}
 license          GPL-3
 platforms        darwin
</pre><pre style='margin:0'>

</pre>