You've already forked macports-ports
mirror of
https://github.com/encounter/macports-ports.git
synced 2026-07-10 12:19:27 -07:00
48 lines
1.6 KiB
Tcl
48 lines
1.6 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
|
|
|
|
set _name bitarray
|
|
set _n [string index ${_name} 0]
|
|
|
|
name py-${_name}
|
|
version 0.8.3
|
|
categories-append math
|
|
platforms darwin
|
|
|
|
maintainers {petr @petrrr} openmaintainer
|
|
|
|
license PSF
|
|
|
|
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/${_name}
|
|
|
|
distname ${_name}-${version}
|
|
master_sites pypi:${_n}/${_name}/
|
|
|
|
checksums rmd160 f670f9981592cad78e832edc964dbe0101908c7d \
|
|
sha256 050cd30b810ddb3aa941e7ddfbe0d8065e793012d0a88cb5739ec23624b9895e \
|
|
size 36292
|
|
|
|
python.versions 27 34 35 36 37
|
|
|
|
livecheck.type none
|
|
|
|
if {${name} ne ${subport}} {
|
|
depends_build port:py${python.version}-setuptools
|
|
} else {
|
|
livecheck.type regex
|
|
livecheck.url https://pypi.python.org/pypi/${_name}/json
|
|
livecheck.regex "\"${_name}-(\[.\\d\]+)\\${extract.suffix}\""
|
|
}
|