!17 update version to 3.9.2

From: @zhangy1317
Reviewed-by: @shinwell_hu
Signed-off-by: @shinwell_hu
This commit is contained in:
openeuler-ci-bot 2021-07-21 09:39:50 +00:00 committed by Gitee
commit 2f8713ae8f
3 changed files with 18 additions and 31 deletions

Binary file not shown.

BIN
flake8-3.9.2.tar.gz Normal file

Binary file not shown.

View File

@ -1,58 +1,42 @@
%global _empty_manifest_terminate_build 0
Name: python-flake8
Version: 3.8.4
Version: 3.9.2
Release: 1
Summary: the modular source code checker: pep8 pyflakes and co
License: MIT
URL: https://gitlab.com/pycqa/flake8
Source0: https://files.pythonhosted.org/packages/71/6a/b3341ef7e7f3585add027d876a7d9837cdfe3320b6c6b5fd0cddfa9ceeac/flake8-3.8.4.tar.gz
Source0: https://files.pythonhosted.org/packages/9e/47/15b267dfe7e03dca4c4c06e7eadbd55ef4dfd368b13a0bab36d708b14366/flake8-3.9.2.tar.gz
BuildArch: noarch
Requires: python3-pyflakes
Requires: python3-pycodestyle
Requires: python3-mccabe
Requires: python3-configparser
Requires: python3-enum34
Requires: python3-typing
Requires: python3-importlib-metadata
Recommends: %{name}-help = %{version}-%{release}
%description
Flake8 is a wrapper around PyFlakes, pycodestyle, and Ned's McCabe
script. It runs all the tools by launching the single flake8 script,
and displays the warnings in a per-file, merged output.
The modular source code checker: pep8 pyflakes and co.
It also adds a few features: files that contain "# flake8: noqa" are
skipped, lines that contain a "# noqa" comment at the end will not
issue warnings, Git and Mercurial hooks are included, a McCabe
complexity checker is included, and it is extendable through
flake8.extension entry points.
%package -n python3-flake8
Summary: the modular source code checker: pep8 pyflakes and co
Provides: python-flake8
BuildRequires: python3-devel
BuildRequires: python3-setuptools
Requires: python3-pyflakes
Requires: python3-pycodestyle
Requires: python3-mccabe
Requires: python3-configparser
# Requires: python3-functools32
Requires: python3-enum34
Requires: python3-typing
Requires: python3-importlib-metadata
%description -n python3-flake8
Flake8 is a wrapper around PyFlakes, pycodestyle, and Ned's McCabe
script. It runs all the tools by launching the single flake8 script,
and displays the warnings in a per-file, merged output.
The modular source code checker: pep8 pyflakes and co.
It also adds a few features: files that contain "# flake8: noqa" are
skipped, lines that contain a "# noqa" comment at the end will not
issue warnings, Git and Mercurial hooks are included, a McCabe
complexity checker is included, and it is extendable through
flake8.extension entry points.
%package help
Summary: Development documents and examples for flake8
Provides: python3-flake8-doc
%description help
Development documents and examples for flake8
The modular source code checker: pep8 pyflakes and co.
%prep
%autosetup -n flake8-3.8.4
sed -i 's/pycodestyle >= 2.6.0a1/pycodestyle >= 2.6.0/' setup.cfg
%autosetup -n flake8-3.9.2
%build
%py3_build
@ -92,5 +76,8 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
* Thu Jul 15 2021 openstack-sig <openstack@openeuler.org>
- Update to 3.9.2
* Mon Oct 12 2020 maminjie <maminjie1@huawei.com> - 3.8.4-1
- Package Init