mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-22 21:37:35 -08:00
We recently lifted upper bound for docutils in sphinx in commit
749fcacb0fa6 ("dev-python/sphinx: allow newer docutils"). However, this
change broke documentation build in dev-db/mydumper (bug 963628),
because sphinx-inline-tabs fails over the removed backrefs key (see
docutils commit [1]).
The issue is fixed with the patch taken from sphinx-inline-tabs
upstream, which makes backrefs key optional. The change is backward
compatible with docutils-0.21.2.
Link: https://sourceforge.net/p/docutils/code/9684 [1]
Upstream-PR: https://github.com/pradyunsg/sphinx-inline-tabs/pull/51
Closes: https://bugs.gentoo.org/963628
Signed-off-by: Petr Vaněk <arkamar@gentoo.org>
24 lines
481 B
Bash
24 lines
481 B
Bash
# Copyright 2022-2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
DISTUTILS_USE_PEP517=flit
|
|
PYTHON_COMPAT=( python3_{11..14} )
|
|
|
|
inherit distutils-r1 pypi
|
|
|
|
DESCRIPTION="A sphinx extension for inline tabs"
|
|
HOMEPAGE="https://pypi.org/project/sphinx-inline-tabs/"
|
|
|
|
LICENSE="MIT"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 arm64 ~riscv ~x86"
|
|
|
|
RDEPEND="
|
|
>=dev-python/sphinx-6.0[${PYTHON_USEDEP}]
|
|
"
|
|
|
|
PATCHES=(
|
|
"${FILESDIR}"/${P}-docutils-0.22-compat.patch
|
|
)
|