dev-python/spyder-kernels: Bump to 3.1.0_beta2

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny 2025-09-27 05:51:55 +02:00
parent d16f4118bd
commit 2da9d239d1
No known key found for this signature in database
GPG Key ID: 639ADAE2329E240E
2 changed files with 86 additions and 0 deletions

View File

@ -1,2 +1,3 @@
DIST spyder-kernels-3.0.5.gh.tar.gz 240411 BLAKE2B 28600b359fc12f8b3ffe01545a98b2fd3ec7f832e7ca5aa58f809825d7f1060ecc5929a72d615c2543b6b34685ee03b521cd087dd58725315a68e1188b72cd3c SHA512 4aaf57e7e4dc7c985f2c0e64aad6080370f1cf012ef72f49dcaaa5daed4b6b5e0c5cbcde88e127b136c87e3ae17314212dd56f89801edd87382da8d06caa9662
DIST spyder-kernels-3.1.0b1.gh.tar.gz 245633 BLAKE2B 533f7f2ce40281a90d301f4da8744053eefeed268ef334ee227187d54c7548a606a60df3862e76ccac42721192e4a67248a0d77091dd7c27e1b4be18050dc5d8 SHA512 586fe10a38d193c287aef1d80053fb10da4bf132ac7074432edf0ea90683ef8fbcbbad75cf3346390add69de64fe259f839129e2735c30b4235615874edcd676
DIST spyder-kernels-3.1.0b2.gh.tar.gz 245703 BLAKE2B 29d0d06508c6fb29f11a1582dacb66342300558acc133e9c10e0ce635b64772d0ce6a02527feca9b1e99bd47357e39d26d196210a62f98a0388eaea5e37ff76a SHA512 415cee50e26c0e659fa1c231952c3511e5c7d1db716eff1cfe34d63067bae01266cf678e9bd1ed3a244316a414d51b439ae186a9bbc78a79d886b4c815da1518

View File

@ -0,0 +1,85 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..13} )
inherit distutils-r1
MY_P=${P/_beta/b}
DESCRIPTION="Kernels used by spyder on its ipython console"
HOMEPAGE="
https://github.com/spyder-ide/spyder-kernels/
https://pypi.org/project/spyder-kernels/
"
SRC_URI="https://github.com/spyder-ide/${PN}/archive/refs/tags/v${PV/_beta/b}.tar.gz -> ${MY_P}.gh.tar.gz"
S=${WORKDIR}/${MY_P}
LICENSE="MIT"
SLOT="0"
RDEPEND="
dev-python/cloudpickle[${PYTHON_USEDEP}]
<dev-python/ipykernel-7[${PYTHON_USEDEP}]
>=dev-python/ipykernel-6.29.3[${PYTHON_USEDEP}]
<dev-python/ipython-10[${PYTHON_USEDEP}]
>=dev-python/ipython-9.5.0[${PYTHON_USEDEP}]
<dev-python/jupyter-client-9[${PYTHON_USEDEP}]
>=dev-python/jupyter-client-7.4.9[${PYTHON_USEDEP}]
dev-python/packaging[${PYTHON_USEDEP}]
>=dev-python/pyxdg-0.26[${PYTHON_USEDEP}]
>=dev-python/pyzmq-24.0.0[${PYTHON_USEDEP}]
>=dev-python/traitlets-5.14.3[${PYTHON_USEDEP}]
>=dev-python/wurlitzer-1.0.3[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
dev-python/cython[${PYTHON_USEDEP}]
dev-python/django[${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*')
)
"
EPYTEST_PLUGINS=( anyio pytest-rerunfailures )
distutils_enable_tests pytest
python_test() {
local EPYTEST_DESELECT=(
# pydicom only packaged in ::sci at the moment
spyder_kernels/utils/tests/test_iofuncs.py::test_load_dicom_files
# require polars
spyder_kernels/console/tests/test_console_kernel.py::test_get_value_with_polars
spyder_kernels/utils/tests/test_nsview.py::test_polars_dataframe
)
local EPYTEST_IGNORE=()
if ! has_version "dev-python/pandas[${PYTHON_USEDEP}]"; then
EPYTEST_IGNORE+=(
# require pandas
spyder_kernels/utils/tests/test_nsview.py
)
fi
if ! has_version "dev-python/h5py[${PYTHON_USEDEP}]"; then
EPYTEST_DESELECT+=(
# require hdf5
spyder_kernels/utils/tests/test_iofuncs.py::test_save_load_hdf5_files
spyder_kernels/utils/tests/test_dochelpers.py
)
fi
epytest
}