mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
python3-ipython: fix sagemath prompt
This commit is contained in:
parent
ca906f1e49
commit
f1b00cbcea
2 changed files with 16 additions and 1 deletions
15
srcpkgs/python3-ipython/patches/fix-sagemath-prompt.patch
Normal file
15
srcpkgs/python3-ipython/patches/fix-sagemath-prompt.patch
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
See: https://github.com/ipython/ipython/pull/14223#issuecomment-1869776898
|
||||||
|
|
||||||
|
diff --git a/IPython/terminal/interactiveshell.py b/IPython/terminal/interactiveshell.py
|
||||||
|
index 532287f5e..d92d6b7b2 100644
|
||||||
|
--- a/IPython/terminal/interactiveshell.py
|
||||||
|
+++ b/IPython/terminal/interactiveshell.py
|
||||||
|
@@ -764,7 +764,7 @@ def get_message():
|
||||||
|
"message": get_message,
|
||||||
|
"prompt_continuation": (
|
||||||
|
lambda width, lineno, is_soft_wrap: PygmentsTokens(
|
||||||
|
- self.prompts.continuation_prompt_tokens(width, lineno=lineno)
|
||||||
|
+ self.prompts.continuation_prompt_tokens(width)
|
||||||
|
)
|
||||||
|
),
|
||||||
|
"multiline": True,
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'python3-ipython'
|
# Template file for 'python3-ipython'
|
||||||
pkgname=python3-ipython
|
pkgname=python3-ipython
|
||||||
version=8.19.0
|
version=8.19.0
|
||||||
revision=1
|
revision=2
|
||||||
build_style=python3-pep517
|
build_style=python3-pep517
|
||||||
hostmakedepends="python3-setuptools python3-wheel"
|
hostmakedepends="python3-setuptools python3-wheel"
|
||||||
depends="python3-jedi python3-decorator python3-pickleshare
|
depends="python3-jedi python3-decorator python3-pickleshare
|
||||||
|
|
Loading…
Add table
Reference in a new issue