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 927661581D0 for ; Thu, 8 Feb 2024 13:37:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5EF1DE29F0; Thu, 8 Feb 2024 13:37:15 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 095ECE29F0 for ; Thu, 8 Feb 2024 13:37:15 +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 D9B3A343179 for ; Thu, 8 Feb 2024 13:37:13 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1E91214B7 for ; Thu, 8 Feb 2024 13:37:12 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1707398691.814ef91a9051c57b2158d9dae7fe17e2956b291d.andrewammerlaan@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-3.0.0_beta4.ebuild X-VCS-Directories: dev-python/spyder-kernels/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: 814ef91a9051c57b2158d9dae7fe17e2956b291d X-VCS-Branch: master Date: Thu, 8 Feb 2024 13:37:12 +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: c64d6da4-5c79-4931-b45a-56f8f4341115 X-Archives-Hash: 699a5216b1b82915cf90ab8321309418 commit: 814ef91a9051c57b2158d9dae7fe17e2956b291d Author: Andrew Ammerlaan gentoo org> AuthorDate: Thu Feb 8 13:24:51 2024 +0000 Commit: Andrew Ammerlaan gentoo org> CommitDate: Thu Feb 8 13:24:51 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=814ef91a dev-python/spyder-kernels: add 3.0.0_beta4 Signed-off-by: Andrew Ammerlaan gentoo.org> dev-python/spyder-kernels/Manifest | 1 + .../spyder-kernels-3.0.0_beta4.ebuild | 87 ++++++++++++++++++++++ 2 files changed, 88 insertions(+) diff --git a/dev-python/spyder-kernels/Manifest b/dev-python/spyder-kernels/Manifest index cedd6ca595c0..782d7094541b 100644 --- a/dev-python/spyder-kernels/Manifest +++ b/dev-python/spyder-kernels/Manifest @@ -1,2 +1,3 @@ DIST spyder-kernels-2.5.0.tar.gz 99908 BLAKE2B 8684bdaba16bdfeb2db1e1789054e4951c6fa673dde91a1ae35972a1fd7cd6c298572c83db360553a3d94b1311d449a62d82d25d007f919a4baf6a23d2d872e2 SHA512 acdf796b450d87ee08f97bb6477383006632b6c91c862907ba43803bf88c1552749dc62c69820f948d8738a1a062614c065f861b73d5d73756cf5d00e63b58b5 DIST spyder-kernels-3.0.0b3.tar.gz 237559 BLAKE2B 688beae066c69af8b31f8e812f1d37a1f71ac41af1c6d71760c4f41449404f1d5a8bbcb7ac1b4a02a903ae561906eeb53671926b5c11d1c5be96f043feacb940 SHA512 756d0c06ae3666b91fc2c47d6dbaa23c83cbdd963c305590400d380f7aeb374763db48db42416bdab78284cc16df13ae15d6a2329a98612b9d11858be9ef4884 +DIST spyder-kernels-3.0.0b4.tar.gz 237687 BLAKE2B 05b294acd6e000898b4ee42c1f4a64716e73eec7466c5acfec3ee017fd66909cb6f9f5904ffaf546e43fae67738554469a2129916b78c5897a187f88f53d9261 SHA512 d49d198252077bfac06bbdd520d1de68a45d7d1076d598f0a7b2a4109f5b000fb73929cb617c8428672f4d039620e05fdbaa734eb6486849d90e21b4762e61d4 diff --git a/dev-python/spyder-kernels/spyder-kernels-3.0.0_beta4.ebuild b/dev-python/spyder-kernels/spyder-kernels-3.0.0_beta4.ebuild new file mode 100644 index 000000000000..1fd8c65f7dd1 --- /dev/null +++ b/dev-python/spyder-kernels/spyder-kernels-3.0.0_beta4.ebuild @@ -0,0 +1,87 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( pypy3 python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Kernels used by spyder on its ipython console" +HOMEPAGE=" + https://github.com/spyder-ide/spyder-kernels/ + https://pypi.org/project/spyder-kernels/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="" + +RDEPEND=" + dev-python/cloudpickle[${PYTHON_USEDEP}] + =dev-python/ipykernel-6.23.2[${PYTHON_USEDEP}] + dev-python/ipython-8.13.0[${PYTHON_USEDEP}] + =dev-python/jupyter-client-7.4.9[${PYTHON_USEDEP}] + dev-python/matplotlib-inline[${PYTHON_USEDEP}] + >=dev-python/pyxdg-0.26[${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/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/scipy[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/h5py[${PYTHON_USEDEP}] + dev-python/pandas[${PYTHON_USEDEP}] + dev-python/xarray[${PYTHON_USEDEP}] + ' 'python*') + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # we no longer package distributed, and also removed dependency on dask + 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 + + # pydicom only packaged in ::sci at the moment + spyder_kernels/utils/tests/test_iofuncs.py::test_load_dicom_files +) + +python_test() { + if [[ ${EPYTHON} == pypy3 ]]; then + EPYTEST_IGNORE=( + # requires pandas + spyder_kernels/utils/tests/test_nsview.py + ) + EPYTEST_DESELECT+=( + # requires hdf5 + spyder_kernels/utils/tests/test_iofuncs.py::test_save_load_hdf5_files + spyder_kernels/utils/tests/test_dochelpers.py + ) + fi + distutils-r1_python_test +}