<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/062c62b12a863fbc3af7e209a2ae028182b52730">https://github.com/macports/macports-ports/commit/062c62b12a863fbc3af7e209a2ae028182b52730</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 062c62b gnuradio-next: update to 20190929-55c55fe3
</span>062c62b is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 062c62b12a863fbc3af7e209a2ae028182b52730
</span>Author: Michael Dickens <michaelld@macports.org>
AuthorDate: Mon Oct 14 20:39:20 2019 -0400
<span style='display:block; white-space:pre;color:#404040;'> gnuradio-next: update to 20190929-55c55fe3
</span>---
science/gnuradio/Portfile | 17 ++--
...h-fix-GNURadioControlPortClient-usage.next.diff | 105 +--------------------
.../patch-fix-pycallback_object-string.next.diff | 15 ---
3 files changed, 10 insertions(+), 127 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 b80c323..fe63310 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;'>@@ -77,12 +77,12 @@ subport gnuradio-next {
</span> name gnuradio-next
conflicts gnuradio gnuradio-devel
<span style='display:block; white-space:pre;background:#ffe0e0;'>- github.setup gnuradio gnuradio 41348a2b6f7cdb200a88dbcfba936e5a438094c6
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- version 20190814-[string range ${github.version} 0 7]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- checksums rmd160 c8b689116c8ecc9a596641d94cac05046e489380 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 c85080a1713586467574ab0968b5bc802cc34f23027f0f492a15ab3048ed6315 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 3368359
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- revision 3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ github.setup gnuradio gnuradio 55c55fe3e17d556484ed9139e8e941a0da00f9c4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ version 20190929-[string range ${github.version} 0 7]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums rmd160 8035e367fbdf8c8c50e805181a513d42fa2a6889 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 78f38c03fd7e624b3891ca3f81279252bad34c02c784cb659ad5b4dedea506c4 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 3369672
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ revision 0
</span>
# set the version override string
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -205,11 +205,6 @@ if {${subport} eq "gnuradio"} {
</span> patchfiles-append \
patch-fix-GNURadioControlPortClient-usage.next.diff
<span style='display:block; white-space:pre;background:#ffe0e0;'>- # temporary patch to fix pycallback_object string setting
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- patchfiles-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- patch-fix-pycallback_object-string.next.diff
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> }
# override githib PortGroup homepage setting
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/gnuradio/files/patch-fix-GNURadioControlPortClient-usage.next.diff b/science/gnuradio/files/patch-fix-GNURadioControlPortClient-usage.next.diff
</span><span style='display:block; white-space:pre;color:#808080;'>index 97c8d22..a543cea 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/science/gnuradio/files/patch-fix-GNURadioControlPortClient-usage.next.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/gnuradio/files/patch-fix-GNURadioControlPortClient-usage.next.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,100 +1,3 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- gr-blocks/python/blocks/qa_cpp_py_binding.py.orig
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ gr-blocks/python/blocks/qa_cpp_py_binding.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -155,11 +155,10 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ep = gr.rpcmanager_get().endpoints()[0]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- hostname = re.search(r"-h (\S+|\d+\.\d+\.\d+\.\d+)", ep).group(1)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- portnum = re.search(r"-p (\d+)", ep).group(1)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- argv = [None, hostname, portnum]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Initialize a simple ControlPort client from endpoint
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- from gnuradio.ctrlport.GNURadioControlPortClient import GNURadioControlPortClient
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- radiosys = GNURadioControlPortClient(argv=argv, rpcmethod='thrift')
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ radiosys = GNURadioControlPortClient(hostname, portnum, 'thrift')
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- radio = radiosys.client
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Get all exported knobs
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- gr-blocks/python/blocks/qa_cpp_py_binding_set.py.orig
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ gr-blocks/python/blocks/qa_cpp_py_binding_set.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -122,11 +122,10 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ep = gr.rpcmanager_get().endpoints()[0]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- hostname = re.search(r"-h (\S+|\d+\.\d+\.\d+\.\d+)", ep).group(1)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- portnum = re.search(r"-p (\d+)", ep).group(1)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- argv = [None, hostname, portnum]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Initialize a simple ControlPort client from endpoint
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- from gnuradio.ctrlport.GNURadioControlPortClient import GNURadioControlPortClient
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- radiosys = GNURadioControlPortClient(argv=argv, rpcmethod='thrift')
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ radiosys = GNURadioControlPortClient(hostname, portnum, 'thrift')
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- radio = radiosys.client
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- self.tb.start()
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- gr-blocks/python/blocks/qa_ctrlport_probes.py.orig
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ gr-blocks/python/blocks/qa_ctrlport_probes.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -60,11 +60,10 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ep = gr.rpcmanager_get().endpoints()[0]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- hostname = re.search(r"-h (\S+|\d+\.\d+\.\d+\.\d+)", ep).group(1)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- portnum = re.search(r"-p (\d+)", ep).group(1)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- argv = [None, hostname, portnum]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Initialize a simple ControlPort client from endpoint
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- from gnuradio.ctrlport.GNURadioControlPortClient import GNURadioControlPortClient
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- radiosys = GNURadioControlPortClient(argv=argv, rpcmethod='thrift')
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ radiosys = GNURadioControlPortClient(hostname, portnum, 'thrift')
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- radio = radiosys.client
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Get all exported knobs
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -101,11 +100,10 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ep = gr.rpcmanager_get().endpoints()[0]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- hostname = re.search(r"-h (\S+|\d+\.\d+\.\d+\.\d+)", ep).group(1)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- portnum = re.search(r"-p (\d+)", ep).group(1)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- argv = [None, hostname, portnum]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Initialize a simple ControlPort client from endpoint
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- from gnuradio.ctrlport.GNURadioControlPortClient import GNURadioControlPortClient
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- radiosys = GNURadioControlPortClient(argv=argv, rpcmethod='thrift')
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ radiosys = GNURadioControlPortClient(hostname, portnum, 'thrift')
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- radio = radiosys.client
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Get all exported knobs
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -141,11 +139,10 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ep = gr.rpcmanager_get().endpoints()[0]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- hostname = re.search(r"-h (\S+|\d+\.\d+\.\d+\.\d+)", ep).group(1)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- portnum = re.search(r"-p (\d+)", ep).group(1)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- argv = [None, hostname, portnum]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Initialize a simple ControlPort client from endpoint
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- from gnuradio.ctrlport.GNURadioControlPortClient import GNURadioControlPortClient
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- radiosys = GNURadioControlPortClient(argv=argv, rpcmethod='thrift')
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ radiosys = GNURadioControlPortClient(hostname, portnum, 'thrift')
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- radio = radiosys.client
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Get all exported knobs
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -182,11 +179,10 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ep = gr.rpcmanager_get().endpoints()[0]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- hostname = re.search(r"-h (\S+|\d+\.\d+\.\d+\.\d+)", ep).group(1)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- portnum = re.search(r"-p (\d+)", ep).group(1)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- argv = [None, hostname, portnum]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Initialize a simple ControlPort client from endpoint
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- from gnuradio.ctrlport.GNURadioControlPortClient import GNURadioControlPortClient
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- radiosys = GNURadioControlPortClient(argv=argv, rpcmethod='thrift')
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ radiosys = GNURadioControlPortClient(hostname, portnum, 'thrift')
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- radio = radiosys.client
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Get all exported knobs
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -222,11 +218,10 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ep = gr.rpcmanager_get().endpoints()[0]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- hostname = re.search(r"-h (\S+|\d+\.\d+\.\d+\.\d+)", ep).group(1)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- portnum = re.search(r"-p (\d+)", ep).group(1)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- argv = [None, hostname, portnum]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Initialize a simple ControlPort client from endpoint
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- from gnuradio.ctrlport.GNURadioControlPortClient import GNURadioControlPortClient
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- radiosys = GNURadioControlPortClient(argv=argv, rpcmethod='thrift')
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ radiosys = GNURadioControlPortClient(hostname, portnum, 'thrift')
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- radio = radiosys.client
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Get all exported knobs
</span> --- gr-blocks/examples/ctrlport/simple_copy_controller.py.orig
+++ gr-blocks/examples/ctrlport/simple_copy_controller.py
@@ -13,8 +13,7 @@
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -103,7 +6,7 @@
</span> msg = args[3].lower()
-argv = [None, hostname, portnum]
-radiosys = GNURadioControlPortClient(argv=argv, rpcmethod='thrift')
<span style='display:block; white-space:pre;background:#ffe0e0;'>-+radiosys = GNURadioControlPortClient(hostname, portnum, 'thrift')
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++radiosys = GNURadioControlPortClient(hostname, portnum, rpcmethod='thrift')
</span> radio = radiosys.client
if(msg == 'true'):
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -115,7 +18,7 @@
</span>
-argv = [None, args.host, args.port]
-radiosys = GNURadioControlPortClient(argv=argv, rpcmethod='thrift')
<span style='display:block; white-space:pre;background:#ffe0e0;'>-+radiosys = GNURadioControlPortClient(args.host, args.port, 'thrift')
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++radiosys = GNURadioControlPortClient(args.host, args.port, rpcmethod='thrift')
</span> radio = radiosys.client
radio.postMessage(args.alias, port, pmt.cons(pmt.intern(cmd), val))
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -127,7 +30,7 @@
</span>
-argv = [None, args.host, args.port]
-radiosys = GNURadioControlPortClient(argv=argv, rpcmethod='thrift')
<span style='display:block; white-space:pre;background:#ffe0e0;'>-+radiosys = GNURadioControlPortClient(args.host, args.port, 'thrift')
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++radiosys = GNURadioControlPortClient(args.host, args.port, rpcmethod='thrift')
</span> radio = radiosys.client
radio.postMessage(args.alias, port, pmt.cons(pmt.intern(cmd), val))
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -139,7 +42,7 @@
</span> def __init__(self, host, port):
- argv = [None, host, port]
- radiosys = GNURadioControlPortClient(argv=argv, rpcmethod='thrift')
<span style='display:block; white-space:pre;background:#ffe0e0;'>-+ radiosys = GNURadioControlPortClient(host, port, 'thrift')
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ radiosys = GNURadioControlPortClient(host, port, rpcmethod='thrift')
</span> self.radio = radiosys.client
print(self.radio)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/gnuradio/files/patch-fix-pycallback_object-string.next.diff b/science/gnuradio/files/patch-fix-pycallback_object-string.next.diff
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 65cd280..0000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/science/gnuradio/files/patch-fix-pycallback_object-string.next.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,15 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- gnuradio-runtime/include/gnuradio/pycallback_object.h.orig
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ gnuradio-runtime/include/gnuradio/pycallback_object.h
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -161,7 +161,11 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- template <>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- std::string pycallback_object<std::string>::pyCast(PyObject* obj)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#if PY_MAJOR_VERSION >= 3
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ return std::string(PyUnicode_AsUTF8(obj));
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#else
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- return std::string(PyString_AsString(obj));
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#endif
</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;'>- template <>
</span></pre><pre style='margin:0'>
</pre>