mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -08:00
dev-python/spyder-kernels: drop 3.1.0_beta1, 3.1.0_beta2
Signed-off-by: Nowa Ammerlaan <nowa@gentoo.org>
This commit is contained in:
parent
f4c06e790a
commit
ceee6b7a4a
@ -1,4 +1,2 @@
|
||||
DIST spyder-kernels-3.0.5.gh.tar.gz 240411 BLAKE2B 28600b359fc12f8b3ffe01545a98b2fd3ec7f832e7ca5aa58f809825d7f1060ecc5929a72d615c2543b6b34685ee03b521cd087dd58725315a68e1188b72cd3c SHA512 4aaf57e7e4dc7c985f2c0e64aad6080370f1cf012ef72f49dcaaa5daed4b6b5e0c5cbcde88e127b136c87e3ae17314212dd56f89801edd87382da8d06caa9662
|
||||
DIST spyder-kernels-3.1.0.gh.tar.gz 245742 BLAKE2B e1a8af48aa7436957cb81a785b0a8f6a67c7edd623a4070371cfbe7a57790e9cebd62fc3cd9d4a0ddb60dcbe3c5fef01df0bad19f48cba9dd2299ef09f46871b SHA512 26b95548c4f6b27e22d9624ea2a9af9a1c3685fea6ca2ee2e88a6f9e0e2c983f3abf1ae649c991d72ad898f87c20ae1b75c5876f2297df41b9c28cfd3f3a03f0
|
||||
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
|
||||
|
||||
@ -1,98 +0,0 @@
|
||||
# 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=(
|
||||
# we no longer package distributed or 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
|
||||
|
||||
# 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
|
||||
}
|
||||
@ -1,85 +0,0 @@
|
||||
# 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
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user