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.1.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/05ef82943ad9
branches:  trunk
changeset: 452204:05ef82943ad9
user:      adam <adam%pkgsrc.org@localhost>
date:      Thu May 06 20:19:23 2021 +0000

description:
py-bitarray: updated to 2.1.0

2021-05-05   2.1.0:
-------------------
* add `.find()` method
* `.find()`, `.index()`, `.search()` and `.itersearch()` now all except
  both (sub-) bitarray as well as bool items to be searched for
* improve encode/decode error messages
* add [lexicographical  permutations example](../examples/lexico.py)
* add tests


2021-04-19   2.0.1:
-------------------
* update documentation
* improve some error messages


2021-04-14   2.0.0:
-------------------
* require more specific objects, int (0 or 1) or bool
* items are always returned as int 0 or 1
* remove `.length()` method (deprecated since 1.5.1 - use `len()`)
* in `.unpack()` the `one` argument now defaults to 0x01 (was 0xff)
* `.tolist()` now always returns a list of integers (0 or 1)
* fix frozenbitarray hash function
* fix frozenbitarray being mutable by `<<=` and `>>=`
* support sequence protocol in `.extend()` (and bitarray creation)
* improve OverflowError messages from `util.int2ba()`
* add [hexadecimal example](../examples/hexadecimal.py)


2021-04-10   1.9.2:
-------------------
* update pythoncapi_compat: Fix support with PyPy 3.7
* update readme


2021-04-05   1.9.1:
-------------------
* switch documentation from markdown to reStructuredText
* 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 72f2186708d1 -r 05ef82943ad9 devel/py-bitarray/Makefile
--- a/devel/py-bitarray/Makefile        Thu May 06 20:17:28 2021 +0000
+++ b/devel/py-bitarray/Makefile        Thu May 06 20:19:23 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.4 2021/04/05 08:17:53 adam Exp $
+# $NetBSD: Makefile,v 1.5 2021/05/06 20:19:23 adam Exp $
 
-DISTNAME=      bitarray-1.9.0
+DISTNAME=      bitarray-2.1.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=b/bitarray/}
diff -r 72f2186708d1 -r 05ef82943ad9 devel/py-bitarray/distinfo
--- a/devel/py-bitarray/distinfo        Thu May 06 20:17:28 2021 +0000
+++ b/devel/py-bitarray/distinfo        Thu May 06 20:19:23 2021 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.4 2021/04/05 08:17:53 adam Exp $
+$NetBSD: distinfo,v 1.5 2021/05/06 20:19:23 adam Exp $
 
-SHA1 (bitarray-1.9.0.tar.gz) = cb23b62acd7e030e4819be7eb912d6c35e71a722
-RMD160 (bitarray-1.9.0.tar.gz) = 3ac4cc52043cbd82e3e39ea3cb222173ea6e97ca
-SHA512 (bitarray-1.9.0.tar.gz) = 3130f7defba4ace73eb697f7292d521edc8cd6df6eea40bc85826a82517d20fffe80bd7c6d66bdff4fec265b523d21cca372242e85d38d50d957ca842af43d0b
-Size (bitarray-1.9.0.tar.gz) = 67881 bytes
+SHA1 (bitarray-2.1.0.tar.gz) = 8308bd14baabea16412edba6dcce23e4d0737c0b
+RMD160 (bitarray-2.1.0.tar.gz) = 5c2104c581ddcc46eefc4f3edb2ac87463ab3476
+SHA512 (bitarray-2.1.0.tar.gz) = e91200b8829b63f297a1882fab293ac007991740a739587ba473abce183aa79a85e08db8a0fca5729b6e1d3e130965b2f14dc40acccf12d3231852498e2fb141
+Size (bitarray-2.1.0.tar.gz) = 71169 bytes



Home | Main Index | Thread Index | Old Index