forked from pool/python-isort
Accepting request 784839 from devel:languages:python
Staging:I py2 OBS-URL: https://build.opensuse.org/request/show/784839 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-isort?expand=0&rev=14
This commit is contained in:
commit
9224c128bf
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Mar 14 08:32:17 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
- Fix build without python2
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Sep 12 17:51:02 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
Thu Sep 12 17:51:02 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-isort
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -25,17 +25,16 @@
|
|||||||
%define psuffix %{nil}
|
%define psuffix %{nil}
|
||||||
%bcond_with test
|
%bcond_with test
|
||||||
%endif
|
%endif
|
||||||
|
%bcond_without python2
|
||||||
Name: python-isort%{psuffix}
|
Name: python-isort%{psuffix}
|
||||||
Version: 4.3.21
|
Version: 4.3.21
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A Python utility / library to sort Python imports
|
Summary: A Python utility / library to sort Python imports
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Languages/Python
|
|
||||||
URL: https://github.com/timothycrosley/isort
|
URL: https://github.com/timothycrosley/isort
|
||||||
Source: https://files.pythonhosted.org/packages/source/i/isort/isort-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/i/isort/isort-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-futures
|
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-setuptools
|
Requires: python-setuptools
|
||||||
Recommends: python-appdirs >= 1.4.0
|
Recommends: python-appdirs >= 1.4.0
|
||||||
@ -44,6 +43,10 @@ Recommends: python-pipreqs
|
|||||||
Recommends: python-requirementslib
|
Recommends: python-requirementslib
|
||||||
Recommends: python-toml
|
Recommends: python-toml
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
%if %{with python2}
|
||||||
|
BuildRequires: python-backports.functools_lru_cache
|
||||||
|
BuildRequires: python-futures
|
||||||
|
%endif
|
||||||
%if %{with test}
|
%if %{with test}
|
||||||
BuildRequires: %{python_module appdirs >= 1.4.0}
|
BuildRequires: %{python_module appdirs >= 1.4.0}
|
||||||
BuildRequires: %{python_module mock}
|
BuildRequires: %{python_module mock}
|
||||||
@ -53,7 +56,6 @@ BuildRequires: %{python_module pylama}
|
|||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module requirementslib}
|
BuildRequires: %{python_module requirementslib}
|
||||||
BuildRequires: %{python_module toml}
|
BuildRequires: %{python_module toml}
|
||||||
BuildRequires: python-backports.functools_lru_cache
|
|
||||||
%endif
|
%endif
|
||||||
%ifpython2
|
%ifpython2
|
||||||
Requires: python-backports.functools_lru_cache
|
Requires: python-backports.functools_lru_cache
|
||||||
|
Loading…
x
Reference in New Issue
Block a user