forked from pool/python-bitarray
Accepting request 884188 from home:mnhauke
- Update to 1.9.2 * update pythoncapi_compat: Fix support with PyPy 3.7 - Update to 1.9.0 * add shift operations (``<<``, ``>>``, ``<<=``, ``>>=``) * add ``bitarray.util.ba2base()`` and ``bitarray.util.base2ba()``, - Update to 1.8.2 * fix crash caused by unsupported types in binary operations, * speedup initializing or extending a bitarray from another with different bit endianness. * add formatting options to ``bitarray.util.pprint()`` * add and improve tests (all 291 tests run in less than half a second on a modern machine) - Update to 1.8.1 * moved implementation of and ``hex2ba()`` and ``ba2hex()`` to C-level * add ``bitarray.util.parity()`` - Update to 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 test for loading existing pickle file (created using bitarray 1.5.0) OBS-URL: https://build.opensuse.org/request/show/884188 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bitarray?expand=0&rev=13
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-bitarray
|
||||
#
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-bitarray
|
||||
Version: 1.6.1
|
||||
Version: 1.9.2
|
||||
Release: 0
|
||||
Summary: Efficient Arrays of Booleans
|
||||
License: Python-2.0
|
||||
@@ -28,6 +28,7 @@ BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module dbm}
|
||||
BuildRequires: %{python_module pytest}
|
||||
# /SECTION
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
@@ -64,7 +65,7 @@ rm examples/growth/.gitignore
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
%doc examples AUTHORS CHANGE_LOG README.md TODO
|
||||
%doc examples CHANGE_LOG README.rst TODO
|
||||
%{python_sitearch}/bitarray*
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user