14
0

Accepting request 563434 from home:TheBlackCat:branches:devel:languages:python

- update to 4.8.0
  * Allow waiters to introspect last result
- update to 4.7.1
  * Missed top level import of stop\_when\_event\_set
  * Mention Tornado minimum version in README
  * Fix unless\_exception test names and add no input test
- update to 4.7.0
  * Add Tornado support
  * Fix pep8
- update to 4.6.1
  * Simplify wrapping code
- update to 4.6.0
  * Implement \`retry\_with' on decorated functions
- Implement single-spec version

OBS-URL: https://build.opensuse.org/request/show/563434
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tenacity?expand=0&rev=11
This commit is contained in:
Todd R
2018-01-10 20:54:07 +00:00
committed by Git OBS Bridge
parent f07ae153dc
commit 3aaa4f1b27
4 changed files with 50 additions and 17 deletions

View File

@@ -1,3 +1,21 @@
-------------------------------------------------------------------
Wed Jan 10 20:48:41 UTC 2018 - toddrme2178@gmail.com
- update to 4.8.0
* Allow waiters to introspect last result
- update to 4.7.1
* Missed top level import of stop\_when\_event\_set
* Mention Tornado minimum version in README
* Fix unless\_exception test names and add no input test
- update to 4.7.0
* Add Tornado support
* Fix pep8
- update to 4.6.1
* Simplify wrapping code
- update to 4.6.0
* Implement \`retry\_with' on decorated functions
- Implement single-spec version
-------------------------------------------------------------------
Thu Nov 2 23:20:11 UTC 2017 - dmueller@suse.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-tenacity
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,26 +16,38 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_without test
Name: python-tenacity
Version: 4.5.0
Version: 4.8.0
Release: 0
Summary: Retry code until it succeeeds
License: Apache-2.0
Group: Development/Languages/Python
Url: https://github.com/jd/tenacity
Source: https://pypi.io/packages/source/t/tenacity/tenacity-%{version}.tar.gz
BuildRequires: python-devel
Source: https://files.pythonhosted.org/packages/source/t/tenacity/tenacity-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module monotonic >= 0.6}
BuildRequires: %{python_module pbr}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six >= 1.7.0}
BuildRequires: fdupes
BuildRequires: python-futures >= 3.0
BuildRequires: python-monotonic >= 0.6
BuildRequires: python-pbr
BuildRequires: python-setuptools
BuildRequires: python-six >= 1.7.0
Requires: python-futures >= 3.0
BuildRequires: python-rpm-macros
%if %{with test}
BuildRequires: %{python_module nose}
BuildRequires: %{python_module tornado}
%endif
Requires: python-monotonic >= 0.6
Requires: python-six >= 1.9.0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Recommends: python-tornado
%ifpython2
Requires: python-futures >= 3.0
%endif
BuildArch: noarch
%python_subpackages
%description
Tenacity 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.
@@ -52,15 +64,18 @@ Features
%setup -q -n tenacity-%{version}
%build
python setup.py build
%python_build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%python_install
%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
%if %{with test}
%check
python setup.py test
%python_exec setup.py nosetests --ignore-files '.*async.py'
%endif
%files
%files %{python_files}
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog LICENSE README.rst
%{python_sitelib}/*

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e5eb0009d7fef345ffd27e43122ec288418b460952aeefde60df8e62c3953d4b
size 26567

3
tenacity-4.8.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f144a1cdbef3ca2f8a08ead74864d4fc26ea31c64806ca8ae030acb652629d9d
size 28057