Install this version:
emerge -a =dev-python/jupyter-c-kernel-1.2.2
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-python/jupyter-c-kernel-1.2.2
Or alternatively:
emerge --autounmask-write -a =dev-python/jupyter-c-kernel-1.2.2
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 1.2.2 | 8 | ~amd64 | 0 |
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{12..14} )
inherit distutils-r1 pypi
DESCRIPTION="Minimal Jupyter C kernel"
HOMEPAGE="
https://github.com/brendan-rius/jupyter-c-kernel
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
distutils_enable_tests pytest
S=${WORKDIR}/jupyter_c_kernel-${PV}
python_install_all() {
distutils-r1_python_install_all
insinto /usr/share/jupyter/kernels/c
doins ${FILESDIR}/kernel.json
doins ${FILESDIR}/logo-32x32.png
doins ${FILESDIR}/logo-64x64.png
doins ${FILESDIR}/logo-svg.svg
}