rpms/python-blist/F-13 python-blist.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Michel Alexandre Salim salimma at fedoraproject.org
Fri May 21 19:33:25 UTC 2010


Author: salimma

Update of /cvs/pkgs/rpms/python-blist/F-13
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv23718/F-13

Modified Files:
	.cvsignore sources 
Added Files:
	python-blist.spec 
Log Message:
* Fri May 21 2010 Michel Salim <salimma at fedoraproject.org> - 1.1.1-1
- Update to 1.1.1



--- NEW FILE python-blist.spec ---
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}

Name:           python-blist
Version:        1.1.1
Release:        1%{?dist}
Summary:        A faster list implementation for Python

Group:          Development/Languages
License:        BSD
URL:            http://pypi.python.org/pypi/blist/
Source0:        http://pypi.python.org/packages/source/b/blist/blist-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  python-devel python-setuptools

%description
The BList is a type that looks, acts, and quacks like a Python list,
but has better performance for for modifying large lists.

For small lists (fewer than 128 elements), BLists and the built-in
list have very similar performance, although BLists are memory
inefficient if you need to create a larger number of small lists.


%prep
%setup -q -n blist-%{version}
# Replace the not-zip-safe file; keep rpmlint happy by not having
# CRLF line endings
echo > not-zip-safe
touch -r blist.egg-info/not-zip-safe not-zip-safe
rm blist.egg-info/not-zip-safe
# egg-info files should not be executables
chmod -x blist.egg-info/*
# Move the new not-zip-safe file back
mv not-zip-safe blist.egg-info/


%build
CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" %{__python} setup.py build


%install
rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT

 
%check
%{__python} setup.py test


%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc LICENSE README.rst blist.rst
%{python_sitearch}/*


%changelog
* Fri May 21 2010 Michel Salim <salimma at fedoraproject.org> - 1.1.1-1
- Update to 1.1.1

* Fri Oct 23 2009 Michel Salim <salimma at fedoraproject.org> - 1.0.2-1
- Update to 1.0.2

* Sat Oct 10 2009 Michel Salim <salimma at fedoraproject.org> - 1.0.1-1
- Initial package



Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/python-blist/F-13/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	20 May 2010 19:45:46 -0000	1.1
+++ .cvsignore	21 May 2010 19:33:24 -0000	1.2
@@ -0,0 +1 @@
+blist-1.1.1.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/python-blist/F-13/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	20 May 2010 19:45:46 -0000	1.1
+++ sources	21 May 2010 19:33:24 -0000	1.2
@@ -0,0 +1 @@
+bff8e5bde6eae3b219969c388676f19d  blist-1.1.1.tar.gz



More information about the scm-commits mailing list