diff options
author | Benda Xu <heroxbd@gentoo.org> | 2019-07-09 19:22:09 +0800 |
---|---|---|
committer | Benda Xu <heroxbd@gentoo.org> | 2019-07-09 19:23:47 +0800 |
commit | 009d2b57b1ec8c0b82b34ee0cf98d64979674d51 (patch) | |
tree | 864a2bf03cb9cde266d72d57810ce32d6067d633 /dev-python/ipykernel | |
parent | x11-plugins/enigmail: Removed old. (diff) | |
download | gentoo-009d2b57b1ec8c0b82b34ee0cf98d64979674d51.tar.gz gentoo-009d2b57b1ec8c0b82b34ee0cf98d64979674d51.tar.bz2 gentoo-009d2b57b1ec8c0b82b34ee0cf98d64979674d51.zip |
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>
Diffstat (limited to 'dev-python/ipykernel')
-rw-r--r-- | dev-python/ipykernel/ipykernel-4.6.1-r2.ebuild | 2 | ||||
-rw-r--r-- | dev-python/ipykernel/ipykernel-4.8.2.ebuild | 2 | ||||
-rw-r--r-- | dev-python/ipykernel/ipykernel-5.1.0.ebuild | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/dev-python/ipykernel/ipykernel-4.6.1-r2.ebuild b/dev-python/ipykernel/ipykernel-4.6.1-r2.ebuild index e3f9e55a1ce3..9f289635340f 100644 --- a/dev-python/ipykernel/ipykernel-4.6.1-r2.ebuild +++ b/dev-python/ipykernel/ipykernel-4.6.1-r2.ebuild @@ -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 } diff --git a/dev-python/ipykernel/ipykernel-4.8.2.ebuild b/dev-python/ipykernel/ipykernel-4.8.2.ebuild index 200a48df5544..32532b13c76b 100644 --- a/dev-python/ipykernel/ipykernel-4.8.2.ebuild +++ b/dev-python/ipykernel/ipykernel-4.8.2.ebuild @@ -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 } diff --git a/dev-python/ipykernel/ipykernel-5.1.0.ebuild b/dev-python/ipykernel/ipykernel-5.1.0.ebuild index cf43e216a89b..85f606682f6d 100644 --- a/dev-python/ipykernel/ipykernel-5.1.0.ebuild +++ b/dev-python/ipykernel/ipykernel-5.1.0.ebuild @@ -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 } |