From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D2028158020 for ; Thu, 3 Nov 2022 05:33:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AAF3FE0A5C; Thu, 3 Nov 2022 05:33:02 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 883B3E0A5C for ; Thu, 3 Nov 2022 05:33:02 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5CC4434108A for ; Thu, 3 Nov 2022 05:33:01 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 850A86DF for ; Thu, 3 Nov 2022 05:32:59 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1667453568.3a4450e2d40aeb53f55773cc84e81dee88921bf9.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/spyder-kernels/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/spyder-kernels/Manifest dev-python/spyder-kernels/spyder-kernels-2.4.0.ebuild X-VCS-Directories: dev-python/spyder-kernels/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 3a4450e2d40aeb53f55773cc84e81dee88921bf9 X-VCS-Branch: master Date: Thu, 3 Nov 2022 05:32:59 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: af0d7d54-53f1-4237-982d-c48f23036908 X-Archives-Hash: 94ee4fe1da9ae389040aef109507c515 commit: 3a4450e2d40aeb53f55773cc84e81dee88921bf9 Author: Michał Górny gentoo org> AuthorDate: Thu Nov 3 04:17:11 2022 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu Nov 3 05:32:48 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a4450e2 dev-python/spyder-kernels: Bump to 2.4.0 Signed-off-by: Michał Górny gentoo.org> dev-python/spyder-kernels/Manifest | 1 + .../spyder-kernels/spyder-kernels-2.4.0.ebuild | 75 ++++++++++++++++++++++ 2 files changed, 76 insertions(+) diff --git a/dev-python/spyder-kernels/Manifest b/dev-python/spyder-kernels/Manifest index 20044cedb3bd..7cd98f58a09d 100644 --- a/dev-python/spyder-kernels/Manifest +++ b/dev-python/spyder-kernels/Manifest @@ -1 +1,2 @@ DIST spyder-kernels-2.3.3.gh.tar.gz 91175 BLAKE2B 351852cd0eae2186f799ac329d2840ca1d427876b987a5eb0a5965020b1be38f1bf82ddd771648aa7d8e6027a1c1b1f3596fbe792fbf8e4b868bba8cbd6190db SHA512 764b935d3dffa531afc092e40aecc3d456261704703744e692a54ddf4ae22b80729912845dcc5c1b5546156efbacdc50aba84c19f9a8aa03435166cd4a4621e6 +DIST spyder-kernels-2.4.0.gh.tar.gz 92247 BLAKE2B 7dd5a5c6f43de36f23ebac2707e9dc06ced20bb965325b0a31657d03b49cdd993aafe6f1d52d7108dbd2aa8fddf3ae7a6e2da4c2b75eabf05f8302b2119cd3cd SHA512 6744cd05f4cbe452b0b8fa4f416055b8a69f75e49a10b9de3f2781b11f63c84ed7a6686e1a00bbc2020ba015a0cb7f350a6e85665270629a0e714ffe80bcb08d diff --git a/dev-python/spyder-kernels/spyder-kernels-2.4.0.ebuild b/dev-python/spyder-kernels/spyder-kernels-2.4.0.ebuild new file mode 100644 index 000000000000..2fd1e3b3012b --- /dev/null +++ b/dev-python/spyder-kernels/spyder-kernels-2.4.0.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..11} ) + +inherit distutils-r1 + +DESCRIPTION="Kernels used by spyder on its ipython console" +HOMEPAGE=" + https://github.com/spyder-ide/spyder-kernels/ + https://pypi.org/project/spyder-kernels/ +" +SRC_URI=" + https://github.com/spyder-ide/spyder-kernels/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/cloudpickle[${PYTHON_USEDEP}] + =dev-python/ipykernel-6.16.1[${PYTHON_USEDEP}] + >=dev-python/ipython-7.31.1[${PYTHON_USEDEP}] + =dev-python/jupyter_client-7.3.4[${PYTHON_USEDEP}] + =dev-python/pyzmq-22.1.0[${PYTHON_USEDEP}] + >=dev-python/wurlitzer-1.0.3[${PYTHON_USEDEP}] +" + +BDEPEND=" + test? ( + dev-python/cython[${PYTHON_USEDEP}] + dev-python/dask[${PYTHON_USEDEP}] + dev-python/django[${PYTHON_USEDEP}] + dev-python/flaky[${PYTHON_USEDEP}] + dev-python/matplotlib[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pandas[${PYTHON_USEDEP}] + dev-python/scipy[${PYTHON_USEDEP}] + dev-python/xarray[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # we no longer package distributed + spyder_kernels/console/tests/test_console_kernel.py::test_dask_multiprocessing + # RuntimeError: There is no current event loop in thread 'MainThread'. + # https://bugs.gentoo.org/834893 + spyder_kernels/console/tests/test_console_kernel.py::test_cwd_in_sys_path + spyder_kernels/console/tests/test_console_kernel.py::test_multiprocessing + spyder_kernels/console/tests/test_console_kernel.py::test_multiprocessing_2 + spyder_kernels/console/tests/test_console_kernel.py::test_runfile + spyder_kernels/console/tests/test_console_kernel.py::test_np_threshold + spyder_kernels/console/tests/test_console_kernel.py::test_turtle_launch + spyder_kernels/console/tests/test_console_kernel.py::test_matplotlib_inline +) + +python_prepare_all() { + # No additional test failures with ipython-8: 843251 + sed -i -e "/ipython/s:,<8::" setup.py || die + + distutils-r1_python_prepare_all +}