packages: python-ordereddict/python-ordereddict.spec - desc, license, cleanups

glen glen at pld-linux.org
Sun Dec 4 20:48:15 CET 2011


Author: glen                         Date: Sun Dec  4 19:48:15 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- desc, license, cleanups

---- Files affected:
packages/python-ordereddict:
   python-ordereddict.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: packages/python-ordereddict/python-ordereddict.spec
diff -u packages/python-ordereddict/python-ordereddict.spec:1.1 packages/python-ordereddict/python-ordereddict.spec:1.2
--- packages/python-ordereddict/python-ordereddict.spec:1.1	Fri Dec  2 13:27:27 2011
+++ packages/python-ordereddict/python-ordereddict.spec	Sun Dec  4 20:48:10 2011
@@ -1,33 +1,27 @@
 # $Revision$, $Date$
-#
-# Conditional build:
-%bcond_without	tests	# do not perform "make test"
-
 %define 	module	ordereddict
-Summary:	-
-Summary(pl.UTF-8):	-
+Summary:	Drop-in substitute for Py2.7's new collections.OrderedDict
 Name:		python-%{module}
 Version:	1.1
-Release:	0.1
-License:	- (enter GPL/GPL v2/GPL v3/LGPL/BSD/BSD-like/other license name here)
+Release:	1
+License:	MIT
 Group:		Development/Languages/Python
 Source0:	http://pypi.python.org/packages/source/o/ordereddict/%{module}-%{version}.tar.gz
 # Source0-md5:	a0ed854ee442051b249bfad0f638bbec
 URL:		http://pypi.python.org/pypi/ordereddict
-# remove BR: python-devel for 'noarch' packages.
 BuildRequires:	python-devel
 BuildRequires:	python-distribute
 BuildRequires:	rpm-pythonprov
-# if py_postclean is used
 BuildRequires:	rpmbuild(macros) >= 1.219
-#Requires:		python-libs
-Requires:		python-modules
+Requires:	python-modules
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-
-%description -l pl.UTF-8
+Drop-in substitute for Py2.7's new collections.OrderedDict that works
+in Python 2.4-2.6. The recipe has big-oh performance that matches
+regular dictionaries (amortized O(1) insertion/deletion/lookup and
+O(n) iteration/repr/copy/equality_testing).
 
 %prep
 %setup -q -n %{module}-%{version}
@@ -51,7 +45,8 @@
 
 %files
 %defattr(644,root,root,755)
-%{py_sitescriptdir}/*.py[co]
+%doc LICENSE
+%{py_sitescriptdir}/%{module}.py[co]
 %if "%{py_ver}" > "2.4"
 %{py_sitescriptdir}/%{module}-*.egg-info
 %endif
@@ -62,6 +57,8 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2011/12/04 19:48:10  glen
+- desc, license, cleanups
+
 Revision 1.1  2011/12/02 12:27:27  zbyniu
 - new
-
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/python-ordereddict/python-ordereddict.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list