[MacPorts] #52902: uhd: Add python 3.5

MacPorts noreply at macports.org
Tue Dec 6 17:36:37 CET 2016


#52902: uhd: Add python 3.5
--------------------------+-----------------------
  Reporter:  mf2k         |      Owner:  michaelld
      Type:  enhancement  |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:
Resolution:               |   Keywords:
      Port:  uhd          |
--------------------------+-----------------------

Comment (by michaelld):

 Looks like UHD isn't quite ready for Python 3.5 yet. Here's the error I
 get when I add a +python35 variant and select it:
 {{{
 :info:build [  6%] Generating
 /Development/local/10_12/var/macports/build/_Development_sources_MacPorts_ports_github_macports_science_uhd
 /uhd-devel/work/build/docs/nocscript_functions.dox
 :info:build cd
 /Development/local/10_12/var/macports/build/_Development_sources_MacPorts_ports_github_macports_science_uhd
 /uhd-devel/work/build/lib && /opt/local/bin/python3.5 -B
 /Development/local/10_12/var/macports/build/_Development_sources_MacPorts_ports_github_macports_science_uhd
 /uhd-devel/work/uhd-
 77cbd56a5d09b29720aa309a9c95765c01ec9c65/host/lib/rfnoc/nocscript/gen_basic_funcs.py
 /Development/local/10_12/var/macports/build/_Development_sources_MacPorts_ports_github_macports_science_uhd
 /uhd-devel/work/build/docs/nocscript_functions.dox
 :info:build
 /Development/local/10_12/var/macports/build/_Development_sources_MacPorts_ports_github_macports_science_uhd
 /uhd-devel/work/uhd-
 77cbd56a5d09b29720aa309a9c95765c01ec9c65/host/lib/rfnoc/nocscript/gen_basic_funcs.py:391:
 FutureWarning: split() requires a non-empty pattern match.
 :info:build   func_list_split =
 func_splitter_re.split(func_list_wo_comments)
 :info:build Traceback (most recent call last):
 :info:build   File
 "/Development/local/10_12/var/macports/build/_Development_sources_MacPorts_ports_github_macports_science_uhd
 /uhd-devel/work/uhd-
 77cbd56a5d09b29720aa309a9c95765c01ec9c65/host/lib/rfnoc/nocscript/gen_basic_funcs.py",
 line 474, in <module>
 :info:build     main()
 :info:build   File
 "/Development/local/10_12/var/macports/build/_Development_sources_MacPorts_ports_github_macports_science_uhd
 /uhd-devel/work/uhd-
 77cbd56a5d09b29720aa309a9c95765c01ec9c65/host/lib/rfnoc/nocscript/gen_basic_funcs.py",
 line 469, in main
 :info:build     write_manual_file(outfile)
 :info:build   File
 "/Development/local/10_12/var/macports/build/_Development_sources_MacPorts_ports_github_macports_science_uhd
 /uhd-devel/work/uhd-
 77cbd56a5d09b29720aa309a9c95765c01ec9c65/host/lib/rfnoc/nocscript/gen_basic_funcs.py",
 line 455, in write_manual_file
 :info:build     if not func_list_tree.has_key(func['category']):
 :info:build AttributeError: 'dict' object has no attribute 'has_key'
 :info:build make[2]: *** [docs/nocscript_functions.dox] Error 1
 }}}

--
Ticket URL: <https://trac.macports.org/ticket/52902#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list