dev-python/ipykernel: handle the multiple python3 case.

Bonus of verion bump.

Credit: Colin MacLean
Closes: https://bugs.gentoo.org/628222
Package-Manager: Portage-2.3.28, Repoman-2.3.9
This commit is contained in:
Benda Xu
2018-06-09 05:56:27 +09:00
parent 87d93170e0
commit 8490688307
3 changed files with 47 additions and 1 deletions

View File

@@ -36,7 +36,7 @@ python_install() {
distutils-r1_python_install
# bug 628222, specify python 2 or 3.
sed -e "s:python:${EPYTHON}:" \
sed -e "s:python:${EPYTHON%.*}:" \
-i "${ED}"usr/share/jupyter/kernels/${EPYTHON%.*}/kernel.json || die
}