forked from pool/python-flake8
Accepting request 671477 from home:alarrosa:branches:devel:languages:python
- Update to version 3.7.5:
* Bugs Fixed
+ Fix reporting of pyflakes "referenced before assignment" error
(See also GitLab!301, GitLab#503)
- Update to version 3.7.4:
* Bugs Fixed
+ Fix performance regression with lots of per-file-ignores and errors
(See also GitLab!299, GitLab#501)
- Update to version 3.7.3:
* Bugs Fixed
+ Fix imports of typing in python 3.5.0 / 3.5.1 (See also GitLab!294,
GitLab#498)
+ Fix flake8 --statistics (See also GitLab!295, GitLab#499)
+ Gracefully ignore flake8-per-file-ignores plugin if installed
(See also GitLab!297, GitLab#495)
+ Improve error message for malformed per-file-ignores
(See also GitLab!298, GitLab#489)
- Update to version 3.7.2:
* Bugs Fixed
+ Fix broken flake8 --diff (regressed in 3.7.0) (See also GitLab!292,
GitLab#490)
+ Fix typo in plugin exception reporting (See also GitLab!275, GitLab#491)
+ Fix AttributeError while attempting to use the legacy api
(regressed in 3.7.0) (See also GitLab!293, GitLab#497)
- Update to version 3.7.1:
* Bugs Fixed
+ Fix capitalized filenames in per-file-ignores setting (See also GitLab!290, GitLab#488)
- Update to version 3.7.0:
* New Dependency Information
+ Add dependency on entrypoints >= 0.3, < 0.4
OBS-URL: https://build.opensuse.org/request/show/671477
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8?expand=0&rev=44
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%bcond_without python2
|
||||
Name: python-flake8
|
||||
Version: 3.6.0
|
||||
Version: 3.7.5
|
||||
Release: 0
|
||||
Summary: Modular source code checker: pep8, pyflakes and co
|
||||
License: MIT
|
||||
@@ -27,31 +27,39 @@ Group: Development/Languages/Python
|
||||
URL: https://gitlab.com/pycqa/flake8
|
||||
Source: https://files.pythonhosted.org/packages/source/f/flake8/flake8-%{version}.tar.gz
|
||||
Patch0: remove_mock_dependency.patch
|
||||
Patch1: pyflakes21.patch
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-entrypoints >= 0.3
|
||||
Requires: python-mccabe >= 0.6.0
|
||||
Requires: python-pycodestyle >= 2.4.0
|
||||
Requires: python-pyflakes >= 2.0.0
|
||||
Requires: python-pycodestyle >= 2.5.0
|
||||
Requires: python-pyflakes >= 2.1.0
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
BuildArch: noarch
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module mccabe >= 0.2.1}
|
||||
BuildRequires: %{python_module pycodestyle >= 2.4.0}
|
||||
BuildRequires: %{python_module pyflakes >= 2.0.0}
|
||||
BuildRequires: %{python_module entrypoints >= 0.3}
|
||||
BuildRequires: %{python_module mccabe >= 0.6.0}
|
||||
BuildRequires: %{python_module pycodestyle >= 2.5.0}
|
||||
BuildRequires: %{python_module pyflakes >= 2.1.0}
|
||||
BuildRequires: %{python_module pytest-runner}
|
||||
BuildRequires: %{python_module pytest}
|
||||
%if %{with python2}
|
||||
BuildRequires: python2-configparser
|
||||
BuildRequires: python2-enum34
|
||||
BuildRequires: python2-functools32
|
||||
BuildRequires: python2-mock
|
||||
BuildRequires: python2-typing
|
||||
%endif
|
||||
%if 0%{?suse_version} < 1500
|
||||
BuildRequires: python3-typing
|
||||
%endif
|
||||
# /SECTION
|
||||
%ifpython2
|
||||
Requires: python-configparser
|
||||
Requires: python-enum34
|
||||
Requires: python-functools32
|
||||
Requires: python-typing
|
||||
%endif
|
||||
%python_subpackages
|
||||
|
||||
|
||||
Reference in New Issue
Block a user