You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
44 lines
1.5 KiB
Tcl
44 lines
1.5 KiB
Tcl
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
|
|
|
|
PortSystem 1.0
|
|
PortGroup python 1.0
|
|
|
|
name py-bitarray
|
|
version 3.0.0
|
|
revision 0
|
|
|
|
categories-append math
|
|
license PSF
|
|
maintainers {petr @petrrr} openmaintainer
|
|
|
|
description A efficient implementation of arrays of booleans
|
|
long_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 a 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.
|
|
|
|
homepage https://github.com/ilanschnell/bitarray
|
|
|
|
checksums rmd160 b9c0aac79b8241230a927028d14c6df5253087f4 \
|
|
sha256 a2083dc20f0d828a7cdf7a16b20dae56aab0f43dc4f347a3b3039f6577992b03 \
|
|
size 126627
|
|
|
|
python.versions 39 310 311 312 313
|
|
|
|
python.test_framework
|
|
|
|
if {${name} ne ${subport}} {
|
|
post-destroot {
|
|
set docdir ${prefix}/share/doc/${subport}
|
|
xinstall -d ${destroot}${docdir}
|
|
xinstall -m 0644 -W ${worksrcpath} README.rst ${destroot}${docdir}
|
|
}
|
|
|
|
test.run yes
|
|
python.test_framework
|
|
test.cmd ${python.bin} bitarray/test_bitarray.py
|
|
}
|