Date: Tue, 11 Jan 2011 14:55:54 -0800 (PST) From: Sofian Brabez <sbrabez@gmail.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/153914: New port: devel/py-bitarray: Efficient arrays of booleans Message-ID: <4d2cdffa.8a1ce30a.5ad7.7ddc@mx.google.com> Resent-Message-ID: <201101112300.p0BN0IDW016342@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 153914 >Category: ports >Synopsis: New port: devel/py-bitarray: Efficient arrays of booleans >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Jan 11 23:00:17 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Sofian Brabez >Release: FreeBSD 8.1-STABLE i386 >Organization: >Environment: System: FreeBSD freebsd81 8.1-STABLE FreeBSD 8.1-STABLE #1: Tue Aug 31 22:46:46 CEST 2010 >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. WWW: http://pypi.python.org/pypi/bitarray http://regis.goodking.ca/tb/logs/7-sbz/py26-bitarray-0.3.5.log http://regis.goodking.ca/tb/logs/7-sbz/py26-bitarray-0.3.5.log http://regis.goodking.ca/tb/logs/7-sbz/py26-bitarray-0.3.5.log Generated with FreeBSD Port Tools 0.99 >How-To-Repeat: >Fix: --- py26-bitarray-0.3.5.shar begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # py-bitarray # py-bitarray/Makefile # py-bitarray/pkg-descr # py-bitarray/pkg-plist # py-bitarray/distinfo # echo c - py-bitarray mkdir -p py-bitarray > /dev/null 2>&1 echo x - py-bitarray/Makefile sed 's/^X//' >py-bitarray/Makefile << '8c5d63907aa8a75d39faf7b39ae6e9ae' X# New ports collection makefile for: py-bitarray X# Date created: 2010-12-16 X# Whom: Sofian Brabez <sbrabez@gmail.com> X# X# $FreeBSD$ X# X XPORTNAME= bitarray XPORTVERSION= 0.3.5 XCATEGORIES= devel python XMASTER_SITES= CHEESESHOP XPKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} X XMAINTAINER= sbrabez@gmail.com XCOMMENT= Efficient arrays of booleans X XLICENSE= PSFL XLICENSE_FILE= ${WRKSRC}/LICENSE X XUSE_PYTHON= 2.6+ XUSE_PYDISTUTILS= yes X XDOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME} XEXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME} X XPORTDOCS= PKG-INFO README LICENSE AUTHORS CHANGE_LOG X Xpost-install: X.if !defined(NOPORTDOCS) X @${MKDIR} ${DOCSDIR} X ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR} X.endif X.if !defined(NOPORTEXAMPLES) X @${MKDIR} ${EXAMPLESDIR} X ${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR} X.endif X Xregression-test: X @(cd ${WRKSRC}/${PORTNAME}; ${PYTHON_CMD} -c "import ${PORTNAME}; ${PORTNAME}.test()") X X.include <bsd.port.mk> 8c5d63907aa8a75d39faf7b39ae6e9ae echo x - py-bitarray/pkg-descr sed 's/^X//' >py-bitarray/pkg-descr << '1fdc649f7a987963fd15bc03834be938' XThis module provides an object type which efficiently represents an array of Xbooleans. Bitarrays are sequence types and behave very much like usual lists. XEight bits are represented by one byte in contiguous block of memory. The user Xcan select between two representations; little-endian and big-endian. Most of Xthe functionality is implemented in C. Methods for accessing the machine Xrepresentation are provided. This can be useful when bit level access to binary Xfiles is required, such as portable bitmap image files (.pbm). Also, when Xdealing with compressed data which uses variable bit length encoding, you may Xfind this module useful. X XWWW: http://pypi.python.org/pypi/bitarray 1fdc649f7a987963fd15bc03834be938 echo x - py-bitarray/pkg-plist sed 's/^X//' >py-bitarray/pkg-plist << 'efb4640bd218ba764adc94869ebd336a' X@comment $FreeBSD$ X%%PYTHON_SITELIBDIR%%/bitarray/__init__.py X%%PYTHON_SITELIBDIR%%/bitarray/__init__.pyc X%%PYTHON_SITELIBDIR%%/bitarray/__init__.pyo X%%PYTHON_SITELIBDIR%%/bitarray/test_bitarray.py X%%PYTHON_SITELIBDIR%%/bitarray/test_bitarray.pyc X%%PYTHON_SITELIBDIR%%/bitarray/test_bitarray.pyo X%%PYTHON_SITELIBDIR%%/bitarray/_bitarray.so X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/README X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/decoding.py X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/huffman.py X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/mandel.py X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ndarray.py X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pbm.py X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/smallints.py X%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%% X@dirrm %%PYTHON_SITELIBDIR%%/bitarray efb4640bd218ba764adc94869ebd336a echo x - py-bitarray/distinfo sed 's/^X//' >py-bitarray/distinfo << '334b30b5f4f70f5fcf413e11b3724454' XSHA256 (bitarray-0.3.5.tar.gz) = cebf82b533dc7ffdd1b8b669633e754e2e1a00016bf27865fdd3ea6ca28aaf51 XSIZE (bitarray-0.3.5.tar.gz) = 42009 334b30b5f4f70f5fcf413e11b3724454 exit --- py26-bitarray-0.3.5.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4d2cdffa.8a1ce30a.5ad7.7ddc>