python3-bitarray: Upgrade 1.7.1 -> 1.8.0

Upgrade to release 1.8.0:

- Add `bitarray.util.serialize()` and `bitarray.util.deserialize()`
- Allow whitespace (ignore space and `\n\r\t\v`) in input strings,
  e.g. `bitarray('01 11')` or `a += '10 00'`
- Add `bitarray.util.pprint()`
- When initializing a bitarray from another with different bit
  endianness, e.g. `a = bitarray('110', 'little')` and
  `b = bitarray(a, 'big')`, the buffer used to be simply copied,
  with consequence that `a == b` would result in `False`.  This is
  fixed now, that is `a == b` will always evaluate to `True`.
- Add example showing how to jsonize bitarrays
- Add tests

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
This commit is contained in:
Leon Anavi
2021-03-23 18:33:08 +02:00
committed by Khem Raj
parent c8bd8cd172
commit 81bcc422d2

View File

@@ -0,0 +1,10 @@
SUMMARY = "A high-level Python efficient arrays of booleans -- C extension"
HOMEPAGE = "https://github.com/ilanschnell/bitarray"
LICENSE = "PSF"
LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=2ad702cdcd49e8d2ac01d7e7d0810d2d"
SRC_URI[sha256sum] = "fe4444d92b17073bf1f9f24e3015a0e5bb70a645c47df93ef8a9ce8be33fcbad"
inherit setuptools3 pypi
BBCLASSEXTEND = "native nativesdk"