pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/py-bitarray py-bitarray: updated to 2.3.0
details: https://anonhg.NetBSD.org/pkgsrc/rev/3f7c09c59d5b
branches: trunk
changeset: 457179:3f7c09c59d5b
user: adam <adam%pkgsrc.org@localhost>
date: Fri Aug 20 05:54:43 2021 +0000
description:
py-bitarray: updated to 2.3.0
2.3.0:
* add optional `buffer` argument to `bitarray()` to import the buffer of
another object
* 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
* avoid `.reverse()` using temporary memory
* make `.unpack()`, `util.serialize()`, `util.vl_encode()`
and `.__reduce__()` more memory efficient
* add and improve tests
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
diffstat:
devel/py-bitarray/Makefile | 4 ++--
devel/py-bitarray/distinfo | 10 +++++-----
2 files changed, 7 insertions(+), 7 deletions(-)
diffs (27 lines):
diff -r 1dcc39a42dbd -r 3f7c09c59d5b devel/py-bitarray/Makefile
--- a/devel/py-bitarray/Makefile Fri Aug 20 05:50:22 2021 +0000
+++ b/devel/py-bitarray/Makefile Fri Aug 20 05:54:43 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.10 2021/08/01 18:17:10 adam Exp $
+# $NetBSD: Makefile,v 1.11 2021/08/20 05:54:43 adam Exp $
-DISTNAME= bitarray-2.2.4
+DISTNAME= bitarray-2.3.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=b/bitarray/}
diff -r 1dcc39a42dbd -r 3f7c09c59d5b devel/py-bitarray/distinfo
--- a/devel/py-bitarray/distinfo Fri Aug 20 05:50:22 2021 +0000
+++ b/devel/py-bitarray/distinfo Fri Aug 20 05:54:43 2021 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.10 2021/08/01 18:17:10 adam Exp $
+$NetBSD: distinfo,v 1.11 2021/08/20 05:54:43 adam Exp $
-SHA1 (bitarray-2.2.4.tar.gz) = d39a76b28c0ef88c2efaa594a8ebd2df54324324
-RMD160 (bitarray-2.2.4.tar.gz) = e09d6f656fa10d8bdb675274b90ee368636a8b39
-SHA512 (bitarray-2.2.4.tar.gz) = ad5d96c8232d239e51c40782e7a487fd898732774e39228c996dd32f0697898b65f2a26479a0af03e07a347a404174924c8299590433b41a6bf6189447f4194f
-Size (bitarray-2.2.4.tar.gz) = 82471 bytes
+SHA1 (bitarray-2.3.0.tar.gz) = c35d126df59d30826ad151bba96f9d539faa6957
+RMD160 (bitarray-2.3.0.tar.gz) = c3c3e3c3120b5d1e56617c497d1983c27bd67f99
+SHA512 (bitarray-2.3.0.tar.gz) = def184d941d86812b38d8f8f11e131b5c33b7b652136a55acac7d915a6eac6c9a25e90b506d6f6668027cfa96eeb9248fde910e796e0750db53e809c72a1d45a
+Size (bitarray-2.3.0.tar.gz) = 87119 bytes
Home |
Main Index |
Thread Index |
Old Index