From 86e34caa603d032b87fd0781e439128edcea7d804daadfdd5a0e6e339f25504c Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 19 Sep 2022 08:21:09 +0000 Subject: [PATCH] - update to 0.13.2: * Formally require Python 3.7 or later using ``python_requires``. * Fix warnings related to deprecated options syntax. * ``setUpModule`` and ``tearDownModule`` are now exempted by default. - drop add-missing-option-for-testsuite.patch (obsolete) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pep8-naming?expand=0&rev=22 --- add-missing-option-for-testsuite.patch | 22 ---------------------- pep8-naming-0.12.1.tar.gz | 3 --- pep8-naming-0.13.2.tar.gz | 3 +++ python-pep8-naming.changes | 9 +++++++++ python-pep8-naming.spec | 4 ++-- 5 files changed, 14 insertions(+), 27 deletions(-) delete mode 100644 add-missing-option-for-testsuite.patch delete mode 100644 pep8-naming-0.12.1.tar.gz create mode 100644 pep8-naming-0.13.2.tar.gz diff --git a/add-missing-option-for-testsuite.patch b/add-missing-option-for-testsuite.patch deleted file mode 100644 index fc358de..0000000 --- a/add-missing-option-for-testsuite.patch +++ /dev/null @@ -1,22 +0,0 @@ -From 03b8f36f6a8bb8bc79dfa5a71ad9be2a0bf8bbf5 Mon Sep 17 00:00:00 2001 -From: Ian Stapleton Cordasco -Date: Wed, 20 Oct 2021 07:58:49 -0500 -Subject: [PATCH] Add missing option to get passing tests - -Related to https://github.com/PyCQA/pep8-naming/pull/180 ---- - run_tests.py | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/run_tests.py b/run_tests.py -index 64d80b5..660fede 100644 ---- a/run_tests.py -+++ b/run_tests.py -@@ -86,6 +86,7 @@ def parse_options(checker, options): - options_manager = OptionsManager('flake8') - options_manager.add_option('--select', default=[]) - options_manager.add_option('--extended-default-select', default=['N']) -+ options_manager.add_option('--extend-select', default=[]) - options_manager.add_option('--ignore', default=[]) - options_manager.add_option('--extend-ignore', default=[]) - options_manager.add_option('--enable-extensions', default=[]) diff --git a/pep8-naming-0.12.1.tar.gz b/pep8-naming-0.12.1.tar.gz deleted file mode 100644 index da1d452..0000000 --- a/pep8-naming-0.12.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:bb2455947757d162aa4cad55dba4ce029005cd1692f2899a21d51d8630ca7841 -size 17360 diff --git a/pep8-naming-0.13.2.tar.gz b/pep8-naming-0.13.2.tar.gz new file mode 100644 index 0000000..a447e4c --- /dev/null +++ b/pep8-naming-0.13.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:93eef62f525fd12a6f8c98f4dcc17fa70baae2f37fa1f73bec00e3e44392fa48 +size 16005 diff --git a/python-pep8-naming.changes b/python-pep8-naming.changes index 00b3971..51e94f7 100644 --- a/python-pep8-naming.changes +++ b/python-pep8-naming.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Mon Sep 19 08:18:29 UTC 2022 - Dirk Müller + +- update to 0.13.2: + * Formally require Python 3.7 or later using ``python_requires``. + * Fix warnings related to deprecated options syntax. + * ``setUpModule`` and ``tearDownModule`` are now exempted by default. +- drop add-missing-option-for-testsuite.patch (obsolete) + ------------------------------------------------------------------- Mon Feb 7 04:03:47 UTC 2022 - Steve Kowalik diff --git a/python-pep8-naming.spec b/python-pep8-naming.spec index 84a4898..736c2fb 100644 --- a/python-pep8-naming.spec +++ b/python-pep8-naming.spec @@ -18,13 +18,13 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-pep8-naming -Version: 0.12.1 +Version: 0.13.2 Release: 0 Summary: Flake8 plugin for checking PEP-8 naming conventions License: MIT URL: https://github.com/PyCQA/pep8-naming Source: https://files.pythonhosted.org/packages/source/p/pep8-naming/pep8-naming-%{version}.tar.gz -Patch0: add-missing-option-for-testsuite.patch +BuildRequires: %{python_module base >= 3.7} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros