[packages/python-prompt_toolkit] - updated URLs, disable pytest plugins

qboosh qboosh at pld-linux.org
Fri Dec 8 21:22:15 CET 2023


commit 16d3a9735e7085331d86ce4b0848bd035673ead1
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Fri Dec 8 21:10:50 2023 +0100

    - updated URLs, disable pytest plugins

 python-prompt_toolkit.spec | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/python-prompt_toolkit.spec b/python-prompt_toolkit.spec
index b98e88c..b4eecb9 100644
--- a/python-prompt_toolkit.spec
+++ b/python-prompt_toolkit.spec
@@ -16,9 +16,9 @@ Release:	3
 License:	BSD
 Group:		Libraries/Python
 #Source0Download: https://github.com/prompt-toolkit/python-prompt-toolkit/releases
-Source0:	https://github.com/jonathanslenders/python-prompt-toolkit/archive/%{version}/python-prompt-toolkit-%{version}.tar.gz
+Source0:	https://github.com/prompt-toolkit/python-prompt-toolkit/archive/%{version}/python-prompt-toolkit-%{version}.tar.gz
 # Source0-md5:	1b800e5f190572d7a13bda45b7de058a
-URL:		https://github.com/jonathanslenders/python-prompt-toolkit
+URL:		https://github.com/prompt-toolkit/python-prompt-toolkit
 %if %{with python2}
 BuildRequires:	python-modules >= 1:2.6
 BuildRequires:	python-setuptools
@@ -88,7 +88,8 @@ Dokumentacja API modułu prompt_toolkit.
 %py_build
 
 %if %{with tests}
-# tests expect 
+# test_print_tokens expects sequences emitted for xterm
+PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
 TERM=xterm \
 %{__python} -m pytest tests
 %endif
@@ -99,6 +100,7 @@ TERM=xterm \
 
 %if %{with tests}
 # test_print_tokens expects sequences emitted for xterm
+PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
 TERM=xterm \
 %{__python3} -m pytest tests
 %endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-prompt_toolkit.git/commitdiff/16d3a9735e7085331d86ce4b0848bd035673ead1



More information about the pld-cvs-commit mailing list