Install this version:
emerge -a =dev-python/astropy-sphinx-theme-3.0
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-python/astropy-sphinx-theme-3.0
Or alternatively:
emerge --autounmask-write -a =dev-python/astropy-sphinx-theme-3.0
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYPI_VERIFY_REPO=https://github.com/astropy/astropy-sphinx-theme
PYTHON_COMPAT=( python3_{11..14} )
inherit distutils-r1 pypi
DESCRIPTION="The sphinx theme for Astropy and affiliated packages"
HOMEPAGE="https://github.com/astropy/astropy-sphinx-theme"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND=">dev-python/sphinx-6[${PYTHON_USEDEP}]
>=dev-python/sunpy-sphinx-theme-2.1.1[${PYTHON_USEDEP}]
"
BDEPEND=">=dev-python/setuptools-scm-8[${PYTHON_USEDEP}]"
EPYTEST_PLUGINS=()
distutils_enable_tests pytest
distutils_enable_sphinx docs --no-autodoc
>dev-python/sphinx-6[] >=dev-python/sunpy-sphinx-theme-2.1.1[]
>=dev-python/setuptools-scm-8[]