[packages/python-sphinxcontrib-programoutput] - updated py3 tests running

qboosh qboosh at pld-linux.org
Fri May 30 07:50:25 CEST 2025


commit e240e17ecdf694277a791c4e1e86faad78a6391b
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Fri May 30 06:29:03 2025 +0200

    - updated py3 tests running

 python-sphinxcontrib-programoutput.spec | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/python-sphinxcontrib-programoutput.spec b/python-sphinxcontrib-programoutput.spec
index d29028c..a2b141b 100644
--- a/python-sphinxcontrib-programoutput.spec
+++ b/python-sphinxcontrib-programoutput.spec
@@ -89,7 +89,12 @@ LC_ALL=C.UTF-8 \
 %endif
 
 %if %{with python3}
-%py3_build %{?with_tests:test}
+%py3_build
+
+%if %{with tests}
+PYTHONPATH=$(pwd)/src \
+%{__python3} -m unittest discover -s src
+%endif
 %endif
 
 %if %{with doc}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-sphinxcontrib-programoutput.git/commitdiff/e240e17ecdf694277a791c4e1e86faad78a6391b



More information about the pld-cvs-commit mailing list