summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-python/metakernel/Manifest1
-rw-r--r--dev-python/metakernel/metakernel-0.30.0.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-python/metakernel/Manifest b/dev-python/metakernel/Manifest
index d2283f5ca54d..38f4cdbd1188 100644
--- a/dev-python/metakernel/Manifest
+++ b/dev-python/metakernel/Manifest
@@ -1 +1,2 @@
DIST metakernel-0.29.5.tar.gz 190055 BLAKE2B 71da4cf886de1f5844f5343f37ddcf91416256fa5a5868e6f0a6fc188685c3fe8eb7827332abbbeedd58533b182588073afefbdb67ed9b1532833115974cb0a0 SHA512 2e79d35d4c3cabf2ea8df6b189620fa7ae73c9a6dff3b231ee9f9494b325270499beb3a915b0f0bcec2b3df948339c884211be4ef4bd47edd80547a609b7e324
+DIST metakernel-0.30.0.tar.gz 190452 BLAKE2B ee4dfd686ce07971c15d61e074dc8f5522722c81bd1052058fe9e805b99cd0eb532385509324a6306dfa6480527ea69b38397746280263c9e24215b79ac741d9 SHA512 4f0be290057521382dcad7cf4df49e3c2a69b2273795bdee521999db12f196a380288643172a209c1cdfd7bcdeb2d4ca513376590ff9b08100faa88b89f0a729
diff --git a/dev-python/metakernel/metakernel-0.30.0.ebuild b/dev-python/metakernel/metakernel-0.30.0.ebuild
new file mode 100644
index 000000000000..a2396edc371d
--- /dev/null
+++ b/dev-python/metakernel/metakernel-0.30.0.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=hatchling
+PYTHON_COMPAT=( python3_{10..11} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Metakernel for Jupyter"
+HOMEPAGE="
+ https://github.com/Calysto/metakernel/
+ https://pypi.org/project/metakernel/
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+
+RDEPEND="
+ >=dev-python/ipykernel-5.5.6[${PYTHON_USEDEP}]
+ >=dev-python/jupyter-core-4.9.2[${PYTHON_USEDEP}]
+ >=dev-python/jedi-0.18[${PYTHON_USEDEP}]
+ >=dev-python/pexpect-4.8[${PYTHON_USEDEP}]
+"
+
+BDEPEND="
+ test? (
+ dev-python/requests[${PYTHON_USEDEP}]
+ dev-python/jupyter-kernel-test[${PYTHON_USEDEP}]
+ dev-python/pytest-timeout[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+
+EPYTEST_DESELECT=(
+ # fragile
+ metakernel/tests/test_parser.py::test_path_completions
+ # broken by color codes in output
+ # https://github.com/Calysto/metakernel/issues/266
+ metakernel/tests/test_replwrap.py::REPLWrapTestCase::test_bash
+ # requires starting ipycluster
+ metakernel/magics/tests/test_parallel_magic.py::test_parallel_magic
+)