[packages/python3-pycodestyle] - updated to 2.14.0 (for flake8 7.3.x)

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


commit 90101929d56c3b7de6934ff3511ff15019b3b152
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Wed Nov 26 22:31:13 2025 +0100

    - updated to 2.14.0 (for flake8 7.3.x)

 python3-pycodestyle.spec | 17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)
---
diff --git a/python3-pycodestyle.spec b/python3-pycodestyle.spec
index 13abd7b..7661643 100644
--- a/python3-pycodestyle.spec
+++ b/python3-pycodestyle.spec
@@ -1,23 +1,24 @@
 #
 # Conditional build:
-%bcond_without	tests	# unit tests
+%bcond_with	tests	# unit tests (testing.support missing in sdist)
 
 Summary:	Python style guide checker
 Summary(pl.UTF-8):	Sprawdzanie zgodności z poradnikiem stylu kodowania w Pythonie
 Name:		python3-pycodestyle
-Version:	2.13.0
+# note: keep in sync with flake8.spec
+Version:	2.14.0
 Release:	1
 License:	MIT
 Group:		Libraries/Python
 #Source0Download: https://pypi.org/simple/pycodestyle/
 Source0:	https://files.pythonhosted.org/packages/source/p/pycodestyle/pycodestyle-%{version}.tar.gz
-# Source0-md5:	4e0e9d54c06f24a457a552e8e038f9d2
+# Source0-md5:	d6dfb0c33b62be4c14ad9f447f6e0d61
 URL:		https://pycodestyle.readthedocs.io/
-BuildRequires:	python3-modules >= 1:3.4
+BuildRequires:	python3-modules >= 1:3.9
 BuildRequires:	python3-setuptools
 BuildRequires:	rpm-pythonprov
 BuildRequires:	rpmbuild(macros) >= 1.714
-Requires:	python3-modules >= 1:3.8
+Requires:	python3-modules >= 1:3.9
 # default binary moved
 Conflicts:	python-pycodestyle < 2.5.0-4
 BuildArch:	noarch
@@ -39,10 +40,8 @@ wcześniej nazywał się pep8.
 %py3_build
 
 %if %{with tests}
-# use explicit plugins list for reliable builds (delete PYTEST_PLUGINS if empty)
 PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
-PYTEST_PLUGINS= \
-%{__python3} -m pytest -o pythonpath="$PWD/build-3" tests
+%{__python3} -m pytest tests
 %endif
 
 %install
@@ -59,8 +58,8 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc README.rst
-%attr(755,root,root) %{_bindir}/pycodestyle
 %attr(755,root,root) %{_bindir}/pycodestyle-3
+%{_bindir}/pycodestyle
 %{py3_sitescriptdir}/pycodestyle.py
 %{py3_sitescriptdir}/__pycache__/pycodestyle.cpython-*.py[co]
 %{py3_sitescriptdir}/pycodestyle-%{version}-py*.egg-info
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-pycodestyle.git/commitdiff/90101929d56c3b7de6934ff3511ff15019b3b152




More information about the pld-cvs-commit mailing list