17
0

10 Commits

Author SHA256 Message Date
e809dadf74 Accepting request 1300830 from devel:languages:python
- Convert to libalternatives on SLE-16-based and newer systems only

OBS-URL: https://build.opensuse.org/request/show/1300830
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pycodestyle?expand=0&rev=26
2025-08-22 15:47:15 +00:00
b5ceca8e59 - Convert to libalternatives on SLE-16-based and newer systems only
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycodestyle?expand=0&rev=49
2025-08-21 16:12:57 +00:00
b6331c2c8f Accepting request 1294497 from devel:languages:python
- Convert to libalternatives

OBS-URL: https://build.opensuse.org/request/show/1294497
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pycodestyle?expand=0&rev=25
2025-07-21 17:59:08 +00:00
88d21f48a4 - Convert to libalternatives
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycodestyle?expand=0&rev=47
2025-07-19 07:31:23 +00:00
1ccc6665ad Accepting request 1292498 from devel:languages:python
- update to 2.14.0:
  * Add support for python 3.14.  PR #1283.
  * Fix false positive for TypeVar defaults with more than one
    argument.

OBS-URL: https://build.opensuse.org/request/show/1292498
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pycodestyle?expand=0&rev=24
2025-07-17 15:16:57 +00:00
546143dbed - update to 2.14.0:
* Add support for python 3.14.  PR #1283.
  * Fix false positive for TypeVar defaults with more than one
    argument.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycodestyle?expand=0&rev=45
2025-07-13 12:36:09 +00:00
4066ee267e Accepting request 1269466 from devel:languages:python
- update to 2.13.0:
  * Improve performance.
  * Drop EOL python 3.8.
  * E251: fix false positive for PEP 696 defaults

OBS-URL: https://build.opensuse.org/request/show/1269466
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pycodestyle?expand=0&rev=23
2025-05-20 07:30:55 +00:00
bcebd17bfa - update to 2.13.0:
* Improve performance.
  * Drop EOL python 3.8.
  * E251: fix false positive for PEP 696 defaults

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycodestyle?expand=0&rev=43
2025-04-15 07:56:21 +00:00
025f9efa2c Accepting request 1194568 from devel:languages:python
- update to 2.12.1:
  * Properly preserve escaped `{` and `}` in fstrings in logical
    lines in 3.12+.

OBS-URL: https://build.opensuse.org/request/show/1194568
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pycodestyle?expand=0&rev=22
2024-08-20 14:12:25 +00:00
57cea6367b - update to 2.12.1:
* Properly preserve escaped `{` and `}` in fstrings in logical
    lines in 3.12+.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycodestyle?expand=0&rev=41
2024-08-18 16:50:06 +00:00
4 changed files with 53 additions and 7 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c72dccf2bf7ceb603b5bd8b737a511d5241e675e90d4f75bc8a12fe81f24c094
size 80226

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ffcf4dc55f1e5fbdc6dd6acf5db0fd07ded534ae376eee23a742e1410b48d9ae
size 81096

View File

@@ -1,3 +1,36 @@
-------------------------------------------------------------------
Thu Aug 21 16:12:39 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to libalternatives on SLE-16-based and newer systems only
-------------------------------------------------------------------
Sat Jul 19 07:30:53 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to libalternatives
-------------------------------------------------------------------
Sun Jul 13 12:35:54 UTC 2025 - Dirk Müller <dmueller@suse.com>
- update to 2.14.0:
* Add support for python 3.14. PR #1283.
* Fix false positive for TypeVar defaults with more than one
argument.
-------------------------------------------------------------------
Tue Apr 15 07:56:06 UTC 2025 - Dirk Müller <dmueller@suse.com>
- update to 2.13.0:
* Improve performance.
* Drop EOL python 3.8.
* E251: fix false positive for PEP 696 defaults
-------------------------------------------------------------------
Sun Aug 18 16:49:41 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 2.12.1:
* Properly preserve escaped `{` and `}` in fstrings in logical
lines in 3.12+.
-------------------------------------------------------------------
Mon Jun 17 06:30:52 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pycodestyle
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,9 +16,14 @@
#
%if 0%{?suse_version} > 1500
%bcond_without libalternatives
%else
%bcond_with libalternatives
%endif
%{?sle15_python_module_pythons}
Name: python-pycodestyle
Version: 2.12.0
Version: 2.14.0
Release: 0
Summary: Python style guide checker
License: MIT
@@ -31,11 +36,16 @@ BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires(post): update-alternatives
Requires(postun): update-alternatives
Provides: python-pep8 = %{version}
Obsoletes: python-pep8 < %{version}
BuildArch: noarch
%if %{with libalternatives}
BuildRequires: alts
Requires: alts
%else
Requires(post): update-alternatives
Requires(postun): update-alternatives
%endif
%python_subpackages
%description
@@ -64,6 +74,9 @@ sed -ri '1s/^#!.*//' pycodestyle.py
%postun
%python_uninstall_alternative pycodestyle
%pre
%python_libalternatives_reset_alternative pycodestyle
%check
%pytest