From 75bf9a83945b2621ec84df14863b39a4f274b0723cb52e510ed4031909c22e6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Sat, 12 Jun 2021 10:05:57 +0000 Subject: [PATCH] Accepting request 899584 from home:mnhauke - Update to 2.1.1 * add type hinting (see PEP 484, 561) using stub (`.pyi`) files - Update to 2.1.0 * add `.find()` method, see #122 * `.find()`, `.index()`, `.search()` and `.itersearch()` now all except both (sub-) bitarray as well as bool items to be searched for * improve encode/decode error messages * add [lexicographical permutations example](../examples/lexico.py) - Update to 2.0.1 * update documentation * improve some error messages - Update to 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 [hexadecimal example](../examples/hexadecimal.py) OBS-URL: https://build.opensuse.org/request/show/899584 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bitarray?expand=0&rev=15 --- bitarray-1.9.2.tar.gz | 3 --- bitarray-2.1.1.tar.gz | 3 +++ python-bitarray.changes | 27 +++++++++++++++++++++++++++ python-bitarray.spec | 4 ++-- 4 files changed, 32 insertions(+), 5 deletions(-) delete mode 100644 bitarray-1.9.2.tar.gz create mode 100644 bitarray-2.1.1.tar.gz diff --git a/bitarray-1.9.2.tar.gz b/bitarray-1.9.2.tar.gz deleted file mode 100644 index bc73af7..0000000 --- a/bitarray-1.9.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2c36b2c6a5682b49c7649a4e5188d799b4068ee24ca19b89cced4c4b74fd1802 -size 93609 diff --git a/bitarray-2.1.1.tar.gz b/bitarray-2.1.1.tar.gz new file mode 100644 index 0000000..bbf35d4 --- /dev/null +++ b/bitarray-2.1.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:77a9e94fe775b92bbcd58567d9c88092af2c2a70bf28525c08d178b69bc49e6c +size 101560 diff --git a/python-bitarray.changes b/python-bitarray.changes index e7a6adf..b4ad698 100644 --- a/python-bitarray.changes +++ b/python-bitarray.changes @@ -1,3 +1,30 @@ +------------------------------------------------------------------- +Sat Jun 12 08:07:51 UTC 2021 - Martin Hauke + +- Update to 2.1.1 + * add type hinting (see PEP 484, 561) using stub (`.pyi`) files +- Update to 2.1.0 + * add `.find()` method, see #122 + * `.find()`, `.index()`, `.search()` and `.itersearch()` now all + except both (sub-) bitarray as well as bool items to be + searched for + * improve encode/decode error messages + * add [lexicographical permutations example](../examples/lexico.py) +- Update to 2.0.1 + * update documentation + * improve some error messages +- Update to 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 [hexadecimal example](../examples/hexadecimal.py) + ------------------------------------------------------------------- Sat Apr 10 07:45:02 UTC 2021 - Martin Hauke diff --git a/python-bitarray.spec b/python-bitarray.spec index 13ab6fa..b55ab0d 100644 --- a/python-bitarray.spec +++ b/python-bitarray.spec @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-bitarray -Version: 1.9.2 +Version: 2.1.1 Release: 0 Summary: Efficient Arrays of Booleans License: Python-2.0 @@ -65,7 +65,7 @@ rm examples/growth/.gitignore %files %{python_files} %license LICENSE -%doc examples CHANGE_LOG README.rst TODO +%doc examples CHANGE_LOG README.rst %{python_sitearch}/bitarray* %changelog