Install this version:
emerge -a =dev-python/octave-kernel-1.0.3
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-python/octave-kernel-1.0.3
Or alternatively:
emerge --autounmask-write -a =dev-python/octave-kernel-1.0.3
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{12..14} )
DISTUTILS_USE_PEP517=hatchling
inherit distutils-r1 virtualx pypi
DESCRIPTION="Jupyter kernel for octave"
HOMEPAGE="
https://github.com/Calysto/octave_kernel/
https://pypi.org/project/octave-kernel/
"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
RDEPEND="
>=dev-python/ipykernel-6.22.0[${PYTHON_USEDEP}]
>=dev-python/jupyter-client-8.1.0[${PYTHON_USEDEP}]
>=dev-python/metakernel-1.0[${PYTHON_USEDEP}]
sci-mathematics/octave
"
DEPEND="${RDEPEND}"
BDEPEND="
test? (
dev-python/jupyter-kernel-test[${PYTHON_USEDEP}]
dev-python/nbconvert[${PYTHON_USEDEP}]
)
"
EPYTEST_PLUGINS=()
distutils_enable_tests pytest
src_test() {
virtx distutils-r1_src_test
}
>=dev-python/ipykernel-6.22.0[] >=dev-python/jupyter-client-8.1.0[] >=dev-python/metakernel-1.0[] sci-mathematics/octave
>=dev-python/ipykernel-6.22.0[] >=dev-python/jupyter-client-8.1.0[] >=dev-python/metakernel-1.0[] sci-mathematics/octave
test? ( dev-python/jupyter-kernel-test[] dev-python/nbconvert[] )