[python-retrying] Initial import.
Alan Pevec
apevec at fedoraproject.org
Tue Sep 9 21:00:18 UTC 2014
commit da74c74349e596bb28a508a824f8fe00c665be21
Author: Alan Pevec <alan.pevec at redhat.com>
Date: Mon Aug 25 18:42:34 2014 +0200
Initial import.
.gitignore | 1 +
python-retrying.spec | 42 ++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 44 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..98854ab 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/retrying-1.2.3.tar.gz
diff --git a/python-retrying.spec b/python-retrying.spec
new file mode 100644
index 0000000..c3b2ff8
--- /dev/null
+++ b/python-retrying.spec
@@ -0,0 +1,42 @@
+# Created by pyp2rpm-1.1.0b
+%global pypi_name retrying
+
+Name: python-%{pypi_name}
+Version: 1.2.3
+Release: 1%{?dist}
+Summary: General-purpose retrying library in Python.
+
+License: ASL 2.0
+URL: https://github.com/rholder/retrying
+Source0: https://pypi.python.org/packages/source/r/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
+BuildArch: noarch
+
+BuildRequires: python2-devel
+
+
+%description
+Retrying is an Apache 2.0 licensed general-purpose retrying library,
+written in Python, to simplify the task of adding retry behavior to
+just about anything.
+
+
+%prep
+%setup -q -n %{pypi_name}-%{version}
+# Remove bundled egg-info
+rm -rf %{pypi_name}.egg-info
+
+%build
+%{__python2} setup.py build
+
+%install
+%{__python2} setup.py install --skip-build --root %{buildroot}
+
+%files
+%doc README.rst LICENSE
+
+%{python2_sitelib}/%{pypi_name}.py*
+%{python2_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info
+
+%changelog
+* Mon Aug 25 2014 Alan Pevec <apevec at redhat.com> - 1.2.3-1
+- Initial package.
diff --git a/sources b/sources
index e69de29..e4083f6 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+d6620fcec9602ef497aafccd6c832c7e retrying-1.2.3.tar.gz
More information about the scm-commits
mailing list