Compare commits

..

No commits in common. "95067c4366b874138664de5bb7732c5e3cee2c6a" and "ab0e89868f4529b6b31c954728f1c389ff0bb0e0" have entirely different histories.

3 changed files with 34 additions and 18 deletions

BIN
flake8-3.8.4.tar.gz Normal file

Binary file not shown.

Binary file not shown.

View File

@ -1,37 +1,58 @@
%global _empty_manifest_terminate_build 0
Name: python-flake8
Version: 3.9.2
Version: 3.8.4
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/9e/47/15b267dfe7e03dca4c4c06e7eadbd55ef4dfd368b13a0bab36d708b14366/flake8-3.9.2.tar.gz
Source0: https://files.pythonhosted.org/packages/71/6a/b3341ef7e7f3585add027d876a7d9837cdfe3320b6c6b5fd0cddfa9ceeac/flake8-3.8.4.tar.gz
BuildArch: noarch
%description
The modular source code checker: pep8 pyflakes and co.
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.
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
%description -n python3-flake8
The modular source code checker: pep8 pyflakes and co.
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.
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
The modular source code checker: pep8 pyflakes and co.
Development documents and examples for flake8
%prep
%autosetup -n flake8-3.9.2
%autosetup -n flake8-3.8.4
sed -i 's/pycodestyle >= 2.6.0a1/pycodestyle >= 2.6.0/' setup.cfg
%build
%py3_build
@ -71,10 +92,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
* Tue Oct 26 2023 luxuexian <luxuexian@huawei.com> - 3.9.2-1
- Update to version 3.9.2
* Tue Nov 09 2021 OpenStack_SIG <openstack@openeuler.org> - 3.5.0-2
- Drop pyflakes and pycodestyle version limit
* Fri Nov 05 2021 OpenStack_SIG <openstack@openeuler.org> - 3.5.0-1
- Init package python3-flake8 of version 3.5.0
* Mon Oct 12 2020 maminjie <maminjie1@huawei.com> - 3.8.4-1
- Package Init