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,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:341e308be33a3bed400f56a5e9ffdff066b6640812bf7317d0c1272c9694e1d6
|
|
||||||
size 73969
|
|
3
bitarray-1.9.2.tar.gz
Normal file
3
bitarray-1.9.2.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:2c36b2c6a5682b49c7649a4e5188d799b4068ee24ca19b89cced4c4b74fd1802
|
||||||
|
size 93609
|
@@ -1,3 +1,54 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Apr 10 07:45:02 UTC 2021 - Martin Hauke <mardnh@gmx.de>
|
||||||
|
|
||||||
|
- 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)
|
||||||
|
- Update to 1.7.1
|
||||||
|
* Raise TypeError when incorrect index is used during
|
||||||
|
assignment, e.g. ``a[1.5] = 1``
|
||||||
|
* raise TypeError (not IndexError) when assigning slice to
|
||||||
|
incorrect type, e.g. ``a[1:4] = 1.2``
|
||||||
|
* improve some docstrings and tests
|
||||||
|
- Update to 1.7.0
|
||||||
|
* add ``bitarray.util.urandom()``
|
||||||
|
* raise TypeError when trying to extend bitarrays from bytes
|
||||||
|
on Python 3, ie. ``bitarray(b'011')`` and ``.extend(b'110')``.
|
||||||
|
(Deprecated since 1.4.1)
|
||||||
|
- Update to 1.6.2
|
||||||
|
* use ``Py_SET_TYPE()`` and ``Py_SET_SIZE()`` for Python 3.10
|
||||||
|
* add official Python 3.10 support
|
||||||
|
* fix slice assignment to same object,
|
||||||
|
e.g. ``a[2::] = a`` or ``a[::-1] = a``,
|
||||||
|
* add bitarray.h,
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Nov 6 10:48:49 UTC 2020 - Martin Hauke <mardnh@gmx.de>
|
Fri Nov 6 10:48:49 UTC 2020 - Martin Hauke <mardnh@gmx.de>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-bitarray
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-bitarray
|
Name: python-bitarray
|
||||||
Version: 1.6.1
|
Version: 1.9.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Efficient Arrays of Booleans
|
Summary: Efficient Arrays of Booleans
|
||||||
License: Python-2.0
|
License: Python-2.0
|
||||||
@@ -28,6 +28,7 @@ BuildRequires: %{python_module devel}
|
|||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
# SECTION test requirements
|
# SECTION test requirements
|
||||||
BuildRequires: %{python_module dbm}
|
BuildRequires: %{python_module dbm}
|
||||||
|
BuildRequires: %{python_module pytest}
|
||||||
# /SECTION
|
# /SECTION
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
@@ -64,7 +65,7 @@ rm examples/growth/.gitignore
|
|||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc examples AUTHORS CHANGE_LOG README.md TODO
|
%doc examples CHANGE_LOG README.rst TODO
|
||||||
%{python_sitearch}/bitarray*
|
%{python_sitearch}/bitarray*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user