commit:     26150b158cdc6d2f57d6a7b754377605a6d74ba1
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Oct  4 05:53:48 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Oct  4 05:56:25 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26150b15

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 <AT> gentoo.org>

 dev-python/sphinx-tabs/Manifest                    |  1 +
 dev-python/sphinx-tabs/sphinx-tabs-3.4.7-r2.ebuild | 53 ++++++++++++++++++++++
 2 files changed, 54 insertions(+)

diff --git a/dev-python/sphinx-tabs/Manifest b/dev-python/sphinx-tabs/Manifest
index 479323b47dec..458e5acbfa45 100644
--- a/dev-python/sphinx-tabs/Manifest
+++ b/dev-python/sphinx-tabs/Manifest
@@ -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

diff --git a/dev-python/sphinx-tabs/sphinx-tabs-3.4.7-r2.ebuild 
b/dev-python/sphinx-tabs/sphinx-tabs-3.4.7-r2.ebuild
new file mode 100644
index 000000000000..3947978067dd
--- /dev/null
+++ b/dev-python/sphinx-tabs/sphinx-tabs-3.4.7-r2.ebuild
@@ -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
+)

Reply via email to