[MacPorts] #48107: py-visa @1.4 update to 1.5

MacPorts noreply at macports.org
Sun Jul 12 13:11:10 PDT 2015


#48107: py-visa @1.4 update to 1.5
----------------------------------+--------------------------------
  Reporter:  joshuacookebarnes@…  |      Owner:  macports-tickets@…
      Type:  update               |     Status:  new
  Priority:  Normal               |  Milestone:
 Component:  ports                |    Version:
Resolution:                       |   Keywords:  haspatch
      Port:  py-visa              |
----------------------------------+--------------------------------

Comment (by joshuacookebarnes@…):

 Ok, I've managed to get tests to pass, with a few patches, mainly to fix
 broken `import` statements.

 However, I also needed to patch a broken atexit function in
 `pyvisa.legacy.visa`, which was trying to use a `resource_manager` which
 turned out to be `None` at call. I'm not completely sure that this doesn't
 simply hide a broken test, rather than just get the test to run correctly.

 Finally, the tests will only pass if the location of the visa shared
 library is set by a `~/.pyvisarc` file.
 It might be worth patching to look for the library in the default Darwin
 install location (`/Library/Frameworks/VISA.framework/VISA`), but I
 haven't bothered so far.

-- 
Ticket URL: <https://trac.macports.org/ticket/48107#comment:5>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list