forked from pool/python-bitarray
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
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user