dev-python/sphinx-tabs: Backport docutils-0.22 fixes

Pull-Request: https://github.com/executablebooks/sphinx-tabs/pull/207
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny 2025-10-04 07:53:48 +02:00
parent ca847b08d6
commit 26150b158c
No known key found for this signature in database
GPG Key ID: 639ADAE2329E240E
2 changed files with 54 additions and 0 deletions

View File

@ -1 +1,2 @@
DIST sphinx-tabs-3.4.7-docutils-0.22.patch 48483 BLAKE2B 8f5b5d1b824cc7a2920772df8d6a7fe32c2b8b9152d6667f174f7d06ed98ce7698a51faf56daba9c4369c761d3ef02d85650435d9e01145ce587ba73bc50e9db SHA512 162d025bd08302b5dda0ae8b38905e49c2166146b8251e64201e207db33863dae1844c8a8132bc05bae529529a34795bf853764783043c161b16c43b7e42a019
DIST sphinx-tabs-3.4.7.gh.tar.gz 523984 BLAKE2B e9f99c08cdc62d98b4a02af9a4d4b0ba5169b0ba42f0fe4468ede968473d1f3c92d86f95216a49ae932334de6485df11b0966624c722ad705d570031ab4ff4a5 SHA512 6310838496b365b837966149a97e1b3b227d795fab8de5f277daffd1c65eab9fdaacd58944491f339f99372dde73d776b596f94283aaab8d87c5065d02b443e7

View File

@ -0,0 +1,53 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..14} )
inherit distutils-r1
DESCRIPTION="Tabbed views for Sphinx"
HOMEPAGE="
https://github.com/executablebooks/sphinx-tabs/
https://pypi.org/project/sphinx-tabs/
"
SRC_URI="
https://github.com/executablebooks/sphinx-tabs/archive/v${PV}.tar.gz
-> ${P}.gh.tar.gz
https://github.com/executablebooks/sphinx-tabs/pull/207.patch
-> sphinx-tabs-3.4.7-docutils-0.22.patch
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
RDEPEND="
dev-python/pygments[${PYTHON_USEDEP}]
>=dev-python/sphinx-1.8[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
dev-python/beautifulsoup4[${PYTHON_USEDEP}]
dev-python/pygments[${PYTHON_USEDEP}]
)
"
EPYTEST_PLUGINS=( pytest-{datadir,regressions} )
distutils_enable_tests pytest
distutils_enable_sphinx docs dev-python/sphinx-rtd-theme
PATCHES=(
# https://github.com/executablebooks/sphinx-tabs/pull/200
"${FILESDIR}/${P}-sphinx-8.1.patch"
# https://github.com/executablebooks/sphinx-tabs/pull/207
"${DISTDIR}/sphinx-tabs-3.4.7-docutils-0.22.patch"
)
EPYTEST_DESELECT=(
# Unpackaged rinohtype
tests/test_build.py::test_rinohtype_pdf
)