summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2020-08-22 19:29:12 +0200
committerDavid Seifert <soap@gentoo.org>2020-08-22 19:29:12 +0200
commitd3e9de38937e4d99bc593e31d79961eed4774979 (patch)
tree91c7fc784e4526eba3b9664df6bd91078e17d1fb /dev-python/metakernel
parentdev-libs/rocclr: Cleanup old version (diff)
downloadgentoo-d3e9de38937e4d99bc593e31d79961eed4774979.tar.gz
gentoo-d3e9de38937e4d99bc593e31d79961eed4774979.tar.bz2
gentoo-d3e9de38937e4d99bc593e31d79961eed4774979.zip
dev-python/metakernel: Version bump to 0.25.0
Bug: https://bugs.gentoo.org/719100 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'dev-python/metakernel')
-rw-r--r--dev-python/metakernel/Manifest1
-rw-r--r--dev-python/metakernel/files/metakernel-0.25.0-disable-brittle-tests.patch23
-rw-r--r--dev-python/metakernel/metakernel-0.25.0.ebuild24
3 files changed, 48 insertions, 0 deletions
diff --git a/dev-python/metakernel/Manifest b/dev-python/metakernel/Manifest
index 429a474b0880..3aec37d725ed 100644
--- a/dev-python/metakernel/Manifest
+++ b/dev-python/metakernel/Manifest
@@ -1 +1,2 @@
DIST metakernel-0.20.4.tar.gz 67895 BLAKE2B 17cbb8238eb092a9f31616e83ce638a921f84dced9ee7ed896d2470b6c1d1424e2b165da386cc997647f83bf0da02ddfabc3b74bf2fade1d312124906a2dda2d SHA512 8ab2943a93e61bfca276607adac5e619c407a2356656424d261eb520002bf582469f71329a3b2b2fcc290b21a4dffd724f5b73697c6853b5cb74eec07e26ede3
+DIST metakernel-0.25.0.tar.gz 182808 BLAKE2B 40fbd44109e3b9e88fa8065138e7ffe3b42320651c1731249a10c443a456a5eaa5c91110fcc223f1d557aaa1acfee670a3a36dacf78e6bc9b2ecba0e39f7cc21 SHA512 89a46d3b746a0f4c435dcbeefdb485257c2813790849f95bc0508fee7c2a892e688fdbe2dc9db5f2a0c69ed4917e8de81753492e686337d5e1ab692e9e51ea5a
diff --git a/dev-python/metakernel/files/metakernel-0.25.0-disable-brittle-tests.patch b/dev-python/metakernel/files/metakernel-0.25.0-disable-brittle-tests.patch
new file mode 100644
index 000000000000..673a96e22af3
--- /dev/null
+++ b/dev-python/metakernel/files/metakernel-0.25.0-disable-brittle-tests.patch
@@ -0,0 +1,23 @@
+--- a/metakernel/magics/tests/test_parallel_magic.py
++++ b/metakernel/magics/tests/test_parallel_magic.py
+@@ -2,7 +2,9 @@
+ from metakernel.tests.utils import get_kernel, get_log_text, EvalKernel
+ import os
+ import time
++import pytest
+
++@pytest.mark.skip(reason="requires starting an ipycluster")
+ def test_parallel_magic():
+ kernel = get_kernel(EvalKernel)
+ # start up an EvalKernel on each node:
+--- a/metakernel/tests/test_parser.py
++++ b/metakernel/tests/test_parser.py
+@@ -41,8 +41,6 @@
+ if not os.name == 'nt':
+ code = '/usr/bi'
+ assert 'bin/' in p.parse_code(code)['path_matches']
+- code = '~/.bashr'
+- assert 'bashrc' in p.parse_code(code)['path_matches']
+
+ for f in os.listdir('.'):
+ if f.startswith('.'):
diff --git a/dev-python/metakernel/metakernel-0.25.0.ebuild b/dev-python/metakernel/metakernel-0.25.0.ebuild
new file mode 100644
index 000000000000..55484982516f
--- /dev/null
+++ b/dev-python/metakernel/metakernel-0.25.0.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6..9} )
+
+inherit distutils-r1
+
+DESCRIPTION="Metakernel for Jupyter"
+HOMEPAGE="https://github.com/Calysto/metakernel"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+
+RDEPEND="
+ dev-python/ipykernel[${PYTHON_USEDEP}]
+ dev-python/pexpect[${PYTHON_USEDEP}]"
+
+distutils_enable_tests pytest
+
+PATCHES=( "${FILESDIR}"/${PN}-0.25.0-disable-brittle-tests.patch )