forked from pool/python-pycodestyle
Accepting request 1102396 from home:mschreiner:branches:devel:languages:python
- Update to 2.11.0 * Drop EOL python 3.6 / 3.7. * Add support for python 3.12. * E721: adjust handling of type comparison. Allowed forms are now isinstance(x, t) or type(x) is t. * Remove handling of python 2 <> operator. * W606: removed. async / await are always keywords. * Internal: move tests to pytest. * Remove handling of python 2 ur'' strings. - Remove testsuite_fixes.patch as it's no longer required - Replaced spec file "Source" to pull from GitHub due to this issue: https://github.com/PyCQA/pycodestyle/issues/1183 - Apply spec-cleaner to spec file. OBS-URL: https://build.opensuse.org/request/show/1102396 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycodestyle?expand=0&rev=34
This commit is contained in:
@@ -16,25 +16,24 @@
|
||||
#
|
||||
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-pycodestyle
|
||||
Version: 2.10.0
|
||||
Version: 2.11.0
|
||||
Release: 0
|
||||
Summary: Python style guide checker
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
URL: https://pycodestyle.readthedocs.io/
|
||||
Source: https://files.pythonhosted.org/packages/source/p/pycodestyle/pycodestyle-%{version}.tar.gz
|
||||
Patch01: testsuite_fixes.patch
|
||||
Source: https://github.com/PyCQA/pycodestyle/archive/refs/tags/%{version}.tar.gz#/pycodestyle-%{version}.tar.gz
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildArch: noarch
|
||||
Provides: python-pep8 = %{version}
|
||||
Obsoletes: python-pep8 < %{version}
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun):update-alternatives
|
||||
Provides: python-pep8 = %{version}
|
||||
Obsoletes: python-pep8 < %{version}
|
||||
BuildArch: noarch
|
||||
%{?sle15_python_module_pythons}
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
|
Reference in New Issue
Block a user