forked from pool/python-flake8
Accepting request 563588 from devel:languages:python
- Fix build with python3 only, add condition for the py2 only deps (forwarded request 563586 from scarabeus_iv) OBS-URL: https://build.opensuse.org/request/show/563588 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flake8?expand=0&rev=16
This commit is contained in:
commit
c6b8fe97ad
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jan 11 12:11:06 UTC 2018 - tchvatal@suse.com
|
||||||
|
|
||||||
|
- Fix build with python3 only, add condition for the py2 only deps
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Oct 24 08:59:03 UTC 2017 - dmueller@suse.com
|
Tue Oct 24 08:59:03 UTC 2017 - dmueller@suse.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-flake8
|
# spec file for package python-flake8
|
||||||
#
|
#
|
||||||
# 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
|
# 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
|
||||||
@ -16,6 +16,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%bcond_without python2
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-flake8
|
Name: python-flake8
|
||||||
Version: 3.5.0
|
Version: 3.5.0
|
||||||
@ -36,8 +37,10 @@ BuildRequires: %{python_module pycodestyle >= 2.0.0}
|
|||||||
BuildRequires: %{python_module pyflakes >= 1.5.0}
|
BuildRequires: %{python_module pyflakes >= 1.5.0}
|
||||||
BuildRequires: %{python_module pytest-runner}
|
BuildRequires: %{python_module pytest-runner}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
|
%if %{with python2}
|
||||||
BuildRequires: python2-configparser
|
BuildRequires: python2-configparser
|
||||||
BuildRequires: python2-enum34
|
BuildRequires: python2-enum34
|
||||||
|
%endif
|
||||||
# /SECTION
|
# /SECTION
|
||||||
Requires: python-mccabe >= 0.6.0
|
Requires: python-mccabe >= 0.6.0
|
||||||
Requires: python-pycodestyle >= 2.0.0
|
Requires: python-pycodestyle >= 2.0.0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user