[packages/python3-charset_normalizer] Use pythonpath
arekm
arekm at pld-linux.org
Sun Mar 29 01:43:19 CET 2026
commit 4c549e8fc7e8b0e69de6de73bdca67b6b6c9618d
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Sun Mar 29 01:43:00 2026 +0100
Use pythonpath
python3-charset_normalizer.spec | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/python3-charset_normalizer.spec b/python3-charset_normalizer.spec
index 8a74d52..6fbf548 100644
--- a/python3-charset_normalizer.spec
+++ b/python3-charset_normalizer.spec
@@ -58,10 +58,9 @@ Dokumentacja API modułu Pythona %{module}.
%py3_build
%if %{with tests}
-PYTHONPATH=$(pwd)/build-3/lib \
PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
PYTEST_PLUGINS="pytest_cov.plugin" \
-%{__python3} -m pytest tests
+%{__python3} -m pytest -o "pythonpath=$(pwd)/build-3/lib" tests
%endif
%if %{with doc}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python3-charset_normalizer.git/commitdiff/4c549e8fc7e8b0e69de6de73bdca67b6b6c9618d
More information about the pld-cvs-commit
mailing list