pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel py-bitarray: added version 1.6.3



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a59bb0f45c7b
branches:  trunk
changeset: 446391:a59bb0f45c7b
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon Feb 08 06:57:04 2021 +0000

description:
py-bitarray: added version 1.6.3

This module provides an object type which efficiently represents an array of
booleans. Bitarrays are sequence types and behave very much like usual lists.
Eight bits are represented by one byte in a contiguous block of memory. The
user can select between two representations: little-endian and big-endian. All
of the functionality is implemented in C. Methods for accessing the machine
representation are provided. This can be useful when bit level access to binary
files is required, such as portable bitmap image files (.pbm). Also, when
dealing with compressed data which uses variable bit length encoding, you may
find this module useful.

diffstat:

 devel/Makefile             |   3 ++-
 devel/py-bitarray/DESCR    |   9 +++++++++
 devel/py-bitarray/Makefile |  17 +++++++++++++++++
 devel/py-bitarray/PLIST    |  18 ++++++++++++++++++
 devel/py-bitarray/distinfo |   6 ++++++
 5 files changed, 52 insertions(+), 1 deletions(-)

diffs (83 lines):

diff -r 9f03ab45cdb9 -r a59bb0f45c7b devel/Makefile
--- a/devel/Makefile    Mon Feb 08 06:19:16 2021 +0000
+++ b/devel/Makefile    Mon Feb 08 06:57:04 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3330 2021/02/04 07:12:58 jnemeth Exp $
+# $NetBSD: Makefile,v 1.3331 2021/02/08 06:57:04 adam Exp $
 #
 
 COMMENT=       Development utilities
@@ -2203,6 +2203,7 @@
 SUBDIR+=       py-behave
 SUBDIR+=       py-binaryornot
 SUBDIR+=       py-bintrees
+SUBDIR+=       py-bitarray
 SUBDIR+=       py-bitstring
 SUBDIR+=       py-blessings
 SUBDIR+=       py-blinker
diff -r 9f03ab45cdb9 -r a59bb0f45c7b devel/py-bitarray/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-bitarray/DESCR   Mon Feb 08 06:57:04 2021 +0000
@@ -0,0 +1,9 @@
+This module provides an object type which efficiently represents an array of
+booleans. Bitarrays are sequence types and behave very much like usual lists.
+Eight bits are represented by one byte in a contiguous block of memory. The
+user can select between two representations: little-endian and big-endian. All
+of the functionality is implemented in C. Methods for accessing the machine
+representation are provided. This can be useful when bit level access to binary
+files is required, such as portable bitmap image files (.pbm). Also, when
+dealing with compressed data which uses variable bit length encoding, you may
+find this module useful.
diff -r 9f03ab45cdb9 -r a59bb0f45c7b devel/py-bitarray/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-bitarray/Makefile        Mon Feb 08 06:57:04 2021 +0000
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1 2021/02/08 06:57:04 adam Exp $
+
+DISTNAME=      bitarray-1.6.3
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    devel python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=b/bitarray/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/ilanschnell/bitarray
+COMMENT=       Efficient arrays of booleans
+LICENSE=       python-software-foundation
+
+do-test:
+       ${PYTHONBIN} -c 'import bitarray; bitarray.test()'
+
+.include "../../lang/python/distutils.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 9f03ab45cdb9 -r a59bb0f45c7b devel/py-bitarray/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-bitarray/PLIST   Mon Feb 08 06:57:04 2021 +0000
@@ -0,0 +1,18 @@
+@comment $NetBSD: PLIST,v 1.1 2021/02/08 06:57:04 adam Exp $
+${PYSITELIB}/${EGG_FILE}
+${PYSITELIB}/bitarray/__init__.py
+${PYSITELIB}/bitarray/__init__.pyc
+${PYSITELIB}/bitarray/__init__.pyo
+${PYSITELIB}/bitarray/_bitarray.so
+${PYSITELIB}/bitarray/_util.so
+${PYSITELIB}/bitarray/bitarray.h
+${PYSITELIB}/bitarray/pythoncapi_compat.h
+${PYSITELIB}/bitarray/test_bitarray.py
+${PYSITELIB}/bitarray/test_bitarray.pyc
+${PYSITELIB}/bitarray/test_bitarray.pyo
+${PYSITELIB}/bitarray/test_util.py
+${PYSITELIB}/bitarray/test_util.pyc
+${PYSITELIB}/bitarray/test_util.pyo
+${PYSITELIB}/bitarray/util.py
+${PYSITELIB}/bitarray/util.pyc
+${PYSITELIB}/bitarray/util.pyo
diff -r 9f03ab45cdb9 -r a59bb0f45c7b devel/py-bitarray/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-bitarray/distinfo        Mon Feb 08 06:57:04 2021 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2021/02/08 06:57:04 adam Exp $
+
+SHA1 (bitarray-1.6.3.tar.gz) = cfeae40fb13fbe8a563dffd3f0d98f920eb8f709
+RMD160 (bitarray-1.6.3.tar.gz) = e3fba2e745944dc0350f387ad70d8c23b73a5298
+SHA512 (bitarray-1.6.3.tar.gz) = 11605959b8d94ad3a2ec947663401a6987058ec6298bef7bb6368711c3aa1f9d47b2245bd820395f0b75399f24065ad38e038e6d1d91f2535af48edbac9de3ba
+Size (bitarray-1.6.3.tar.gz) = 57799 bytes



Home | Main Index | Thread Index | Old Index