diff options
author | Andrew Ammerlaan <andrewammerlaan@gentoo.org> | 2024-08-10 10:40:24 +0200 |
---|---|---|
committer | Andrew Ammerlaan <andrewammerlaan@gentoo.org> | 2024-08-10 10:45:30 +0200 |
commit | c896ed39bf4164e547f476c9d5a6856ed40a027f (patch) | |
tree | 96ecf765f5d1a2a33577e8a0e4114e01a6113b0a /dev-python/spyder-kernels | |
parent | dev-python/pylint: Remove old (diff) | |
download | gentoo-c896ed39bf4164e547f476c9d5a6856ed40a027f.tar.gz gentoo-c896ed39bf4164e547f476c9d5a6856ed40a027f.tar.bz2 gentoo-c896ed39bf4164e547f476c9d5a6856ed40a027f.zip |
dev-python/spyder-kernels: add 3.0.0_beta8
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Diffstat (limited to 'dev-python/spyder-kernels')
-rw-r--r-- | dev-python/spyder-kernels/Manifest | 1 | ||||
-rw-r--r-- | dev-python/spyder-kernels/spyder-kernels-3.0.0_beta8.ebuild | 86 |
2 files changed, 87 insertions, 0 deletions
diff --git a/dev-python/spyder-kernels/Manifest b/dev-python/spyder-kernels/Manifest index 93ae267da962..83ebebff09e4 100644 --- a/dev-python/spyder-kernels/Manifest +++ b/dev-python/spyder-kernels/Manifest @@ -1,2 +1,3 @@ DIST spyder_kernels-2.5.2.tar.gz 99972 BLAKE2B 178f175fe03fd2b7871681ae30d10b62a4daf9ee606477eab4f88a4d81d2692b80cdcf4f9b6d46c4cfc0394b98d798e93dda870a3f1cbe6f77e243fd2b06d97c SHA512 4cf5462d6a6e72bf13f9890fbc5a4008788e132ee3315b0ad01a00beff6b78c63f47b7b5d19be601b64984196cc1a5c4706a4c5bbe878d938e487ae9ddd9f1fc DIST spyder_kernels-3.0.0b7.tar.gz 239483 BLAKE2B 216f240555d5bccfc2d0a6b19a32af7ebae85dcd2b6165837df63207c4472f5d738a35ada55e68ffed5888f8370b1e93f42b16316b04638a18d3056a6d5f0a32 SHA512 c361b11623b57d0951e49297a84f43112c9e6c0f60849dccb914a0737a65fcbbfe1ce1583f637fc1fa3bf16f548e74f16987bec0ffc2f7a1dad38691e330d362 +DIST spyder_kernels-3.0.0b8.tar.gz 240231 BLAKE2B 65d37fcf58d9e5636b1f3463f51087f2157d0f50d0e57245e32f294a9986f1eb22a1f74418cb6e6e6f5f3b1e4960b1360da9eb331036790172e6a7acc44bcd0a SHA512 5ca4d8697a07f21a423a4f1cb222e34d0740c3f7f743241bd0d1a593e8a465bced847d86ff59587f3d39c17116518d5b41d9bfd3e84a7de75d63f65080c442a1 diff --git a/dev-python/spyder-kernels/spyder-kernels-3.0.0_beta8.ebuild b/dev-python/spyder-kernels/spyder-kernels-3.0.0_beta8.ebuild new file mode 100644 index 000000000000..5f91c6584c02 --- /dev/null +++ b/dev-python/spyder-kernels/spyder-kernels-3.0.0_beta8.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +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.29.3[${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-24.0.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 +} |