mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-30 10:38:07 -07:00
dev-python/ipykernel: do not alter the language field.
Previously, "python" has been replaced by "python3" in the "language" field of kernelspec. That confuses client software such as emacs-ipython-notebook. Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Benda Xu <heroxbd@gentoo.org>
This commit is contained in:
@@ -35,7 +35,7 @@ python_install() {
|
||||
distutils-r1_python_install
|
||||
|
||||
# bug 628222, specify python 2 or 3.
|
||||
sed -e "s:python:${EPYTHON%.*}:" \
|
||||
sed -e "/language/!s:python:${EPYTHON%.*}:" \
|
||||
-i "${ED}"usr/share/jupyter/kernels/${EPYTHON%.*}/kernel.json || die
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user