diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-12 19:09:37 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-12 19:09:37 -0500 |
| commit | b590c8d7572b727d565cc0b8ff660d43569845de (patch) | |
| tree | 06f7a4102ea4e845df8b66660f252920d52952f9 /dev-python/sphinx-tabs | |
| parent | 24f9cbfc4c34fdb6a6e03311674414e881ceab47 (diff) | |
| download | baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.gz baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.xz baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.zip | |
Adding metadata
Diffstat (limited to 'dev-python/sphinx-tabs')
| -rw-r--r-- | dev-python/sphinx-tabs/Manifest | 2 | ||||
| -rw-r--r-- | dev-python/sphinx-tabs/files/sphinx-tabs-3.4.7-sphinx-8.1.patch | 207 | ||||
| -rw-r--r-- | dev-python/sphinx-tabs/metadata.xml | 9 | ||||
| -rw-r--r-- | dev-python/sphinx-tabs/sphinx-tabs-3.4.7-r2.ebuild | 53 |
4 files changed, 271 insertions, 0 deletions
diff --git a/dev-python/sphinx-tabs/Manifest b/dev-python/sphinx-tabs/Manifest new file mode 100644 index 000000000000..458e5acbfa45 --- /dev/null +++ b/dev-python/sphinx-tabs/Manifest @@ -0,0 +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/files/sphinx-tabs-3.4.7-sphinx-8.1.patch b/dev-python/sphinx-tabs/files/sphinx-tabs-3.4.7-sphinx-8.1.patch new file mode 100644 index 000000000000..ab222793cba8 --- /dev/null +++ b/dev-python/sphinx-tabs/files/sphinx-tabs-3.4.7-sphinx-8.1.patch @@ -0,0 +1,207 @@ +From b5528ac02f472ecf1ef8c45eb4cc7249d3329b3d Mon Sep 17 00:00:00 2001 +From: Dmitry Shachnev <mitya57@gmail.com> +Date: Sun, 24 Nov 2024 20:55:02 +0300 +Subject: [PATCH] Update the tests for Sphinx 8.1 + +Fixes #199. +--- + tests/conftest.py | 4 ++++ + tests/test_build/test_basic.html | 2 ++ + .../test_conditional_assets_html_assets_policy_index_.html | 2 ++ + .../test_conditional_assets_html_assets_policy_no_tabs1_.html | 2 ++ + .../test_conditional_assets_html_assets_policy_no_tabs2_.html | 2 ++ + tests/test_build/test_conditional_assets_index_.html | 2 ++ + tests/test_build/test_conditional_assets_no_tabs1_.html | 2 ++ + tests/test_build/test_conditional_assets_no_tabs2_.html | 2 ++ + tests/test_build/test_custom_lexer.html | 2 ++ + tests/test_build/test_disable_closing.html | 2 ++ + tests/test_build/test_disable_css_loading.html | 2 ++ + tests/test_build/test_nested_markup.html | 2 ++ + tests/test_build/test_no_tabs.html | 2 ++ + tests/test_build/test_other_with_assets.html | 2 ++ + 14 files changed, 30 insertions(+) + +diff --git a/tests/conftest.py b/tests/conftest.py +index 1dbf0ad..c4452df 100644 +--- a/tests/conftest.py ++++ b/tests/conftest.py +@@ -91,6 +91,10 @@ def read(app, buildername="html", filename="index.html", encoding="utf-8"): + for div in soup.find_all("div", {"class": "highlight"}): + div.decompose() + ++ if sphinx.version_info < (8, 1): ++ body = soup.select("div.body")[0] ++ body.append(soup.new_tag("div", **{"class": "clearer"})) ++ + doc_div = soup.findAll("div", {"class": "documentwrapper"})[0] + doc = doc_div.prettify() + +diff --git a/tests/test_build/test_basic.html b/tests/test_build/test_basic.html +index af63887..a5cc924 100644 +--- a/tests/test_build/test_basic.html ++++ b/tests/test_build/test_basic.html +@@ -37,6 +37,8 @@ + </p> + </div> + </div> ++ <div class="clearer"> ++ </div> + </div> + </div> + </div> +diff --git a/tests/test_build/test_conditional_assets_html_assets_policy_index_.html b/tests/test_build/test_conditional_assets_html_assets_policy_index_.html +index b87a329..6e1cbc8 100644 +--- a/tests/test_build/test_conditional_assets_html_assets_policy_index_.html ++++ b/tests/test_build/test_conditional_assets_html_assets_policy_index_.html +@@ -243,6 +243,8 @@ <h1> + </div> + </div> + </section> ++ <div class="clearer"> ++ </div> + </div> + </div> + </div> +diff --git a/tests/test_build/test_conditional_assets_html_assets_policy_no_tabs1_.html b/tests/test_build/test_conditional_assets_html_assets_policy_no_tabs1_.html +index b87a329..6e1cbc8 100644 +--- a/tests/test_build/test_conditional_assets_html_assets_policy_no_tabs1_.html ++++ b/tests/test_build/test_conditional_assets_html_assets_policy_no_tabs1_.html +@@ -243,6 +243,8 @@ <h1> + </div> + </div> + </section> ++ <div class="clearer"> ++ </div> + </div> + </div> + </div> +diff --git a/tests/test_build/test_conditional_assets_html_assets_policy_no_tabs2_.html b/tests/test_build/test_conditional_assets_html_assets_policy_no_tabs2_.html +index b87a329..6e1cbc8 100644 +--- a/tests/test_build/test_conditional_assets_html_assets_policy_no_tabs2_.html ++++ b/tests/test_build/test_conditional_assets_html_assets_policy_no_tabs2_.html +@@ -243,6 +243,8 @@ <h1> + </div> + </div> + </section> ++ <div class="clearer"> ++ </div> + </div> + </div> + </div> +diff --git a/tests/test_build/test_conditional_assets_index_.html b/tests/test_build/test_conditional_assets_index_.html +index b87a329..6e1cbc8 100644 +--- a/tests/test_build/test_conditional_assets_index_.html ++++ b/tests/test_build/test_conditional_assets_index_.html +@@ -243,6 +243,8 @@ <h1> + </div> + </div> + </section> ++ <div class="clearer"> ++ </div> + </div> + </div> + </div> +diff --git a/tests/test_build/test_conditional_assets_no_tabs1_.html b/tests/test_build/test_conditional_assets_no_tabs1_.html +index b87a329..6e1cbc8 100644 +--- a/tests/test_build/test_conditional_assets_no_tabs1_.html ++++ b/tests/test_build/test_conditional_assets_no_tabs1_.html +@@ -243,6 +243,8 @@ <h1> + </div> + </div> + </section> ++ <div class="clearer"> ++ </div> + </div> + </div> + </div> +diff --git a/tests/test_build/test_conditional_assets_no_tabs2_.html b/tests/test_build/test_conditional_assets_no_tabs2_.html +index b87a329..6e1cbc8 100644 +--- a/tests/test_build/test_conditional_assets_no_tabs2_.html ++++ b/tests/test_build/test_conditional_assets_no_tabs2_.html +@@ -243,6 +243,8 @@ <h1> + </div> + </div> + </section> ++ <div class="clearer"> ++ </div> + </div> + </div> + </div> +diff --git a/tests/test_build/test_custom_lexer.html b/tests/test_build/test_custom_lexer.html +index 954a10a..a0af59a 100644 +--- a/tests/test_build/test_custom_lexer.html ++++ b/tests/test_build/test_custom_lexer.html +@@ -19,6 +19,8 @@ + </div> + </div> + </div> ++ <div class="clearer"> ++ </div> + </div> + </div> + </div> +diff --git a/tests/test_build/test_disable_closing.html b/tests/test_build/test_disable_closing.html +index e245915..98ba6ef 100644 +--- a/tests/test_build/test_disable_closing.html ++++ b/tests/test_build/test_disable_closing.html +@@ -37,6 +37,8 @@ + </p> + </div> + </div> ++ <div class="clearer"> ++ </div> + </div> + </div> + </div> +diff --git a/tests/test_build/test_disable_css_loading.html b/tests/test_build/test_disable_css_loading.html +index af63887..a5cc924 100644 +--- a/tests/test_build/test_disable_css_loading.html ++++ b/tests/test_build/test_disable_css_loading.html +@@ -37,6 +37,8 @@ + </p> + </div> + </div> ++ <div class="clearer"> ++ </div> + </div> + </div> + </div> +diff --git a/tests/test_build/test_nested_markup.html b/tests/test_build/test_nested_markup.html +index 22588a9..b15d43e 100644 +--- a/tests/test_build/test_nested_markup.html ++++ b/tests/test_build/test_nested_markup.html +@@ -207,6 +207,8 @@ <h1> + </div> + </div> + </section> ++ <div class="clearer"> ++ </div> + </div> + </div> + </div> +diff --git a/tests/test_build/test_no_tabs.html b/tests/test_build/test_no_tabs.html +index 6a0af85..26e2d70 100644 +--- a/tests/test_build/test_no_tabs.html ++++ b/tests/test_build/test_no_tabs.html +@@ -4,6 +4,8 @@ + <p> + There are no tabs here + </p> ++ <div class="clearer"> ++ </div> + </div> + </div> + </div> +diff --git a/tests/test_build/test_other_with_assets.html b/tests/test_build/test_other_with_assets.html +index 85b55c4..c8ee530 100644 +--- a/tests/test_build/test_other_with_assets.html ++++ b/tests/test_build/test_other_with_assets.html +@@ -19,6 +19,8 @@ + </div> + </div> + </div> ++ <div class="clearer"> ++ </div> + </div> + </div> + </div> diff --git a/dev-python/sphinx-tabs/metadata.xml b/dev-python/sphinx-tabs/metadata.xml new file mode 100644 index 000000000000..d34971a915e9 --- /dev/null +++ b/dev-python/sphinx-tabs/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + </maintainer> + <stabilize-allarches /> + <origin>baldeagleos-repo</origin> +</pkgmetadata> 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..8e2cd14e646d --- /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_{13..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 +) |
