[packages/python-iterutils] new, version 0.1.6
glen
glen at pld-linux.org
Sat Nov 22 20:09:42 CET 2014
commit 2ef5d247250ebd3bc47b72a358c13aaf1920b9af
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sat Nov 22 21:08:41 2014 +0200
new, version 0.1.6
Created by pyp2rpm-1.0.1
python-iterutils.spec | 41 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
---
diff --git a/python-iterutils.spec b/python-iterutils.spec
new file mode 100644
index 0000000..603de47
--- /dev/null
+++ b/python-iterutils.spec
@@ -0,0 +1,41 @@
+%define pypi_name iterutils
+Summary: Itertools recipes
+Name: python-%{pypi_name}
+Version: 0.1.6
+Release: 1
+License: PSF
+Group: Libraries/Python
+Source0: https://pypi.python.org/packages/source/i/iterutils/iterutils-%{version}.tar.gz
+# Source0-md5: e293044ec65d757ce075ac170ad9ada8
+URL: https://pypi.python.org/pypi/iterutils
+BuildRequires: python-devel
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+These functions have been taken from the recipes in the Python
+documentation for itertools.
+
+%prep
+%setup -q -n %{pypi_name}-%{version}
+
+%build
+%{__python} setup.py build
+
+%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 README.rst
+%{py_sitescriptdir}/%{pypi_name}.py[co]
+%{py_sitescriptdir}/%{pypi_name}-%{version}-py*.egg-info
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-iterutils.git/commitdiff/2ef5d247250ebd3bc47b72a358c13aaf1920b9af
More information about the pld-cvs-commit
mailing list