Skip to content

Commit

Permalink
dev-python/ipykernel: specify python major version in kernelspec
Browse files Browse the repository at this point in the history
  Revision bump and remove old revisions.

Credit: Eric Hermes
Bug: 628222

Package-Manager: Portage-2.3.3, Repoman-2.3.1
  • Loading branch information
heroxbd committed Aug 30, 2017
1 parent e9e2046 commit 0438d76
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 36 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,14 @@ DEPEND="${RDEPEND}
)
"

python_install() {
distutils-r1_python_install

# bug 628222, specify python 2 or 3.
sed -e "s:python:${EPYTHON}:" \
-i "${ED}"usr/share/jupyter/kernels/${EPYTHON%.*}/kernel.json || die
}

python_test() {
nosetests --verbose ipykernel || die
}
36 changes: 0 additions & 36 deletions dev-python/ipykernel/ipykernel-4.6.1.ebuild

This file was deleted.

0 comments on commit 0438d76

Please sign in to comment.