diff options
author | Andrew Ammerlaan <andrewammerlaan@gentoo.org> | 2023-12-19 11:21:58 +0100 |
---|---|---|
committer | Andrew Ammerlaan <andrewammerlaan@gentoo.org> | 2023-12-19 11:35:07 +0100 |
commit | b06f6a9379e3fe096bd9c221eeefca3342b9664c (patch) | |
tree | 1e228d40cb589278396f5d8fd3e9cd5accc52b2b /dev-python/spyder-kernels | |
parent | app-emulation/vkd3d: add MR link to gettid patch (diff) | |
download | gentoo-b06f6a9379e3fe096bd9c221eeefca3342b9664c.tar.gz gentoo-b06f6a9379e3fe096bd9c221eeefca3342b9664c.tar.bz2 gentoo-b06f6a9379e3fe096bd9c221eeefca3342b9664c.zip |
dev-python/spyder-kernels: add 3.0.0_beta3
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_beta3.ebuild | 87 |
2 files changed, 88 insertions, 0 deletions
diff --git a/dev-python/spyder-kernels/Manifest b/dev-python/spyder-kernels/Manifest index 35f81a39a3fb..881b78d7f523 100644 --- a/dev-python/spyder-kernels/Manifest +++ b/dev-python/spyder-kernels/Manifest @@ -1,3 +1,4 @@ DIST spyder-kernels-2.4.4.tar.gz 98216 BLAKE2B f9f7c007f3c8f4365b84606e7473c169b525aad6d4ddccd6a72fc4d84f48b3fbf0272bd8f8e7f9cc7eb48df555e333f1b8ef0adc8c2f0b8d6df4ff9de35568f8 SHA512 826ced4928d8308e1a31790f0938e24ee8171b7e1f890a322bf652798991db4f3c2c270dd1b9cee44110ac85724043e4f80bc2adb54ad9f09f5414ee8bbd0a4a DIST spyder-kernels-2.5.0.tar.gz 99908 BLAKE2B 8684bdaba16bdfeb2db1e1789054e4951c6fa673dde91a1ae35972a1fd7cd6c298572c83db360553a3d94b1311d449a62d82d25d007f919a4baf6a23d2d872e2 SHA512 acdf796b450d87ee08f97bb6477383006632b6c91c862907ba43803bf88c1552749dc62c69820f948d8738a1a062614c065f861b73d5d73756cf5d00e63b58b5 DIST spyder-kernels-3.0.0b2.tar.gz 236918 BLAKE2B 2a0083f8f48d11d66e49bb6736e8efd4fdfa1a4cac8e5a99d5ca473a90371084ff0e66c169850f36c1f77df54939c16336f1f7f6f0f5d7042525ecfde4b3b5a4 SHA512 8cd77b377056fdec07c68cc07960f4692ca3328a375891365ca0f59133a648a74b5cd75585398d53c1237ebee0a0fd4a01b6e7f24a8df93f107307511777fced +DIST spyder-kernels-3.0.0b3.tar.gz 237559 BLAKE2B 688beae066c69af8b31f8e812f1d37a1f71ac41af1c6d71760c4f41449404f1d5a8bbcb7ac1b4a02a903ae561906eeb53671926b5c11d1c5be96f043feacb940 SHA512 756d0c06ae3666b91fc2c47d6dbaa23c83cbdd963c305590400d380f7aeb374763db48db42416bdab78284cc16df13ae15d6a2329a98612b9d11858be9ef4884 diff --git a/dev-python/spyder-kernels/spyder-kernels-3.0.0_beta3.ebuild b/dev-python/spyder-kernels/spyder-kernels-3.0.0_beta3.ebuild new file mode 100644 index 000000000000..ac733f34360f --- /dev/null +++ b/dev-python/spyder-kernels/spyder-kernels-3.0.0_beta3.ebuild @@ -0,0 +1,87 @@ +# Copyright 1999-2023 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 +} |