[packages/python-ruamel.ordereddict] new (version 0.4.14)

atler atler at pld-linux.org
Sat Feb 1 18:32:08 CET 2020


commit eb5cfaee1f6ed014edbb7807b9a0a5005a32e313
Author: Jan Palus <atler at pld-linux.org>
Date:   Sat Feb 1 18:31:42 2020 +0100

    new (version 0.4.14)

 python-ruamel.ordereddict.spec | 48 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 48 insertions(+)
---
diff --git a/python-ruamel.ordereddict.spec b/python-ruamel.ordereddict.spec
new file mode 100644
index 0000000..6966441
--- /dev/null
+++ b/python-ruamel.ordereddict.spec
@@ -0,0 +1,48 @@
+# Conditional build:
+%bcond_without	tests	# unit tests
+
+%define		module		ruamel.ordereddict
+Summary:	A version of dict that keeps keys in insertion resp. sorted order
+Name:		python-%{module}
+Version:	0.4.14
+Release:	1
+License:	MIT
+Group:		Libraries/Python
+#Source0Download: https://pypi.org/simple/ruamel.ordereddict/
+Source0:	https://files.pythonhosted.org/packages/source/r/ruamel.ordereddict/%{module}-%{version}.tar.gz
+# Source0-md5:	e0723a39e81fdf5d986d892dc5a94bb8
+URL:		https://pypi.org/project/ruamel.ordereddict/
+BuildRequires:	rpm-pythonprov
+BuildRequires:	rpmbuild(macros) >= 1.714
+BuildRequires:	python-modules
+BuildRequires:	python-setuptools
+Requires:	python-modules
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+A version of dict that keeps keys in insertion resp. sorted order.
+
+%prep
+%setup -q -n %{module}-%{version}
+
+%build
+%py_build %{?with_tests:test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%py_install
+
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README.rst
+%{py_sitedir}/ruamel/ordereddict
+%attr(755,root,root) %{py_sitedir}/_ordereddict.so
+%{py_sitedir}/%{module}-%{version}-py*.egg-info
+%{py_sitedir}/%{module}-%{version}-py*-nspkg.pth
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-ruamel.ordereddict.git/commitdiff/eb5cfaee1f6ed014edbb7807b9a0a5005a32e313



More information about the pld-cvs-commit mailing list