Package: python-nxs / 4.4.1-3

Metadata

Package Version Patches format
python-nxs 4.4.1-3 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
python3 compat.patch | (download)

nxs/tree.py | 12 6 + 6 - 0 !
1 file changed, 6 insertions(+), 6 deletions(-)

 python 3 print statements
 Fix up the print statements for Python 3.
python3 compat 2.patch | (download)

nxs/unit.py | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 python 3 print statements
 Fix up the print statements for Python 3.
simple loader.patch | (download)

nxs/napi.py | 43 6 + 37 - 0 !
1 file changed, 6 insertions(+), 37 deletions(-)

 find libnexus by name and in multi-arch paths
 CDLL already has a path search facility that looks in the standard
 paths and gets multi-arch paths correct; the path search code in nxs
 gets this wrong and so for unix at least, it's best to just rip it
 all out.
ctypes unicode.patch | (download)

nxs/napi.py | 71 49 + 22 - 0 !
1 file changed, 49 insertions(+), 22 deletions(-)

 fix handling of str/bytes through ctypes
 libNeXus uses bytes for all the c_char types not Python strings. The
 encoding/decoding interface is defined as the call into the CDLL, that
 is everything in Python code is in strings, except for the immediate
 call into the CDLL. Encoding to bytes / decoding from bytes is done
 via a specified encoding, defaulting to UTF-8.
skip mxml tests.patch | (download)

nxs/test/napi/test_file_creation.py | 6 6 + 0 - 0 !
1 file changed, 6 insertions(+)

 skip tests that use libmxml
 The current version of nexus is not compatible with the libmxml 3 and so
 mxml support is disabled in the library.