commit 62d498a8b990dadcc135aeb3370133f99390f363
Author: Elan Ruusamäe <[email protected]>
Date:   Thu Jan 24 00:54:32 2013 +0200

    new, version 1.5.0
    
    based on fedora package
    6ca31970f293c3a87f81b9f32b4cfc9e2cb7924c

 python-odict.spec | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 50 insertions(+)
---
diff --git a/python-odict.spec b/python-odict.spec
new file mode 100644
index 0000000..57287af
--- /dev/null
+++ b/python-odict.spec
@@ -0,0 +1,50 @@
+%define                module  odict
+Summary:       Ordered dictionary
+Name:          python-odict
+Version:       1.5.0
+Release:       1
+License:       Python
+Group:         Development/Languages
+URL:           http://slimit.org/
+Source0:       
http://pypi.python.org/packages/source/o/%{module}/%{module}-%{version}.tar.gz
+BuildRequires: python-devel
+BuildRequires: python-setuptools
+BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 1.219
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Dictionary in which the insertion order of items is preserved (using
+an internal double linked list). In this implementation replacing an
+existing item keeps it at its original position
+
+%prep
+%setup -q -n %{module}-%{version}
+
+%build
+%{__python} setup.py build
+
+%if %{with tests}
+# Tests are broken upstream and also require unpackaged python-interlude
+# Uncomment when fixed upstream
+#%{__python} setup.py test -m odict.tests
+%endif
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__python} setup.py install \
+       --skip-build \
+       --optimize=2 \
+       --root=$RPM_BUILD_ROOT
+
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc LICENSE.rst README.rst
+%{py_sitescriptdir}/%{module}
+%{py_sitescriptdir}/%{module}-%{version}*.egg-info
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-odict.git/commitdiff/62d498a8b990dadcc135aeb3370133f99390f363

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to