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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 3.8.2 | 3.8.2 | 2.5.1 | 3.0.0 | 3.8.2 |
| FreeBSD:14:quarterly | 3.8.2 | 3.8.2 | n/a | 3.0.0 | 3.8.2 |
| FreeBSD:15:latest | 3.8.2 | 3.8.2 | n/a | 3.0.0 | 3.0.0 |
| FreeBSD:15:quarterly | 3.8.2 | 3.8.2 | n/a | n/a | n/a |
| FreeBSD:16:latest | 3.8.2 | 3.8.2 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/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
| Option | Default | Description |
|---|---|---|
| DOCS | off | Build and/or install documentation |
| EXAMPLES | off | Build and/or install examples |
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| ilanschnell-bitarray-3.8.2_GH0.tar.gz | 240698 | 33b65e809bcc0f1a5d991dd3d46ee0b6d053474a874ad8eca1658c653570ca16 |