diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-08-25 10:45:55 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-08-25 10:45:55 +0100 |
commit | 3cf7c3ef441822c889356fd1812ebf2944a59851 (patch) | |
tree | c513fe68548b40365c1c2ebfe35c58ad431cdd77 /dev-python/metakernel | |
parent | 05b8b0e0af1d72e51a3ee61522941bf7605cd01c (diff) |
gentoo resync : 25.08.2020
Diffstat (limited to 'dev-python/metakernel')
-rw-r--r-- | dev-python/metakernel/Manifest | 5 | ||||
-rw-r--r-- | dev-python/metakernel/files/metakernel-0.25.0-disable-brittle-tests.patch | 23 | ||||
-rw-r--r-- | dev-python/metakernel/metakernel-0.25.0.ebuild (renamed from dev-python/metakernel/metakernel-0.20.4.ebuild) | 18 |
3 files changed, 31 insertions, 15 deletions
diff --git a/dev-python/metakernel/Manifest b/dev-python/metakernel/Manifest index 63bc364afe77..511132f06bfa 100644 --- a/dev-python/metakernel/Manifest +++ b/dev-python/metakernel/Manifest @@ -1,3 +1,4 @@ -DIST metakernel-0.20.4.tar.gz 67895 BLAKE2B 17cbb8238eb092a9f31616e83ce638a921f84dced9ee7ed896d2470b6c1d1424e2b165da386cc997647f83bf0da02ddfabc3b74bf2fade1d312124906a2dda2d SHA512 8ab2943a93e61bfca276607adac5e619c407a2356656424d261eb520002bf582469f71329a3b2b2fcc290b21a4dffd724f5b73697c6853b5cb74eec07e26ede3 -EBUILD metakernel-0.20.4.ebuild 651 BLAKE2B 05b328be8b3d8d48dc69a65097e1bb326980a01d61532cf313880f7dba4813f9ead883f4c34d84926deb245ddfdac228d3e18668027673499c2a4a4a2b504d1c SHA512 e85869047ec51cb749962a5a911f9f416142dee37c4351308b2411001a004b11f0f99f75d80ee90f4acab01ce42989aef55594adb82655b74fe9052fe2a769ff +AUX metakernel-0.25.0-disable-brittle-tests.patch 762 BLAKE2B 440f29b4566beac51b5428e691c0fc6dfb13c2b3912486956589f414c44ad07ecb7ad23b5ef4b5e160bee15205c7b68b327c3bf612b81cda2a73fd51968ba83a SHA512 475829494bd4cc20b994f69428228a2d12a3a1b004e72be50ac5e2d746e37f9ae6203fe776e63a96e4d673bfdba814ca1ae1dc609392a4e346648a5b1471d314 +DIST metakernel-0.25.0.tar.gz 182808 BLAKE2B 40fbd44109e3b9e88fa8065138e7ffe3b42320651c1731249a10c443a456a5eaa5c91110fcc223f1d557aaa1acfee670a3a36dacf78e6bc9b2ecba0e39f7cc21 SHA512 89a46d3b746a0f4c435dcbeefdb485257c2813790849f95bc0508fee7c2a892e688fdbe2dc9db5f2a0c69ed4917e8de81753492e686337d5e1ab692e9e51ea5a +EBUILD metakernel-0.25.0.ebuild 567 BLAKE2B 9c415d6b47b82b7bccc5059f05c7d323ac147c4f7bfa861a281bdde14c89a86545c995dad63d4aaa206ebb09384227b38447605f94a77ea36ae89917904174bd SHA512 ddd0fdc652e0d1a0c3a26d888d7c0b40d88a32fff43da36c67222689b8751076bab2e59dd4d18dad3bcebec6ef2f471997977c40d92f36e772b2971e5fd2badd MISC metadata.xml 634 BLAKE2B 18f77a465ef02244b5ded5cea7751fabeb5d1fbad17c2e47239228e7512512eabaa79fab71f480fd11d33af8b43ca6859f4749b81c14c2e93384b051f1ea3590 SHA512 b4a566da04b0f87e979b4556d3fbe76d3716ef96b6b9e5222fb942b0d622d9acb98274b935cb2fdbbf01baa111df351e2dc3988ce494c1bb4b17a18f2115c7ad 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.20.4.ebuild b/dev-python/metakernel/metakernel-0.25.0.ebuild index 0e01f81bd81b..55484982516f 100644 --- a/dev-python/metakernel/metakernel-0.20.4.ebuild +++ b/dev-python/metakernel/metakernel-0.25.0.ebuild @@ -1,9 +1,9 @@ # Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 -PYTHON_COMPAT=( python3_6 ) +PYTHON_COMPAT=( python3_{6..9} ) inherit distutils-r1 @@ -13,20 +13,12 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -IUSE="test" -RESTRICT="!test? ( test )" KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" RDEPEND=" dev-python/ipykernel[${PYTHON_USEDEP}] - dev-python/pexpect[${PYTHON_USEDEP}] -" + dev-python/pexpect[${PYTHON_USEDEP}]" -DEPEND="${RDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( dev-python/nose[${PYTHON_USEDEP}] ) -" +distutils_enable_tests pytest -python_test() { - nosetests -v || die -} +PATCHES=( "${FILESDIR}"/${PN}-0.25.0-disable-brittle-tests.patch ) |