[packages/python-wrapt] - run tests with just built, not system wrapt
qboosh
qboosh at pld-linux.org
Tue Sep 13 19:51:57 CEST 2022
commit f512b181c191b9d11e5b24d35df4672c8e0e7589
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Tue Sep 13 19:52:14 2022 +0200
- run tests with just built, not system wrapt
python-wrapt.spec | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/python-wrapt.spec b/python-wrapt.spec
index 25d25cb..c7b314a 100644
--- a/python-wrapt.spec
+++ b/python-wrapt.spec
@@ -93,6 +93,7 @@ bardziej przewidywalne i spójne zachowanie.
%if %{with tests}
PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
+PYTHONPATH=$(echo $(pwd)/build-2/lib.*) \
%{__python} -m pytest tests
%endif
%endif
@@ -102,6 +103,7 @@ PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
%if %{with tests}
PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
+PYTHONPATH=$(echo $(pwd)/build-3/lib.*) \
%{__python3} -m pytest tests
%endif
%endif
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-wrapt.git/commitdiff/f512b181c191b9d11e5b24d35df4672c8e0e7589
More information about the pld-cvs-commit
mailing list