Package: python-nxs / 4.4.1-8

Metadata

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

Patch series

view the series file
Patch File delta Description
0001 python syntaxwarning.patch | (download)

nxs/napi.py | 2 1 + 1 - 0 !
nxs/tree.py | 2 1 + 1 - 0 !
2 files changed, 2 insertions(+), 2 deletions(-)

 python-syntaxwarning


0002 python3 compat.patch | (download)

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

 python 3 print statements

0003 python3 compat 2.patch | (download)

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

 python 3 print statements

0004 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.

0005 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.

0006 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.

0007 remove_six.patch | (download)

nxs/napi.py | 3 1 + 2 - 0 !
1 file changed, 1 insertion(+), 2 deletions(-)

 remove_six


0008 Omit _pack_ from struct definition.patch | (download)

nxs/napi.py | 1 0 + 1 - 0 !
1 file changed, 1 deletion(-)

 omit _pack_ from struct definition