[packages/python-Mako] - disable pytest plugins
qboosh
qboosh at pld-linux.org
Thu Sep 1 20:38:21 CEST 2022
commit 218d2f4ea20209a72e9bf16bf7fcc4e8f655d210
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Thu Sep 1 20:38:28 2022 +0200
- disable pytest plugins
python-Mako.spec | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/python-Mako.spec b/python-Mako.spec
index 1f4f7f4..8f5d257 100644
--- a/python-Mako.spec
+++ b/python-Mako.spec
@@ -9,6 +9,7 @@
Summary: Templating system for Python
Summary(pl.UTF-8): System szablonów dla języka Python
Name: python-Mako
+# keep 1.1.x here for python2 support
Version: 1.1.6
Release: 4
License: MIT
@@ -92,6 +93,7 @@ Dokumentacja do modułu Pythona Mako.
%py_build
%if %{with tests}
+PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
%{__python} -m pytest test
%endif
%endif
@@ -100,6 +102,7 @@ Dokumentacja do modułu Pythona Mako.
%py3_build
%if %{with tests}
+PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
%{__python3} -m pytest test
%endif
%endif
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-Mako.git/commitdiff/218d2f4ea20209a72e9bf16bf7fcc4e8f655d210
More information about the pld-cvs-commit
mailing list