Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:GRNET:synnefo
ordereddict
ordereddict.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ordereddict.spec of Package ordereddict
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} %define src_name ordereddict %define name python-ordereddict %define version 1.1 %define release 1 Summary: A drop-in substitute for Py2.7's new collections.OrderedDict that works in Python 2.4-2.6. Name: %{name} Version: %{version} Release: %{release} Source0: http://pypi.python.org/packages/source/o/%{src_name}/%{src_name}-%{version}.tar.gz License: MIT Group: Development/Libraries BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot Prefix: %{_prefix} BuildArch: noarch Vendor: Raymond Hettinger Url: http://pypi.python.org/pypi/ordereddict Requires: python >= 2.4 BuildRequires: python >= 2.4 %description Drop-in substitute for Py2.7's new collections.OrderedDict. The recipe has big-oh performance that matches regular dictionaries (amortized O(1) insertion/deletion/lookup and O(n) iteration/repr/copy/equality_testing). Originally based on http://code.activestate.com/recipes/576693/ %prep %setup -n %{src_name}-%{version} %build python setup.py build %install python setup.py install -O1 --root=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc LICENSE %{python_sitelib}/*
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor