Install this version:
emerge -a =dev-python/sunpy-sphinx-theme-2.4.0
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-python/sunpy-sphinx-theme-2.4.0
Or alternatively:
emerge --autounmask-write -a =dev-python/sunpy-sphinx-theme-2.4.0
# Copyright 1999-2026 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
DESCRIPTION="The sphinx theme for the SunPy website and documentation"
HOMEPAGE="https://docs.sunpy.org/projects/sunpy-sphinx-theme"
SRC_URI="https://github.com/sunpy/sunpy-sphinx-theme/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
REQUIRED_USE="test? ( doc )"
RDEPEND=">=dev-python/sphinx-7.3.0[${PYTHON_USEDEP}]
dev-python/pydata-sphinx-theme[${PYTHON_USEDEP}]
>=dev-python/sphinxext-opengraph-0.13[${PYTHON_USEDEP}]
"
BDEPEND=">=dev-python/setuptools-scm-6.2[$PYTHON_USEDEP]
doc? ( media-gfx/graphviz )
"
EPYTEST_PLUGINS=()
distutils_enable_tests pytest
distutils_enable_sphinx docs dev-python/sphinx-automodapi \
dev-python/sphinx-copybutton \
dev-python/sphinx-design \
dev-python/sphinx-gallery \
dev-python/sphinx-togglebutton \
dev-python/sphinxext-opengraph \
dev-python/pydata-sphinx-theme \
dev-python/matplotlib \
dev-python/sunpy
export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
EPYTEST_IGNORE=(
src/sunpy_sphinx_theme/tests/test_a11y.py
)
python_prepare_all() {
install -Dm644 {"${FILESDIR}"/${P}-,"src/${PN//-/_}.egg-info"/}SOURCES.txt || die
distutils-r1_python_prepare_all
}
>=dev-python/sphinx-7.3.0[] dev-python/pydata-sphinx-theme[] >=dev-python/sphinxext-opengraph-0.13[]
>=dev-python/setuptools-scm-6.2[] doc? ( media-gfx/graphviz )
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | sunpy-sphinx-theme-2.4.0.gh.tar.gz | 536857 bytes | https://github.com/sunpy/sunpy-sphinx-theme/archive/refs/tags/v2.4.0.tar.gz |