[packages/python-sphinx_rtd_theme] - disable pytest plugins
qboosh
qboosh at pld-linux.org
Sat Sep 10 18:43:14 CEST 2022
commit 13f60bf2d06a452d127f693d741482285310f014
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat Sep 10 18:43:26 2022 +0200
- disable pytest plugins
python-sphinx_rtd_theme.spec | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/python-sphinx_rtd_theme.spec b/python-sphinx_rtd_theme.spec
index 87abb95..dc6d7b9 100644
--- a/python-sphinx_rtd_theme.spec
+++ b/python-sphinx_rtd_theme.spec
@@ -68,6 +68,7 @@ wykonany przez readthedocs.org.
%py_build
%if %{with tests}
+PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
%{__python} -m pytest tests
%endif
%endif
@@ -76,6 +77,7 @@ wykonany przez readthedocs.org.
%py3_build
%if %{with tests}
+PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
%{__python3} -m pytest tests
%endif
%endif
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-sphinx_rtd_theme.git/commitdiff/13f60bf2d06a452d127f693d741482285310f014
More information about the pld-cvs-commit
mailing list