dev-python/spyder-kernels: add 2.5.2

Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
This commit is contained in:
Andrew Ammerlaan 2024-06-12 12:12:28 +02:00
parent 8b9a3f6815
commit 11e156c05a
No known key found for this signature in database
GPG Key ID: A2E2304370447E8E
2 changed files with 73 additions and 0 deletions

View File

@ -1,2 +1,3 @@
DIST spyder-kernels-2.5.1.tar.gz 99906 BLAKE2B 50cae2744ea2bb2d59046423f084d8e29385a82fe05c5d18fa15a64261c4ae0bef6e6f0427c8053ea6cc622d87660f98dc55613d954818a72babc92a119e3dc2 SHA512 bd855e95fb84014cf86dd062aeffc580ce23db7f1c5c1b4ba6d5386d0be4a4bcde625a6bc3a6d126b07a66ef720860019bab5f245a383fd0b2c7975f6d331598
DIST spyder_kernels-2.5.2.tar.gz 99972 BLAKE2B 178f175fe03fd2b7871681ae30d10b62a4daf9ee606477eab4f88a4d81d2692b80cdcf4f9b6d46c4cfc0394b98d798e93dda870a3f1cbe6f77e243fd2b06d97c SHA512 4cf5462d6a6e72bf13f9890fbc5a4008788e132ee3315b0ad01a00beff6b78c63f47b7b5d19be601b64984196cc1a5c4706a4c5bbe878d938e487ae9ddd9f1fc
DIST spyder_kernels-3.0.0b6.tar.gz 238208 BLAKE2B 2d1e227e876eec6ea6435d581892a3f76845164b4c4c2835ace859394f95813ea2630fc5c03bdec827e025680478184831328530d6b56373e220fe52d219d386 SHA512 f3a18731850d5a7f2ad9c45a706c4526b9d22f357a0175b4f67954c3d1912640a5871157373575ed8b0f044bdb618548c8d0a3f8fff44492d06dceab43efc6ad

View File

@ -0,0 +1,72 @@
# 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="~amd64 ~arm64 ~x86"
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/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
)
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
}