# -*- 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
# $Id: Portfile 106911 2013-06-11 14:40:14Z jmr@macports.org $

PortSystem          1.0
PortGroup           python 1.0

name                py-bitarray
version             0.8.1
categories-append   math
platforms           darwin

maintainers         bo.ingv.it:Peter.Danecek 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/bitarray

distname            bitarray-${version}
master_sites        http://pypi.python.org/packages/source/b/bitarray/

checksums           md5     3825184f54f4d93508a28031b4c65d3b \
                    rmd160  58c2a2665c2759f23bf1ab096de8c34bf7fcfcbb \
                    sha256  7da501356e48a83c61f479393681c1bc4b94e5a34ace7e08cb29e7dd9290ab18

python.versions     26 27 31 32

if {${subport} != ${name}} {
    depends_build         port:py${python.version}-setuptools
}

