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:
Benda Xu
2019-07-09 19:22:09 +08:00
parent 419fefe896
commit 009d2b57b1
3 changed files with 3 additions and 3 deletions

View File

@@ -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
}