python3-prompt_toolkit: update to 3.0.29.
This commit is contained in:
parent
d33dc9b479
commit
2e2a3a9f8f
|
@ -5,9 +5,10 @@ See:
|
||||||
- https://github.com/prompt-toolkit/python-prompt-toolkit/issues/1576
|
- https://github.com/prompt-toolkit/python-prompt-toolkit/issues/1576
|
||||||
- https://trac.sagemath.org/ticket/33360#comment:3
|
- https://trac.sagemath.org/ticket/33360#comment:3
|
||||||
|
|
||||||
--- a/prompt_toolkit/application/application.py 2022-02-11 05:06:37.000000000 -0300
|
diff -ur a/src/prompt_toolkit/application/application.py b/src/prompt_toolkit/application/application.py
|
||||||
+++ b/prompt_toolkit/application/application.py 2022-02-21 10:43:13.828058001 -0300
|
--- a/src/prompt_toolkit/application/application.py
|
||||||
@@ -634,7 +634,7 @@
|
+++ b/src/prompt_toolkit/application/application.py
|
||||||
|
@@ -633,7 +633,7 @@
|
||||||
self,
|
self,
|
||||||
pre_run: Optional[Callable[[], None]] = None,
|
pre_run: Optional[Callable[[], None]] = None,
|
||||||
set_exception_handler: bool = True,
|
set_exception_handler: bool = True,
|
||||||
|
@ -16,7 +17,7 @@ See:
|
||||||
slow_callback_duration: float = 0.5,
|
slow_callback_duration: float = 0.5,
|
||||||
) -> _AppResult:
|
) -> _AppResult:
|
||||||
"""
|
"""
|
||||||
@@ -859,7 +859,7 @@
|
@@ -858,7 +858,7 @@
|
||||||
self,
|
self,
|
||||||
pre_run: Optional[Callable[[], None]] = None,
|
pre_run: Optional[Callable[[], None]] = None,
|
||||||
set_exception_handler: bool = True,
|
set_exception_handler: bool = True,
|
||||||
|
@ -25,3 +26,45 @@ See:
|
||||||
in_thread: bool = False,
|
in_thread: bool = False,
|
||||||
) -> _AppResult:
|
) -> _AppResult:
|
||||||
"""
|
"""
|
||||||
|
diff -ur a/src/prompt_toolkit/application/dummy.py b/src/prompt_toolkit/application/dummy.py
|
||||||
|
--- a/src/prompt_toolkit/application/dummy.py
|
||||||
|
+++ b/src/prompt_toolkit/application/dummy.py
|
||||||
|
@@ -24,7 +24,7 @@
|
||||||
|
self,
|
||||||
|
pre_run: Optional[Callable[[], None]] = None,
|
||||||
|
set_exception_handler: bool = True,
|
||||||
|
- handle_sigint: bool = True,
|
||||||
|
+ handle_sigint: bool = False,
|
||||||
|
in_thread: bool = False,
|
||||||
|
) -> None:
|
||||||
|
raise NotImplementedError("A DummyApplication is not supposed to run.")
|
||||||
|
@@ -33,7 +33,7 @@
|
||||||
|
self,
|
||||||
|
pre_run: Optional[Callable[[], None]] = None,
|
||||||
|
set_exception_handler: bool = True,
|
||||||
|
- handle_sigint: bool = True,
|
||||||
|
+ handle_sigint: bool = False,
|
||||||
|
slow_callback_duration: float = 0.5,
|
||||||
|
) -> None:
|
||||||
|
raise NotImplementedError("A DummyApplication is not supposed to run.")
|
||||||
|
diff -ur a/src/prompt_toolkit/shortcuts/prompt.py b/src/prompt_toolkit/shortcuts/prompt.py
|
||||||
|
--- a/src/prompt_toolkit/shortcuts/prompt.py
|
||||||
|
+++ b/src/prompt_toolkit/shortcuts/prompt.py
|
||||||
|
@@ -900,7 +900,7 @@
|
||||||
|
accept_default: bool = False,
|
||||||
|
pre_run: Optional[Callable[[], None]] = None,
|
||||||
|
set_exception_handler: bool = True,
|
||||||
|
- handle_sigint: bool = True,
|
||||||
|
+ handle_sigint: bool = False,
|
||||||
|
in_thread: bool = False,
|
||||||
|
) -> _T:
|
||||||
|
"""
|
||||||
|
@@ -1135,7 +1135,7 @@
|
||||||
|
accept_default: bool = False,
|
||||||
|
pre_run: Optional[Callable[[], None]] = None,
|
||||||
|
set_exception_handler: bool = True,
|
||||||
|
- handle_sigint: bool = True,
|
||||||
|
+ handle_sigint: bool = False,
|
||||||
|
) -> _T:
|
||||||
|
|
||||||
|
if message is not None:
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'python3-prompt_toolkit'
|
# Template file for 'python3-prompt_toolkit'
|
||||||
pkgname=python3-prompt_toolkit
|
pkgname=python3-prompt_toolkit
|
||||||
version=3.0.28
|
version=3.0.29
|
||||||
revision=2
|
revision=1
|
||||||
wrksrc="prompt_toolkit-${version}"
|
wrksrc="prompt_toolkit-${version}"
|
||||||
build_style=python3-module
|
build_style=python3-module
|
||||||
hostmakedepends="python3-setuptools"
|
hostmakedepends="python3-setuptools"
|
||||||
|
@ -13,7 +13,7 @@ license="BSD-3-Clause"
|
||||||
homepage="https://github.com/prompt-toolkit/python-prompt-toolkit"
|
homepage="https://github.com/prompt-toolkit/python-prompt-toolkit"
|
||||||
changelog="https://raw.githubusercontent.com/prompt-toolkit/python-prompt-toolkit/master/CHANGELOG"
|
changelog="https://raw.githubusercontent.com/prompt-toolkit/python-prompt-toolkit/master/CHANGELOG"
|
||||||
distfiles="${PYPI_SITE}/p/prompt_toolkit/prompt_toolkit-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/p/prompt_toolkit/prompt_toolkit-${version}.tar.gz"
|
||||||
checksum=9f1cd16b1e86c2968f2519d7fb31dd9d669916f515612c269d14e9ed52b51650
|
checksum=bd640f60e8cecd74f0dc249713d433ace2ddc62b65ee07f96d358e0b152b6ea7
|
||||||
conflicts="python3-prompt_toolkit2<=2.0.9_4"
|
conflicts="python3-prompt_toolkit2<=2.0.9_4"
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
|
|
Loading…
Reference in a new issue