mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
dev-python/ipykernel: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,4 +1,2 @@
|
||||
DIST ipykernel-6.30.1.tar.gz 166260 BLAKE2B 77af93248f25479aae9082ef6e73dcab23b0724e53029a8b52fa99f217ea6482e1a2ed7e21a7b95ea88065acc8530e159d19b2a5c3b2fe5ef72c513059f2a524 SHA512 45bd9e79f3a74d3694034de3f367b913171b027e913e9f7cd1fdcfb17db09927e0ee300253ad9061d668559c5bf353bddbaf01ea52bcf5a9624a0a4a21050759
|
||||
DIST ipykernel-7.0.0.tar.gz 173513 BLAKE2B 73f196645c340a22ae8b45e28fccb3c7822be88f9b28f96772a2595f48f1ca261e17560dad654077e23cb42c550d90449f778162f9fa1cb190c6b4901dad9f1d SHA512 6d56ef846f5ca964767cc05bd06100a53eb892e00071265fbaa79f34d1c8ba2645d0617f3e90a738de5432eb4e543fd4a209760351229726ca070cd9df7ad5c0
|
||||
DIST ipykernel-7.0.0a2.tar.gz 170826 BLAKE2B 1964f89f00c4bbc87d1fd349660de673ee75dd799feeceb2dd39508c3dad5926f9d379ae378363f32637e5fb881143cdba8d0f7025c84b9a49175e6888f85bbd SHA512 2b66533f3fc34876d53d1bd5bdc6941b6f6f5544ff1d0b6d51552a8512b8b6c2d4bc1b3f6147df3b7aadef77ba5e6ef30998dfdaafa67836778a29a246517067
|
||||
DIST ipykernel-7.0.0a3.tar.gz 173017 BLAKE2B c6d7d744b6f9aff51a36667f83c88cdfd378e6a64e41f8b56567fcf31c7b7012017459534e6b3c2eec6eab77d42122e30a3a2c711de4e3cf42a395794787de28 SHA512 bd175f8b58ee19cd6798d091d14ceac16932b6fabe59d33fd1a97d2a80c5d66e1a430314e008dedf8197846ddb452e16bf3aa1f042fe6ab79475f8383d941fe6
|
||||
|
||||
@@ -1,74 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=hatchling
|
||||
PYTHON_COMPAT=( pypy3_11 python3_{11..13} )
|
||||
PYTHON_REQ_USE="threads(+)"
|
||||
|
||||
inherit distutils-r1 pypi virtualx
|
||||
|
||||
DESCRIPTION="IPython Kernel for Jupyter"
|
||||
HOMEPAGE="
|
||||
https://github.com/ipython/ipykernel/
|
||||
https://pypi.org/project/ipykernel/
|
||||
"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/comm-0.1.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/ipython-7.23.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/jupyter-client-8.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/jupyter-core-4.12[${PYTHON_USEDEP}]
|
||||
>=dev-python/matplotlib-inline-0.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/nest-asyncio-1.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/packaging-22[${PYTHON_USEDEP}]
|
||||
>=dev-python/psutil-5.7[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyzmq-25[${PYTHON_USEDEP}]
|
||||
>=dev-python/tornado-6.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/traitlets-5.4.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
# RDEPEND seems specifically needed in BDEPEND, at least jupyter
|
||||
# bug #816486
|
||||
# pytest-8 runs a small subset of tests, we allow newer for 3.13
|
||||
# since a few tests are better than skipping entirely
|
||||
BDEPEND="
|
||||
${RDEPEND}
|
||||
test? (
|
||||
dev-python/ipyparallel[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-timeout[${PYTHON_USEDEP}]
|
||||
dev-python/trio[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
EPYTEST_PLUGINS=( pytest-{asyncio,rerunfailures,timeout} )
|
||||
distutils_enable_tests pytest
|
||||
|
||||
EPYTEST_DESELECT=(
|
||||
# hangs?
|
||||
tests/test_eventloop.py::test_tk_loop
|
||||
# flaky
|
||||
tests/test_eventloop.py::test_qt_enable_gui
|
||||
# fails without pytest-cov; apparently "time-sensitive" too
|
||||
tests/test_subshells.py::test_run_concurrently_sequence
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
# debugpy is actually optional
|
||||
sed -i -e '/debugpy/d' pyproject.toml || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_compile() {
|
||||
distutils-r1_python_compile
|
||||
# Use python3 in kernel.json configuration, bug #784764
|
||||
sed -i -e '/python3.[0-9]\+/s//python3/' \
|
||||
"${BUILD_DIR}/install${EPREFIX}/usr/share/jupyter/kernels/python3/kernel.json" || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
virtx distutils-r1_src_test
|
||||
}
|
||||
@@ -1,74 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=hatchling
|
||||
PYTHON_COMPAT=( pypy3_11 python3_{11..13} )
|
||||
PYTHON_REQ_USE="threads(+)"
|
||||
|
||||
inherit distutils-r1 pypi virtualx
|
||||
|
||||
DESCRIPTION="IPython Kernel for Jupyter"
|
||||
HOMEPAGE="
|
||||
https://github.com/ipython/ipykernel/
|
||||
https://pypi.org/project/ipykernel/
|
||||
"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/comm-0.1.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/ipython-7.23.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/jupyter-client-8.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/jupyter-core-4.12[${PYTHON_USEDEP}]
|
||||
>=dev-python/matplotlib-inline-0.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/nest-asyncio-1.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/packaging-22[${PYTHON_USEDEP}]
|
||||
>=dev-python/psutil-5.7[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyzmq-25[${PYTHON_USEDEP}]
|
||||
>=dev-python/tornado-6.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/traitlets-5.4.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
# RDEPEND seems specifically needed in BDEPEND, at least jupyter
|
||||
# bug #816486
|
||||
# pytest-8 runs a small subset of tests, we allow newer for 3.13
|
||||
# since a few tests are better than skipping entirely
|
||||
BDEPEND="
|
||||
${RDEPEND}
|
||||
test? (
|
||||
dev-python/ipyparallel[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-timeout[${PYTHON_USEDEP}]
|
||||
dev-python/trio[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
EPYTEST_PLUGINS=( pytest-{asyncio,rerunfailures,timeout} )
|
||||
distutils_enable_tests pytest
|
||||
|
||||
EPYTEST_DESELECT=(
|
||||
# hangs?
|
||||
tests/test_eventloop.py::test_tk_loop
|
||||
# flaky
|
||||
tests/test_eventloop.py::test_qt_enable_gui
|
||||
# fails without pytest-cov; apparently "time-sensitive" too
|
||||
tests/test_subshells.py::test_run_concurrently_sequence
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
# debugpy is actually optional
|
||||
sed -i -e '/debugpy/d' pyproject.toml || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_compile() {
|
||||
distutils-r1_python_compile
|
||||
# Use python3 in kernel.json configuration, bug #784764
|
||||
sed -i -e '/python3.[0-9]\+/s//python3/' \
|
||||
"${BUILD_DIR}/install${EPREFIX}/usr/share/jupyter/kernels/python3/kernel.json" || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
virtx distutils-r1_src_test
|
||||
}
|
||||
Reference in New Issue
Block a user