From a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 4 Jun 2026 16:24:49 -0500 Subject: Adding metadata --- dev-python/sphinx-panels/Manifest | 1 - .../files/sphinx-panels-0.6.0-sphinx-7.patch | 65 ---------------------- dev-python/sphinx-panels/metadata.xml | 17 ------ .../sphinx-panels/sphinx-panels-0.6.0-r1.ebuild | 47 ---------------- 4 files changed, 130 deletions(-) delete mode 100644 dev-python/sphinx-panels/Manifest delete mode 100644 dev-python/sphinx-panels/files/sphinx-panels-0.6.0-sphinx-7.patch delete mode 100644 dev-python/sphinx-panels/metadata.xml delete mode 100644 dev-python/sphinx-panels/sphinx-panels-0.6.0-r1.ebuild (limited to 'dev-python/sphinx-panels') diff --git a/dev-python/sphinx-panels/Manifest b/dev-python/sphinx-panels/Manifest deleted file mode 100644 index 96b24e304117..000000000000 --- a/dev-python/sphinx-panels/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST sphinx-panels-0.6.0.gh.tar.gz 400548 BLAKE2B 685b241ffe839face392950ccaa5c00d5613ee4076a4f8d62fdff32158f2d02c444375b7f656a89d4712f8bf895b937ff9fe650cab98670f03b0c4d75e545f97 SHA512 74064538ff8cd1c7c44b5daeda272217618ed33394694883046972b4262d503e1426e7573d8b49040d4b426651377b89fd4ad2a085f1e62827e7ef51e6912e5f diff --git a/dev-python/sphinx-panels/files/sphinx-panels-0.6.0-sphinx-7.patch b/dev-python/sphinx-panels/files/sphinx-panels-0.6.0-sphinx-7.patch deleted file mode 100644 index 8bd3ebb0706b..000000000000 --- a/dev-python/sphinx-panels/files/sphinx-panels-0.6.0-sphinx-7.patch +++ /dev/null @@ -1,65 +0,0 @@ -https://salsa.debian.org/python-team/packages/sphinx-panels/-/blob/debian/master/debian/patches/Make-the-tests-pass-with-Sphinx-7.x.patch - -From: Dmitry Shachnev -Date: Fri, 3 Nov 2023 23:25:11 +0300 -Subject: Make the tests pass with Sphinx 7.x - ---- - tests/test_sphinx.py | 8 +++++++- - tests/test_sphinx/test_sources_dropdown_basic_.xml | 2 +- - tests/test_sphinx/test_sources_tabbed_basic_.xml | 2 +- - 3 files changed, 9 insertions(+), 3 deletions(-) - -diff --git a/tests/test_sphinx.py b/tests/test_sphinx.py -index 9efc2c2..35affa1 100644 ---- a/tests/test_sphinx.py -+++ b/tests/test_sphinx.py -@@ -2,6 +2,7 @@ from pathlib import Path - import shutil - - import pytest -+import sphinx - from sphinx.testing.path import path - - from sphinx_panels.tabs import TabbedHtmlTransform -@@ -15,7 +16,10 @@ def sphinx_app_factory(make_app, tmp_path: Path, monkeypatch): - shutil.copytree( - (Path(__file__).parent / "sources" / src_folder), tmp_path / src_folder - ) -- app = make_app(srcdir=path(str((tmp_path / src_folder).absolute())), **kwargs) -+ srcdir = (tmp_path / src_folder).absolute() -+ if sphinx.version_info < (7, 2): -+ srcdir = path(str(srcdir)) -+ app = make_app(srcdir=srcdir, **kwargs) - return app - - yield _func -@@ -28,6 +32,8 @@ def test_sources(sphinx_app_factory, file_regression, folder): - assert app._warning.getvalue() == "" - doctree = app.env.get_and_resolve_doctree("index", app.builder) - doctree["source"] = "source" -+ if sphinx.version_info < (7, 1): -+ doctree["translation_progress"] = "{'total': 0, 'translated': 0}" - file_regression.check( - doctree.pformat(), - encoding="utf8", -diff --git a/tests/test_sphinx/test_sources_dropdown_basic_.xml b/tests/test_sphinx/test_sources_dropdown_basic_.xml -index b984330..4c42825 100644 ---- a/tests/test_sphinx/test_sources_dropdown_basic_.xml -+++ b/tests/test_sphinx/test_sources_dropdown_basic_.xml -@@ -1,4 +1,4 @@ -- -+ -
- - Title -diff --git a/tests/test_sphinx/test_sources_tabbed_basic_.xml b/tests/test_sphinx/test_sources_tabbed_basic_.xml -index b3f2d1a..f55e06e 100644 ---- a/tests/test_sphinx/test_sources_tabbed_basic_.xml -+++ b/tests/test_sphinx/test_sources_tabbed_basic_.xml -@@ -1,4 +1,4 @@ --<document source="source"> -+<document source="source" translation_progress="{'total': 0, 'translated': 0}"> - <section ids="title" names="title"> - <title> - Title diff --git a/dev-python/sphinx-panels/metadata.xml b/dev-python/sphinx-panels/metadata.xml deleted file mode 100644 index a9f6fc186ebe..000000000000 --- a/dev-python/sphinx-panels/metadata.xml +++ /dev/null @@ -1,17 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>nowa@gentoo.org</email> - <name>Nowa Ammerlaan</name> - </maintainer> - <maintainer type="project"> - <email>python@gentoo.org</email> - <name>Python</name> - </maintainer> - <stabilize-allarches/> - <upstream> - <remote-id type="pypi">sphinx-panels</remote-id> - <remote-id type="github">executablebooks/sphinx-panels</remote-id> - </upstream> -</pkgmetadata> diff --git a/dev-python/sphinx-panels/sphinx-panels-0.6.0-r1.ebuild b/dev-python/sphinx-panels/sphinx-panels-0.6.0-r1.ebuild deleted file mode 100644 index 16ae7645cd70..000000000000 --- a/dev-python/sphinx-panels/sphinx-panels-0.6.0-r1.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# 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="A sphinx extension for creating panels in a grid layout" -HOMEPAGE=" - https://github.com/executablebooks/sphinx-panels/ - https://pypi.org/project/sphinx-panels/ -" -SRC_URI=" - https://github.com/executablebooks/sphinx-panels/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~arm64 x86" - -RDEPEND=" - dev-python/docutils[${PYTHON_USEDEP}] - dev-python/sphinx[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/pytest-regressions[${PYTHON_USEDEP}] - ) -" - -PATCHES=( - # https://github.com/executablebooks/sphinx-panels/pull/84 - "${FILESDIR}/${P}-sphinx-7.patch" -) - -distutils_enable_tests pytest -distutils_enable_sphinx docs dev-python/sphinx-rtd-theme - -src_prepare() { - # unpin deps - sed -i -e 's:,<[0-9.]*::' setup.py || die - distutils-r1_src_prepare -} -- cgit v1.3