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 1.8.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fd6a1c44b358
branches:  trunk
changeset: 449218:fd6a1c44b358
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon Mar 22 09:45:44 2021 +0000

description:
py-bitarray: updated to 1.8.0

1.8.0:
* add `bitarray.util.serialize()` and `bitarray.util.deserialize()`
* allow whitespace (ignore space and `\n\r\t\v`) in input strings,
  e.g. `bitarray('01 11')` or `a += '10 00'`
* add `bitarray.util.pprint()`
* When initializing a bitarray from another with different bit endianness,
  e.g. `a = bitarray('110', 'little')` and `b = bitarray(a, 'big')`,
  the buffer used to be simply copied, with consequence that `a == b` would
  result in `False`.  This is fixed now, that is `a == b` will always
  evaluate to `True`.
* add example showing how to jsonize bitarrays
* add tests

diffstat:

 devel/py-bitarray/Makefile |   4 ++--
 devel/py-bitarray/PLIST    |   3 ++-
 devel/py-bitarray/distinfo |  10 +++++-----
 3 files changed, 9 insertions(+), 8 deletions(-)

diffs (44 lines):

diff -r 766d6e911afd -r fd6a1c44b358 devel/py-bitarray/Makefile
--- a/devel/py-bitarray/Makefile        Mon Mar 22 09:45:03 2021 +0000
+++ b/devel/py-bitarray/Makefile        Mon Mar 22 09:45:44 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.2 2021/03/20 19:21:15 adam Exp $
+# $NetBSD: Makefile,v 1.3 2021/03/22 09:45:44 adam Exp $
 
-DISTNAME=      bitarray-1.7.1
+DISTNAME=      bitarray-1.8.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=b/bitarray/}
diff -r 766d6e911afd -r fd6a1c44b358 devel/py-bitarray/PLIST
--- a/devel/py-bitarray/PLIST   Mon Mar 22 09:45:03 2021 +0000
+++ b/devel/py-bitarray/PLIST   Mon Mar 22 09:45:44 2021 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2021/02/08 06:57:04 adam Exp $
+@comment $NetBSD: PLIST,v 1.2 2021/03/22 09:45:44 adam Exp $
 ${PYSITELIB}/${EGG_FILE}
 ${PYSITELIB}/bitarray/__init__.py
 ${PYSITELIB}/bitarray/__init__.pyc
@@ -10,6 +10,7 @@
 ${PYSITELIB}/bitarray/test_bitarray.py
 ${PYSITELIB}/bitarray/test_bitarray.pyc
 ${PYSITELIB}/bitarray/test_bitarray.pyo
+${PYSITELIB}/bitarray/test_data.pickle
 ${PYSITELIB}/bitarray/test_util.py
 ${PYSITELIB}/bitarray/test_util.pyc
 ${PYSITELIB}/bitarray/test_util.pyo
diff -r 766d6e911afd -r fd6a1c44b358 devel/py-bitarray/distinfo
--- a/devel/py-bitarray/distinfo        Mon Mar 22 09:45:03 2021 +0000
+++ b/devel/py-bitarray/distinfo        Mon Mar 22 09:45:44 2021 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.2 2021/03/20 19:21:15 adam Exp $
+$NetBSD: distinfo,v 1.3 2021/03/22 09:45:44 adam Exp $
 
-SHA1 (bitarray-1.7.1.tar.gz) = 48aa3a48497af44345048e4d41347c481fe1db1b
-RMD160 (bitarray-1.7.1.tar.gz) = 54fb94f932e17cb39ec4f219d02e7ee259a6fbfa
-SHA512 (bitarray-1.7.1.tar.gz) = f45461699f5e48b97001c64c514cdafe208fe31f7cf6c211aa0fb2f32d46028717fcbeb38b812bc8f349226537a3ec6dfec97bc7ecf7253d484332307504abd0
-Size (bitarray-1.7.1.tar.gz) = 58441 bytes
+SHA1 (bitarray-1.8.0.tar.gz) = 638e88da186a79905e12be54041648f42657146a
+RMD160 (bitarray-1.8.0.tar.gz) = 79a07e63cc81a098f09f328893a4a4a7686f3072
+SHA512 (bitarray-1.8.0.tar.gz) = 7078dfb28db9c630782b9a74fcd678517a66a9728cda3ac5797c2f7eabca11980ff5207e485c4d0b372e7002b488bf54fac45128ba36ad57bd9e872493baefd8
+Size (bitarray-1.8.0.tar.gz) = 61509 bytes



Home | Main Index | Thread Index | Old Index