FreeBSD Ports

devel/py-bitarray 3.8.2

Efficient arrays of booleans

Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
a165b13e10
License
PSFL
Categories
devel, python
Package size
282.3 KiB, 1790.1 KiB installed

Description

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 contiguous block of memory. The user can select between two representations; little-endian and big-endian. Most 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.

Install

As a binary package — by origin, or by package name:

pkg install devel/py-bitarray
pkg install py312-bitarray

From the ports tree:

cd /usr/ports/devel/py-bitarray/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	py312-bitarray>0:devel/py-bitarray

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest3.8.23.8.22.5.13.0.03.8.2
FreeBSD:14:quarterly3.8.23.8.2n/a3.0.03.8.2
FreeBSD:15:latest3.8.23.8.2n/a3.0.03.0.0
FreeBSD:15:quarterly3.8.23.8.2n/an/an/a
FreeBSD:16:latest3.8.23.8.2n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

All build dependencies 11
All run dependencies 7

Configuration

Options name: devel_bitarray

OptionDefaultDescription
DOCSoffBuild and/or install documentation
EXAMPLESoffBuild and/or install examples
USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
ilanschnell-bitarray-3.8.2_GH0.tar.gz24069833b65e809bcc0f1a5d991dd3d46ee0b6d053474a874ad8eca1658c653570ca16

Commit history 1

DateCommitCreditsLog message
a165b13e10 Sofian Brabez devel/py-bitarray: update to 3.8.2