diff options
author | Andrew Ammerlaan <andrewammerlaan@gentoo.org> | 2024-02-08 14:24:51 +0100 |
---|---|---|
committer | Andrew Ammerlaan <andrewammerlaan@gentoo.org> | 2024-02-08 14:24:51 +0100 |
commit | 814ef91a9051c57b2158d9dae7fe17e2956b291d (patch) | |
tree | 7e415e2a4fc4ba9d61668e2416d28f31bdd0d093 /dev-python | |
parent | sci-misc/jupyterlab-desktop-bin: add 4.1.0.1 (diff) | |
download | gentoo-814ef91a9051c57b2158d9dae7fe17e2956b291d.tar.gz gentoo-814ef91a9051c57b2158d9dae7fe17e2956b291d.tar.bz2 gentoo-814ef91a9051c57b2158d9dae7fe17e2956b291d.zip |
dev-python/spyder-kernels: add 3.0.0_beta4
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/spyder-kernels/Manifest | 1 | ||||
-rw-r--r-- | dev-python/spyder-kernels/spyder-kernels-3.0.0_beta4.ebuild | 87 |
2 files changed, 88 insertions, 0 deletions
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-7[${PYTHON_USEDEP}] + >=dev-python/ipykernel-6.23.2[${PYTHON_USEDEP}] + <dev-python/ipython-9[${PYTHON_USEDEP}] + >dev-python/ipython-8.13.0[${PYTHON_USEDEP}] + <dev-python/jupyter-client-9[${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 +} |