dev-python/sunpy-sphinx-theme - 2.4.0 (benzene-overlay)

Search

Install

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

Package Information

Description:
The sphinx theme for the SunPy website and documentation
Homepage:
https://docs.sunpy.org/projects/sunpy-sphinx-theme
License:
BSD-2

Ebuild Details

Version EAPI Keywords Slot
2.4.0 8 ~amd64 ~x86 0
View Raw Ebuild
# 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
}

Inherited Eclasses

Dependencies

RDEPEND

>=dev-python/sphinx-7.3.0[]
	dev-python/pydata-sphinx-theme[]
	>=dev-python/sphinxext-opengraph-0.13[]

BDEPEND

>=dev-python/setuptools-scm-6.2[]
	doc? ( media-gfx/graphviz )

Manifest for 2.4.0

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