forked from pool/python-flake8
- Update to 6.1.0:
* Pyflakes has been updated to >= 3.1.0, < 3.2.0 (See also #1847). * pycodestyle has been updated to >= 2.11.0, < 2.12.0 (See also #1848). * Deprecate --include-in-doctest, --exclude-from-doctest (See also #1747, #1768). * Add support for python 3.12 (See also #1832, #1849, #1850). - Switch to pyproject macros. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8?expand=0&rev=89
This commit is contained in:
parent
07e68500ae
commit
3a53140c7b
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c61007e76655af75e6785a931f452915b371dc48f56efd765247c8fe68f2b181
|
||||
size 138524
|
BIN
flake8-6.1.0.tar.gz
(Stored with Git LFS)
Normal file
BIN
flake8-6.1.0.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -1,3 +1,14 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 8 06:18:12 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Update to 6.1.0:
|
||||
* Pyflakes has been updated to >= 3.1.0, < 3.2.0 (See also #1847).
|
||||
* pycodestyle has been updated to >= 2.11.0, < 2.12.0 (See also #1848).
|
||||
* Deprecate --include-in-doctest, --exclude-from-doctest
|
||||
(See also #1747, #1768).
|
||||
* Add support for python 3.12 (See also #1832, #1849, #1850).
|
||||
- Switch to pyproject macros.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 8 13:55:59 UTC 2023 - Johannes Kastl <kastl@b1-systems.de>
|
||||
|
||||
|
@ -18,29 +18,31 @@
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-flake8
|
||||
Version: 6.0.0
|
||||
Version: 6.1.0
|
||||
Release: 0
|
||||
Summary: Modular source code checker: pep8, pyflakes and co
|
||||
License: MIT
|
||||
URL: https://flake8.pycqa.org
|
||||
Source: https://files.pythonhosted.org/packages/source/f/flake8/flake8-%{version}.tar.gz
|
||||
Source: https://github.com/PyCQA/flake8/archive/refs/tags/%{version}.tar.gz#/flake8-%{version}.tar.gz
|
||||
# workaround for https://github.com/PyCQA/flake8/pull/1669
|
||||
Source2: https://raw.githubusercontent.com/PyCQA/flake8/%{version}/bin/gen-pycodestyle-plugin
|
||||
BuildRequires: %{python_module base >= 3.8}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module mccabe >= 0.7.0 with %python-mccabe < 0.8.0}
|
||||
BuildRequires: %{python_module pycodestyle >= 2.10.0 with %python-pycodestyle < 2.11.0}
|
||||
BuildRequires: %{python_module pyflakes >= 3.0.0 with %python-pyflakes < 3.1.0}
|
||||
BuildRequires: %{python_module pycodestyle >= 2.11.0 with %python-pycodestyle < 2.12.0}
|
||||
BuildRequires: %{python_module pyflakes >= 3.1.0 with %python-pyflakes < 3.2.0}
|
||||
BuildRequires: %{python_module pytest}
|
||||
# /SECTION
|
||||
BuildArch: noarch
|
||||
# https://flake8.pycqa.org/en/latest/faq.html#why-does-flake8-use-ranges-for-its-dependencies
|
||||
Requires: (python-mccabe >= 0.7.0 with python-mccabe < 0.8.0)
|
||||
Requires: (python-pycodestyle >= 2.10.0 with python-pycodestyle < 2.11.0)
|
||||
Requires: (python-pyflakes >= 3.0.0 with python-pyflakes < 3.1.0)
|
||||
Requires: (python-pycodestyle >= 2.11.0 with python-pycodestyle < 2.12.0)
|
||||
Requires: (python-pyflakes >= 3.1.0 with python-pyflakes < 3.2.0)
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun):update-alternatives
|
||||
%python_subpackages
|
||||
@ -69,10 +71,10 @@ This package provides documentation for %{name}.
|
||||
install -m 0755 -D %{SOURCE2} bin/gen-pycodestyle-plugin
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_clone -a %{buildroot}%{_bindir}/flake8
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
@ -89,7 +91,7 @@ install -m 0755 -D %{SOURCE2} bin/gen-pycodestyle-plugin
|
||||
%license LICENSE
|
||||
%python_alternative %{_bindir}/flake8
|
||||
%{python_sitelib}/flake8
|
||||
%{python_sitelib}/flake8-%{version}*-info
|
||||
%{python_sitelib}/flake8-%{version}.dist-info
|
||||
|
||||
%files -n %{name}-doc
|
||||
%doc README.rst
|
||||
|
Loading…
Reference in New Issue
Block a user