Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
95067c4366
!32 [sync] PR-31: python-flake8 package update for openEuler-20.03-LTS-SP3
From: @openeuler-sync-bot 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
2023-11-06 01:17:10 +00:00
rearcher
09cc8ec195 python-flake8 package update for openEuler-20.03-LTS-SP3
(cherry picked from commit a27e0bff6626ff0d9548c8b963ee44ca4999f084)
2023-10-30 16:17:13 +08:00
openeuler-ci-bot
306bb2ca18 !21 【轻量级 PR】:Drop pyflakes and pycodestyle version limit
From: @xiyuanwang
Reviewed-by: @shinwell_hu
Signed-off-by: @shinwell_hu
2021-11-09 12:31:29 +00:00
王玺源
d3b5f21b3f Drop pyflakes and pycodestyle version limit
flake8默认依赖pyflakes<1.7和pycodestyle<2.4,但pyflakes和pycodestyle在20.03 LTS SP2已有对应的高版本软件包,不适合降级。

该PR移除flake8对pyflakes、pycodestyle,保证能正常安装
2021-11-09 10:59:27 +00:00
openeuler-ci-bot
fdc821e25d !19 Init 3.5.0 for OpenStack Train
From: @xiyuanwang
Reviewed-by: 
Signed-off-by:
2021-11-09 09:46:01 +00:00
wangxiyuan
382fc75cc5 Init 3.5.0 for OpenStack Train 2021-11-09 02:22:00 +00:00
openeuler-ci-bot
326431cba3 !18 drop useless requires
From: @zhangy1317
Reviewed-by: @shinwell_hu
Signed-off-by: @shinwell_hu
2021-07-30 08:54:00 +00:00
zhangy1317
45766dadc6 drop useless requires 2021-07-30 15:38:09 +08:00
openeuler-ci-bot
2f8713ae8f !17 update version to 3.9.2
From: @zhangy1317
Reviewed-by: @shinwell_hu
Signed-off-by: @shinwell_hu
2021-07-21 09:39:50 +00:00
zhangy1317
cc56499863 update to 3.9.2 2021-07-15 10:12:03 +08:00
3 changed files with 17 additions and 33 deletions

Binary file not shown.

BIN
flake8-3.9.2.tar.gz Normal file

Binary file not shown.

View File

@ -1,58 +1,37 @@
%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
%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 +71,10 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
* Mon Oct 12 2020 maminjie <maminjie1@huawei.com> - 3.8.4-1
- Package Init
* 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