diff options
| author | Leon Anavi <leon.anavi@konsulko.com> | 2021-04-15 10:22:28 +0300 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2021-04-21 08:26:06 -0700 |
| commit | ef48a2e1b925b5dd8fef1a358b17973d9c459706 (patch) | |
| tree | e376f2643aa31ae8e07e16289e702f7d986d76f8 /meta-python | |
| parent | 3a527bf506051d6178dafb6d2ce33c019486fbee (diff) | |
| download | meta-openembedded-ef48a2e1b925b5dd8fef1a358b17973d9c459706.tar.gz | |
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 <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Diffstat (limited to 'meta-python')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-bitarray_2.0.0.bb (renamed from meta-python/recipes-devtools/python/python3-bitarray_1.9.2.bb) | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-python/recipes-devtools/python/python3-bitarray_1.9.2.bb b/meta-python/recipes-devtools/python/python3-bitarray_2.0.0.bb index 0716e8e1d8..5c00d7df66 100644 --- a/meta-python/recipes-devtools/python/python3-bitarray_1.9.2.bb +++ b/meta-python/recipes-devtools/python/python3-bitarray_2.0.0.bb | |||
| @@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/ilanschnell/bitarray" | |||
| 3 | LICENSE = "PSF" | 3 | LICENSE = "PSF" |
| 4 | LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=2ad702cdcd49e8d2ac01d7e7d0810d2d" | 4 | LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=2ad702cdcd49e8d2ac01d7e7d0810d2d" |
| 5 | 5 | ||
| 6 | SRC_URI[sha256sum] = "d7a49d21ae04c5af195023b140800186ebf208e3a4fc5b21a1389531cb7a7170" | 6 | SRC_URI[sha256sum] = "ee13850d3237c254c7af8acce2f1a044a1c4f22dcec5380cba7443c8be38f701" |
| 7 | 7 | ||
| 8 | inherit setuptools3 pypi | 8 | inherit setuptools3 pypi |
| 9 | 9 | ||
