pkgsrc-wip/py-bitarray/Makefile
Kamel Ibn Aziz Derouiche ec4f838cb5 Import py26-bitarray-0.3.5 as wip/py-bitarray.
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 usefu
2011-03-20 22:48:46 +00:00

25 lines
678 B
Makefile

# $NetBSD: Makefile,v 1.1.1.1 2011/03/20 22:48:46 jihbed Exp $
#
DISTNAME= bitarray-0.3.5
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= math python
MASTER_SITES= http://pypi.python.org/packages/source/b/bitarray/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://pypi.python.org/pypi/bitarray
COMMENT= Efficient arrays of booleans -- C extension
LICENSE= python-software-foundation
PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}/bitarray-0.3.5
PYTHON_VERSIONS_ACCEPTED= 27 26
PYDISTUTILSPKG= yes
do-test:
${RUN} cd ${WRKSRC}/bitarray; ${SETENV} ${TEST_ENV} ${PYTHONBIN} test_bitarray.py
.include "../../lang/python/extension.mk"
.include "../../mk/bsd.pkg.mk"