forked from pool/python-flake8
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8?expand=0&rev=61
This commit is contained in:
parent
49f4ac8ead
commit
dca366679e
@ -23,27 +23,22 @@ Version: 3.8.1
|
||||
Release: 0
|
||||
Summary: Modular source code checker: pep8, pyflakes and co
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
URL: https://gitlab.com/pycqa/flake8
|
||||
Source: https://files.pythonhosted.org/packages/source/f/flake8/flake8-%{version}.tar.gz
|
||||
Patch0: fix-mock-patch-with-python3.4.patch
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-importlib-metadata
|
||||
Requires: python-mccabe >= 0.6.0
|
||||
Requires: python-pycodestyle >= 2.6.0~a1
|
||||
Requires: python-pyflakes >= 2.1.0
|
||||
Requires: python-typing
|
||||
%if %{python3_version_nodots} < 38
|
||||
Requires: python-importlib-metadata
|
||||
%endif
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
BuildArch: noarch
|
||||
# SECTION test requirements
|
||||
%if %{python3_version_nodots} < 38
|
||||
BuildRequires: %{python_module importlib-metadata}
|
||||
%endif
|
||||
BuildRequires: %{python_module mccabe >= 0.6.0}
|
||||
BuildRequires: %{python_module mock}
|
||||
BuildRequires: %{python_module pycodestyle >= 2.6.0~a1}
|
||||
@ -77,7 +72,6 @@ Flake8 runs all the tools by launching the single ``flake8`` script.
|
||||
|
||||
%package -n %{name}-doc
|
||||
Summary: Documentation files for %{name}
|
||||
Group: Documentation/Other
|
||||
Recommends: %{name} = %{version}
|
||||
|
||||
%description -n %{name}-doc
|
||||
|
Loading…
Reference in New Issue
Block a user