Hello community,

here is the log from the commit of package python-tenacity for 
openSUSE:Leap:15.2 checked in at 2020-04-21 19:07:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-tenacity (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.python-tenacity.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-tenacity"

Tue Apr 21 19:07:13 2020 rev:13 rq:796042 version:6.1.0

Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/python-tenacity/python-tenacity.changes        
2020-03-06 12:40:58.714746308 +0100
+++ 
/work/SRC/openSUSE:Leap:15.2/.python-tenacity.new.2738/python-tenacity.changes  
    2020-04-21 19:08:39.820128184 +0200
@@ -1,0 +2,5 @@
+Mon Apr 20 09:03:44 UTC 2020 - Tomáš Chvátal <[email protected]>
+
+- Fix build without python2
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-tenacity.spec ++++++
--- /var/tmp/diff_new_pack.Z0PPXM/_old  2020-04-21 19:08:40.440129446 +0200
+++ /var/tmp/diff_new_pack.Z0PPXM/_new  2020-04-21 19:08:40.444129454 +0200
@@ -17,7 +17,7 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%bcond_without  test
+%bcond_without  python2
 Name:           python-tenacity
 Version:        6.1.0
 Release:        0
@@ -26,28 +26,24 @@
 Group:          Development/Languages/Python
 URL:            https://github.com/jd/tenacity
 Source:         
https://files.pythonhosted.org/packages/source/t/tenacity/tenacity-%{version}.tar.gz
+BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools_scm}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module six >= 1.9.0}
+BuildRequires:  %{python_module tornado}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
+Requires:       python-six >= 1.9.0
+Recommends:     python-tornado
+BuildArch:      noarch
+%if %{with python2}
 BuildRequires:  python2-futures >= 3.0
 BuildRequires:  python2-monotonic >= 0.6
-%if %{with test}
-BuildRequires:  %{python_module pytest}
-BuildRequires:  %{python_module tornado}
 %endif
-Requires:       python-six >= 1.9.0
 %ifpython2
 Requires:       python-futures >= 3.0
 Requires:       python-monotonic >= 0.6
 %endif
-%if 0%{?_no_weakdeps}
-Requires:       python-tornado >= 4.5
-%else
-Recommends:     python-tornado
-%endif
-BuildArch:      noarch
 %python_subpackages
 
 %description
@@ -72,10 +68,8 @@
 %python_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
-%if %{with test}
 %check
 %pytest --ignore tenacity/tests/test_asyncio.py
-%endif
 
 %files %{python_files}
 %license LICENSE


Reply via email to