[packages/python-pycodestyle] - updated version note

qboosh qboosh at pld-linux.org
Wed Nov 26 22:36:22 CET 2025


commit 25e52a0efc20f47f06c251cea7ead3a117dd5166
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Wed Nov 26 22:36:29 2025 +0100

    - updated version note

 python-pycodestyle.spec | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/python-pycodestyle.spec b/python-pycodestyle.spec
index 24bc542..64b440e 100644
--- a/python-pycodestyle.spec
+++ b/python-pycodestyle.spec
@@ -6,7 +6,9 @@
 Summary:	Python style guide checker
 Summary(pl.UTF-8):	Sprawdzanie zgodności z poradnikiem stylu kodowania w Pythonie
 Name:		python-pycodestyle
-# NOTE: before upgrading to >=2.8.0 check for python2-compatible flake8 release supporting new pycodestyle
+# keep < 2.9 here for python2 support
+# and < 2.8 to support flake8 3.9.x, which was the last with python2 support
+# (there were no flake8 releases supporting pycodestyle 2.8.x and python2)
 Version:	2.7.0
 Release:	6
 License:	MIT
@@ -15,11 +17,11 @@ Group:		Libraries/Python
 Source0:	https://files.pythonhosted.org/packages/source/p/pycodestyle/pycodestyle-%{version}.tar.gz
 # Source0-md5:	b6d333b5ef185b73b54ec0e9292d7d9e
 URL:		https://pycodestyle.readthedocs.io/
-BuildRequires:	rpm-pythonprov
-BuildRequires:	rpmbuild(macros) >= 1.714
 BuildRequires:	python-modules >= 1:2.7
 BuildRequires:	python-setuptools
 %{?with_doc:BuildRequires:	sphinx-pdg}
+BuildRequires:	rpm-pythonprov
+BuildRequires:	rpmbuild(macros) >= 1.714
 Requires:	python-modules >= 1:2.7
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-pycodestyle.git/commitdiff/25e52a0efc20f47f06c251cea7ead3a117dd5166




More information about the pld-cvs-commit mailing list