From ef48a2e1b925b5dd8fef1a358b17973d9c459706 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Thu, 15 Apr 2021 10:22:28 +0300 Subject: python3-bitarray: Upgrade 1.9.2 -> 2.0.0 Upgrade to release 2.0.0: - require more specific objects, int (0 or 1) or bool - items are always returned as int 0 or 1 - remove `.length()` method (deprecated since 1.5.1 - use `len()`) - in `.unpack()` the `one` argument now defaults to 0x01 (was 0xff) - `.tolist()` now always returns a list of integers (0 or 1) - fix frozenbitarray hash function, see #121 - fix frozenbitarray being mutable by `<<=` and `>>=` - support sequence protocol in `.extend()` (and bitarray creation) - improve OverflowError messages from `util.int2ba()` - add examples/hexadecimal.py Signed-off-by: Leon Anavi Signed-off-by: Khem Raj Signed-off-by: Trevor Gamblin --- meta-python/recipes-devtools/python/python3-bitarray_2.0.0.bb | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-bitarray_2.0.0.bb (limited to 'meta-python/recipes-devtools/python/python3-bitarray_2.0.0.bb') diff --git a/meta-python/recipes-devtools/python/python3-bitarray_2.0.0.bb b/meta-python/recipes-devtools/python/python3-bitarray_2.0.0.bb new file mode 100644 index 0000000000..5c00d7df66 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-bitarray_2.0.0.bb @@ -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] = "ee13850d3237c254c7af8acce2f1a044a1c4f22dcec5380cba7443c8be38f701" + +inherit setuptools3 pypi + +BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf