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



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b8acdb0eefdc
branches:  trunk
changeset: 379004:b8acdb0eefdc
user:      adam <adam%pkgsrc.org@localhost>
date:      Tue May 10 13:01:05 2022 +0000

description:
py-bitarray: updated to 2.5.0

2.5.0:
* add calculating of canonical Huffman codes `util.canonical_huffman()`
  and decoding thereof `util.canonical_decode()`
* allow creating "Huffman codes" from frequency maps with a single symbol
  in `util.huffman_code()` and `util.canonical_huffman()`
* allow bytes-like argument in `.frombytes()` and `.pack()` - previously,
  the arguments were limited to the `bytes` object
* allow bytes-like arguments in `util.deserialize()`
* add official [pyodide](https://pyodide.org/) support
* add [DEFLATE decompression](../examples/puff/) example
* optimize `.bytereverse()`
* optimize `delslice()` for cases like `del a[1:17:2]` when `a` is large
* fix `examples/huffman/compress.py` to handle files with 0 or 1 characters,
* add `skipIF` decorator for skipping tests
* add tests

diffstat:

 devel/py-bitarray/Makefile |  4 ++--
 devel/py-bitarray/distinfo |  8 ++++----
 2 files changed, 6 insertions(+), 6 deletions(-)

diffs (25 lines):

diff -r e720986a609f -r b8acdb0eefdc devel/py-bitarray/Makefile
--- a/devel/py-bitarray/Makefile        Tue May 10 11:51:17 2022 +0000
+++ b/devel/py-bitarray/Makefile        Tue May 10 13:01:05 2022 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.17 2022/03/30 07:22:20 adam Exp $
+# $NetBSD: Makefile,v 1.18 2022/05/10 13:01:05 adam Exp $
 
-DISTNAME=      bitarray-2.4.1
+DISTNAME=      bitarray-2.5.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=b/bitarray/}
diff -r e720986a609f -r b8acdb0eefdc devel/py-bitarray/distinfo
--- a/devel/py-bitarray/distinfo        Tue May 10 11:51:17 2022 +0000
+++ b/devel/py-bitarray/distinfo        Tue May 10 13:01:05 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.18 2022/03/30 07:22:20 adam Exp $
+$NetBSD: distinfo,v 1.19 2022/05/10 13:01:05 adam Exp $
 
-BLAKE2s (bitarray-2.4.1.tar.gz) = cb5310f5f2133229c201bc6684f99f090a2995d635cbe58ba4853b6b87ee8b7b
-SHA512 (bitarray-2.4.1.tar.gz) = ba623e783bae879833ac7759599c085e86c2acb3c81780ce0df95e2b23764e494a33f1e27e52db8b634b6b04d02ebee693ce0186e7a2bb9bd73906856c19bade
-Size (bitarray-2.4.1.tar.gz) = 95300 bytes
+BLAKE2s (bitarray-2.5.0.tar.gz) = 871088a2b60a6c923b47a3fcbc6694a13997838d4670ab58324def9ebfe2cb54
+SHA512 (bitarray-2.5.0.tar.gz) = 1b70f41d2cb576be840114edfdd2b7d638051a8267170a55013aa3d997e216eb8889c474ba5bdf018b9fbeda7b6a0e55f2de5f51a573ce40798eff42536e2540
+Size (bitarray-2.5.0.tar.gz) = 102225 bytes



Home | Main Index | Thread Index | Old Index