[packages/python3-chardet] - more docs, fixed tests

qboosh qboosh at pld-linux.org
Sun Dec 14 21:48:19 CET 2025


commit 40f489c1f716d57b04fe0b55c4ab7316f2b009f0
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Dec 14 21:48:41 2025 +0100

    - more docs, fixed tests

 python3-chardet.spec | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/python3-chardet.spec b/python3-chardet.spec
index fc7764c..b4fdce9 100644
--- a/python3-chardet.spec
+++ b/python3-chardet.spec
@@ -20,7 +20,7 @@ BuildRequires:	python3 >= 1:3.7
 BuildRequires:	python3-build
 BuildRequires:	python3-devel >= 1:3.7
 BuildRequires:	python3-installer
-BuildRequires:	python3-setuptools
+BuildRequires:	python3-setuptools >= 1:61
 %if %{with tests}
 BuildRequires:	python3-hypothesis
 BuildRequires:	python3-pytest
@@ -62,6 +62,7 @@ Dokumentacja API modułu Pythona chardet.
 %py3_build_pyproject
 
 %if %{with tests}
+PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
 %{__python3} -m pytest test.py
 %endif
 
@@ -81,7 +82,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc README.rst
+%doc NOTES.rst README.rst
 %attr(755,root,root) %{_bindir}/chardetect
 %{py3_sitescriptdir}/chardet
 %{py3_sitescriptdir}/chardet-%{version}.dist-info
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-chardet.git/commitdiff/40f489c1f716d57b04fe0b55c4ab7316f2b009f0



More information about the pld-cvs-commit mailing list