Install this version:
emerge -a =dev-python/sphinx-book-theme-1.4.0
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-python/sphinx-book-theme-1.4.0
Or alternatively:
emerge --autounmask-write -a =dev-python/sphinx-book-theme-1.4.0
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=standalone
PYPI_NO_NORMALIZE=1
PYTHON_COMPAT=( python3_{11..14} )
inherit distutils-r1 pypi
DESCRIPTION="A clean book theme for scientific explanations and documentation with Sphinx"
HOMEPAGE="https://sphinx-book-theme.readthedocs.io"
SRC_URI="https://github.com/executablebooks/sphinx-book-theme/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz
$(pypi_wheel_url)
"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="code_style"
RESTRICT="doc? ( network-sandbox )"
RDEPEND=">=dev-python/sphinx-8.2[${PYTHON_USEDEP}]
>=dev-python/pydata-sphinx-theme-0.20.0[${PYTHON_USEDEP}]
code_style? ( dev-vcs/pre-commit )
"
BDEPEND="test? (
dev-python/myst-nb[${PYTHON_USEDEP}]
dev-python/sphinx-thebe[${PYTHON_USEDEP}]
)
"
EPYTEST_PLUGINS=( pytest-{datadir,regressions} )
distutils_enable_tests pytest
distutils_enable_sphinx docs dev-python/sphinx-copybutton \
dev-python/sphinx-examples \
dev-python/sphinx-tabs \
dev-python/sphinx-thebe \
dev-python/sphinx-togglebutton \
dev-python/sphinx-design \
dev-python/sphinxcontrib-bibtex \
dev-python/sphinxcontrib-youtube \
dev-python/sphinxext-opengraph \
dev-python/ablog \
dev-python/myst-nb \
dev-python/numpydoc \
dev-python/pandas \
sci-geosciences/folium
python_compile() {
distutils_wheel_install "${BUILD_DIR}/install" \
"${DISTDIR}/$(pypi_wheel_name)"
}
Manage flags for this package:
euse -i <flag> -p dev-python/sphinx-book-theme |
euse -E <flag> -p dev-python/sphinx-book-theme |
euse -D <flag> -p dev-python/sphinx-book-theme
>=dev-python/sphinx-8.2[] >=dev-python/pydata-sphinx-theme-0.20.0[] code_style? ( dev-vcs/pre-commit )
test? ( dev-python/myst-nb[] dev-python/sphinx-thebe[] )
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | sphinx-book-theme-1.4.0.gh.tar.gz | 402723 bytes | https://github.com/executablebooks/sphinx-book-theme/archive/refs/tags/v1.4.0.tar.gz |