Hello community,

here is the log from the commit of package python-isort for openSUSE:Factory 
checked in at 2020-03-27 00:23:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-isort (Old)
 and      /work/SRC/openSUSE:Factory/.python-isort.new.3160 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-isort"

Fri Mar 27 00:23:51 2020 rev:14 rq:784839 version:4.3.21

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-isort/python-isort.changes        
2019-09-17 13:34:34.621869952 +0200
+++ /work/SRC/openSUSE:Factory/.python-isort.new.3160/python-isort.changes      
2020-03-27 00:23:52.680213664 +0100
@@ -1,0 +2,5 @@
+Sat Mar 14 08:32:17 UTC 2020 - Tomáš Chvátal <tchva...@suse.com>
+
+- Fix build without python2
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-isort.spec ++++++
--- /var/tmp/diff_new_pack.Utg2Pg/_old  2020-03-27 00:23:53.264213959 +0100
+++ /var/tmp/diff_new_pack.Utg2Pg/_new  2020-03-27 00:23:53.264213959 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-isort
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -25,17 +25,16 @@
 %define psuffix %{nil}
 %bcond_with test
 %endif
+%bcond_without python2
 Name:           python-isort%{psuffix}
 Version:        4.3.21
 Release:        0
 Summary:        A Python utility / library to sort Python imports
 License:        MIT
-Group:          Development/Languages/Python
 URL:            https://github.com/timothycrosley/isort
 Source:         
https://files.pythonhosted.org/packages/source/i/isort/isort-%{version}.tar.gz
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
-BuildRequires:  python-futures
 BuildRequires:  python-rpm-macros
 Requires:       python-setuptools
 Recommends:     python-appdirs >= 1.4.0
@@ -44,6 +43,10 @@
 Recommends:     python-requirementslib
 Recommends:     python-toml
 BuildArch:      noarch
+%if %{with python2}
+BuildRequires:  python-backports.functools_lru_cache
+BuildRequires:  python-futures
+%endif
 %if %{with test}
 BuildRequires:  %{python_module appdirs >= 1.4.0}
 BuildRequires:  %{python_module mock}
@@ -53,7 +56,6 @@
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module requirementslib}
 BuildRequires:  %{python_module toml}
-BuildRequires:  python-backports.functools_lru_cache
 %endif
 %ifpython2
 Requires:       python-backports.functools_lru_cache


Reply via email to