From 3a53140c7b031d5e357d8ce8acabc1c34844a129fdca8c7fee43ba733eed7b3c Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Tue, 8 Aug 2023 06:21:59 +0000 Subject: [PATCH] - 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 --- flake8-6.0.0.tar.gz | 3 --- flake8-6.1.0.tar.gz | 3 +++ python-flake8.changes | 11 +++++++++++ python-flake8.spec | 20 +++++++++++--------- 4 files changed, 25 insertions(+), 12 deletions(-) delete mode 100644 flake8-6.0.0.tar.gz create mode 100644 flake8-6.1.0.tar.gz diff --git a/flake8-6.0.0.tar.gz b/flake8-6.0.0.tar.gz deleted file mode 100644 index eeaca64..0000000 --- a/flake8-6.0.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c61007e76655af75e6785a931f452915b371dc48f56efd765247c8fe68f2b181 -size 138524 diff --git a/flake8-6.1.0.tar.gz b/flake8-6.1.0.tar.gz new file mode 100644 index 0000000..e9e5e80 --- /dev/null +++ b/flake8-6.1.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bcb01efc0c83d3c9362e200b5359fe22e11b859962dd27e5bebf3ada7620ae2f +size 139267 diff --git a/python-flake8.changes b/python-flake8.changes index e8d8a2a..71a28af 100644 --- a/python-flake8.changes +++ b/python-flake8.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Tue Aug 8 06:18:12 UTC 2023 - Steve Kowalik + +- 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 diff --git a/python-flake8.spec b/python-flake8.spec index e161bac..bbe6acc 100644 --- a/python-flake8.spec +++ b/python-flake8.spec @@ -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