Subject: CVS commit: pkgsrc/devel/py-bitarray
From: Adam Ciarcinski
Date: 2024-01-22 20:50:30
Message id: 20240122195031.0C8FEFA42@cvs.NetBSD.org

Log Message:
py-bitarray: updated to 2.9.2

2024-01-01   2.9.2:
-------------------
* optimize initialization from strings by not constantly resizing buffer
* optimize `util.hex2ba()` and `util.base2ba()` by avoiding unnecessary
  copies
* optimize `util.base2ba()` and `util.ba2base()` for `n=16` (hexadecimal)

2023-12-23   2.9.1:
-------------------
* avoid buffer being unnecessarily initialized with 0s in several
  functions of the `bitarray.util` module
* fix `.count()` type hint in pyi-file
* improve testing

2023-12-17   2.9.0:
-------------------
* deprecate support for Python 2 - Python 2.7 support will be removed
  in bitarray version 3.0,
* `bitarray(n)` for integer initializer `n` will always return a bitarray
  of length `n` with all items initialized to `0`
* allow sub-bitarray in `.count()`
* add `util.ones()`
* `.find()` and `.index()`: add keyword argument `right` for rightmost index
* `.itersearch()`: add start and stop argument, and keyword
  argument `right` (for descending order - starting with rightmost match)
* deprecate `util.rindex()` (will be removed in 3.0 release),
  use `.index(..., right=True)` instead
* deprecate `util.make_endian()` (will be removed in 3.0 release),
  use `bitarray(..., endian=...)` instead

Files:
RevisionActionfile
1.37modifypkgsrc/devel/py-bitarray/Makefile
1.36modifypkgsrc/devel/py-bitarray/distinfo