14
0

Accepting request 913269 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/913269
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-bitarray?expand=0&rev=10
This commit is contained in:
Richard Brown
2021-08-20 14:57:54 +00:00
committed by Git OBS Bridge
4 changed files with 56 additions and 4 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:74407a00273cd0c891bf975f128615e2cbdbbf1e082fca9b562f95928e575099
size 101719

3
bitarray-2.3.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b11d0000a9caf4dac4504d65fcafc8f1d76fc7b705b855633e0bcf268975dc60
size 121742

View File

@@ -1,3 +1,55 @@
-------------------------------------------------------------------
Thu Aug 19 12:55:23 UTC 2021 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 2.3.0
* add optional `buffer` argument to `bitarray()` to import the buffer of
another object, #141, #146, see also: [buffer protocol](buffer.rst)
* update `.buffer_info()` to include: a read-only flag, an imported buffer
flag, and the number of buffer exports
* add optional start and stop arguments to `util.rindex()`
* add [memory-mapped file](../examples/mmapped-file.py) example
* ignore underscore (`_`) in string input, e.g. `bitarray('1100_0111')`
* add missing type hinting for new `.bytereverse()` arguments
* fix `.extend()` type annotations, #145
* avoid `.reverse()` using temporary memory
* make `.unpack()`, `util.serialize()`, `util.vl_encode()`
and `.__reduce__()` more memory efficient
* add and improve tests
- from version 2.2.5
* speedup `find_bit()` and `find_last()` using uint64 checking, this means
a speedup for `.find()`, `.index()`, `.search()` and `util.rindex()`
* add optional start and stop arguments to `.bytereverse()`
* add example to illustrate how
[unaligned copying](../examples/copy_n.py) works internally
* add documentation
* add tests
- from version 2.2.4
* use shift operations to speedup all unaligned copy operations, #142
* expose functionality to Python level only in debug mode for testing
* add and improve tests
- from version 2.2.3
* speedup `repeat()`, #136
* speedup shift operations, #139
* optimize slice assignment with negative step, e.g.: `a[::-1] = 1`
* add tests
- from version 2.2.2
* speedup slice assignment, see #132 and #135
* speedup bitwise operations, #133
* optimize `getbit()` and `setbit()` in `bitarray.h`
* fix TypeError messages when bitarray or int (0, 1) are expected (bool
is a subclass of int)
* add and improve tests
- from version 2.2.1
* improve documentation
* speedup `vl_encode()`
* `bitarray.h`: make `getbit()` always an (inline) function
* add assertions in C code
- from version 2.2.0
* add `bitarray.util.vl_encode()` and `bitarray.util.vl_decode()` which
uses a [variable length bitarray format](variable_length.rst), #131
- from version 2.1.3
* Fix building with MSVC / Bullseye, #129
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Jul 17 08:25:28 UTC 2021 - Martin Hauke <mardnh@gmx.de> Sat Jul 17 08:25:28 UTC 2021 - Martin Hauke <mardnh@gmx.de>

View File

@@ -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: 2.1.2 Version: 2.3.0
Release: 0 Release: 0
Summary: Efficient Arrays of Booleans Summary: Efficient Arrays of Booleans
License: Python-2.0 License: Python-2.0