diff options
Diffstat (limited to 'dev-python/ipykernel')
-rw-r--r-- | dev-python/ipykernel/Manifest | 5 | ||||
-rw-r--r-- | dev-python/ipykernel/ipykernel-4.6.1-r2.ebuild | 45 | ||||
-rw-r--r-- | dev-python/ipykernel/ipykernel-4.8.2.ebuild | 45 | ||||
-rw-r--r-- | dev-python/ipykernel/metadata.xml | 15 |
4 files changed, 110 insertions, 0 deletions
diff --git a/dev-python/ipykernel/Manifest b/dev-python/ipykernel/Manifest new file mode 100644 index 000000000000..bd8889f5aa1d --- /dev/null +++ b/dev-python/ipykernel/Manifest @@ -0,0 +1,5 @@ +DIST ipykernel-4.6.1.tar.gz 90591 BLAKE2B 9d66e569e416e30fa0af93e9442326a081638e55e004c751d38b3e995e2e1c6baeba5b61e125ae8484a31344ca541070035154e4453f9eda30f7a2ac436e7f1c SHA512 3124534a8a059056211ac573784c491ba18d6e936292523382a9604af10bc2c911b14f49f7625242e29189b46c673da25244f3c9dfa3148d460ba4e466eef001 +DIST ipykernel-4.8.2.tar.gz 94441 BLAKE2B cdcf08c114c6c53ce4ed9829f3c2e0d2184f5b89b54556f92df25ecefadcc38955f992572a6dfb9ee49477e9a2111304c9b4f636edc47c0c0a26209c5f616579 SHA512 6542b086ef14abe70f51393e585c1e02eac0967b863c2e3de2dfdcbcdc2f4c01597bd035990f09f07d76005628a3345be97d1b5e5ce7a772ce7074bb31b4d4df +EBUILD ipykernel-4.6.1-r2.ebuild 1131 BLAKE2B ee25175447e339c402f03caf3ab67d21b4dc5b0398d4916292a0373337bde8cca312cdfb7508488e187d5d690cad86dcf80c2fdf23e7de12b50c7b3436ea97fc SHA512 1a9fe2d39244a8e585e1cfd5ff037fb47f6cb239a3ed9d6e027c71fa7ad31d4f75e31ff835de265c32e7a880607803c18edc16b4fcd95275772c2af261718cd1 +EBUILD ipykernel-4.8.2.ebuild 1133 BLAKE2B ec80ac77a49ebd001fe29e5e77d53b0c5d8f0539a43e2bdf23ce0507bca81accad10bfcac1feefae6aa142634403c7ec4ab83e10e914807b7ebde8472990f3e0 SHA512 574fe2341da6a1e218390945037acef7d6e79b80eb99ea48feb7bf2e0bdbeeb786b8f12abb34559b6b099b3e081186981395973829e52abbac33bd200ecd5df8 +MISC metadata.xml 493 BLAKE2B 46ff719452b5145a401147fef18fd62fc55542b2edc27017f2f8729d04f304339ccf5ad63de07efbd9c5419d663a498c76f9ce312f06869b3621a17fb72b14dc SHA512 f4176cf4bf94b2a2859ed74298ad8d1b7beb310d9a00f499c32528beb46014aebe7705d47f01bfcc6273729271360a404aa7cd03e046918418d80b8b6bb4f269 diff --git a/dev-python/ipykernel/ipykernel-4.6.1-r2.ebuild b/dev-python/ipykernel/ipykernel-4.6.1-r2.ebuild new file mode 100644 index 000000000000..0b67f85acfe5 --- /dev/null +++ b/dev-python/ipykernel/ipykernel-4.6.1-r2.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 + +DESCRIPTION="IPython Kernel for Jupyter" +HOMEPAGE="https://github.com/ipython/ipykernel" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 ~arm64 x86 ~amd64-linux ~x86-linux" +IUSE="test" + +RDEPEND=" + >=dev-python/ipython-4.0.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep '<dev-python/ipython-6[${PYTHON_USEDEP}]' 'python2*') + dev-python/jupyter_client[${PYTHON_USEDEP}] + >=dev-python/traitlets-4.1.0[${PYTHON_USEDEP}] + >=www-servers/tornado-4.0[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/nose[${PYTHON_USEDEP}] + dev-python/nose_warnings_filters[${PYTHON_USEDEP}] + ) +" + +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 +} diff --git a/dev-python/ipykernel/ipykernel-4.8.2.ebuild b/dev-python/ipykernel/ipykernel-4.8.2.ebuild new file mode 100644 index 000000000000..98f9a7f4602e --- /dev/null +++ b/dev-python/ipykernel/ipykernel-4.8.2.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 + +DESCRIPTION="IPython Kernel for Jupyter" +HOMEPAGE="https://github.com/ipython/ipykernel" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux" +IUSE="test" + +RDEPEND=" + >=dev-python/ipython-4.0.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep '<dev-python/ipython-6[${PYTHON_USEDEP}]' 'python2*') + dev-python/jupyter_client[${PYTHON_USEDEP}] + >=dev-python/traitlets-4.1.0[${PYTHON_USEDEP}] + >=www-servers/tornado-4.0[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/nose[${PYTHON_USEDEP}] + dev-python/nose_warnings_filters[${PYTHON_USEDEP}] + ) +" + +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 +} diff --git a/dev-python/ipykernel/metadata.xml b/dev-python/ipykernel/metadata.xml new file mode 100644 index 000000000000..973783bf3b19 --- /dev/null +++ b/dev-python/ipykernel/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>sci@gentoo.org</email> + <name>Gentoo Science Project</name> + </maintainer> + <longdescription> + This package provides the IPython kernel for Jupyter. + </longdescription> + <upstream> + <remote-id type="pypi">ipykernel</remote-id> + <remote-id type="github">ipython/ipykernel</remote-id> + </upstream> +</pkgmetadata> |