Blob Blame Raw
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}

Name:   python-bitarray          
Version:     0.3.5   
Release:        7%{?dist}
Summary:        Efficient Array of Booleans --C Extensions

Group:          Development/Languages
License:        Python
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires:  python-devel python-setuptools

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.

%setup -q -n bitarray-%{version}

CFLAGS="$RPM_OPT_FLAGS" %{__python} build

%{__python} install -O1 --skip-build --root $RPM_BUILD_ROOT




* Thu Feb 14 2013 Fedora Release Engineering <> - 0.3.5-7
- Rebuilt for

* Sat Jul 21 2012 Fedora Release Engineering <> - 0.3.5-6
- Rebuilt for

* Sat Jan 14 2012 Fedora Release Engineering <> - 0.3.5-5
- Rebuilt for

* Tue Feb 08 2011 Fedora Release Engineering <> - 0.3.5-4
- Rebuilt for

* Wed Jul 21 2010 David Malcolm <> - 0.3.5-3
- Rebuilt for

* Sun Jul 26 2009 Fedora Release Engineering <> - 0.3.5-2
- Rebuilt for

* Wed Apr 08 2009 Ramakrishna Reddy Yekulla <> 0.3.5-1
- Initial RPM release