mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-16 20:13:52 +02:00
python3-ipython: fix broken matplotlib_inline import
This commit is contained in:
parent
e4f55cc75a
commit
8abca2b2cb
2 changed files with 13 additions and 1 deletions
12
srcpkgs/python3-ipython/patches/mpl_inline_fix.patch
Normal file
12
srcpkgs/python3-ipython/patches/mpl_inline_fix.patch
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
diff --git IPython/core/pylabtools.py IPython/core/pylabtools.py
|
||||||
|
index c71b0cdb6..bb815956e 100644
|
||||||
|
--- IPython/core/pylabtools.py
|
||||||
|
+++ IPython/core/pylabtools.py
|
||||||
|
@@ -383,6 +383,6 @@ def configure_inline_support(shell, backend):
|
||||||
|
stacklevel=2,
|
||||||
|
)
|
||||||
|
|
||||||
|
- from matplotlib_inline.backend_inline import configure_inline_support_orig
|
||||||
|
+ from matplotlib_inline.backend_inline import configure_inline_support as configure_inline_support_orig
|
||||||
|
|
||||||
|
configure_inline_support_orig(shell, backend)
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'python3-ipython'
|
# Template file for 'python3-ipython'
|
||||||
pkgname=python3-ipython
|
pkgname=python3-ipython
|
||||||
version=7.23.0
|
version=7.23.0
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc="ipython-${version}"
|
wrksrc="ipython-${version}"
|
||||||
build_style=python3-module
|
build_style=python3-module
|
||||||
hostmakedepends="python3-setuptools"
|
hostmakedepends="python3-setuptools"
|
||||||
|
|
Loading…
Add table
Reference in a new issue