From 92c364a231d32dc43796ebf9d85f7932b435d94cffc615b19defd969d6c4e0c3 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 15 Aug 2022 11:02:18 +0000 Subject: [PATCH] - update to 2.9.1: * E275: fix false positive for yield expressions. * E221, E222, E223, E224: add support for := operator. PR #1032. * Drop python 2.7 / 3.5. * E262: consider non-breaking spaces (\xa0) as whitespace. PR #1035. * Improve performance of _is_binary_operator. PR #1052. * E275: requires whitespace around keywords. PR #1063. * Add support for python 3.11. PR #1070. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycodestyle?expand=0&rev=19 --- pycodestyle-2.8.0.tar.gz | 3 --- pycodestyle-2.9.1.tar.gz | 3 +++ python-pycodestyle.changes | 12 ++++++++++++ python-pycodestyle.spec | 16 ++++++---------- 4 files changed, 21 insertions(+), 13 deletions(-) delete mode 100644 pycodestyle-2.8.0.tar.gz create mode 100644 pycodestyle-2.9.1.tar.gz diff --git a/pycodestyle-2.8.0.tar.gz b/pycodestyle-2.8.0.tar.gz deleted file mode 100644 index 01d4fcd..0000000 --- a/pycodestyle-2.8.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:eddd5847ef438ea1c7870ca7eb78a9d47ce0cdb4851a5523949f2601d0cbbe7f -size 102299 diff --git a/pycodestyle-2.9.1.tar.gz b/pycodestyle-2.9.1.tar.gz new file mode 100644 index 0000000..1fdde34 --- /dev/null +++ b/pycodestyle-2.9.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2c9607871d58c76354b697b42f5d57e1ada7d261c261efac224b664affdc5785 +size 102127 diff --git a/python-pycodestyle.changes b/python-pycodestyle.changes index cafd16f..4da5f60 100644 --- a/python-pycodestyle.changes +++ b/python-pycodestyle.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Mon Aug 15 11:00:40 UTC 2022 - Dirk Müller + +- update to 2.9.1: + * E275: fix false positive for yield expressions. + * E221, E222, E223, E224: add support for := operator. PR #1032. + * Drop python 2.7 / 3.5. + * E262: consider non-breaking spaces (\xa0) as whitespace. PR #1035. + * Improve performance of _is_binary_operator. PR #1052. + * E275: requires whitespace around keywords. PR #1063. + * Add support for python 3.11. PR #1070. + ------------------------------------------------------------------- Thu Nov 4 13:31:35 UTC 2021 - Ferdinand Thiessen diff --git a/python-pycodestyle.spec b/python-pycodestyle.spec index 5e26387..1904a76 100644 --- a/python-pycodestyle.spec +++ b/python-pycodestyle.spec @@ -1,7 +1,7 @@ # # spec file for package python-pycodestyle # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,10 +16,10 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} -%define oldpython python +%{?!python_module:%define python_module() python3-%{**}} +%global skip_python2 1 Name: python-pycodestyle -Version: 2.8.0 +Version: 2.9.1 Release: 0 Summary: Python style guide checker License: MIT @@ -31,14 +31,10 @@ BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch -%ifpython2 -Provides: %{oldpython}-pep8 = %{version} -Obsoletes: %{oldpython}-pep8 < %{version} -%endif Provides: python-pep8 = %{version} Obsoletes: python-pep8 < %{version} -Requires(post): update-alternatives -Requires(postun): update-alternatives +Requires(post): update-alternatives +Requires(postun):update-alternatives %python_subpackages %description