diff --git a/dev-python/breathe/Manifest b/dev-python/breathe/Manifest index 8e844038562c6..925bcf01af884 100644 --- a/dev-python/breathe/Manifest +++ b/dev-python/breathe/Manifest @@ -1,2 +1 @@ -DIST breathe-4.35.0.gh.tar.gz 212932 BLAKE2B 9423cc99cd1dc45fa1c93f1e2adfe59be4f3398842d3c6f98ee7a17285e108de4eb88e149c4ee179fa1008e30b69c8fa4f3934506aa53892c2eb612fa7652ba3 SHA512 76e36fceb89c21e2c62471a37b856f8e7077f946ca8ebffdd068297d7d447ba4f42f8f9d91e231f7a181d7dba2cb8650479f35f8bef342184e5ccbd3dd951f91 DIST breathe-4.36.0.gh.tar.gz 219346 BLAKE2B 26e18a7cbe34762579bff965e48772b54438a2ed1235dad52fc63533afe47f78cb921683c201a281e732f4e67d5a5edbe850a369f57d7eca83f0a54f43cb68a5 SHA512 fd640ed75680134a5a0e8860764bb430bb971f49ad2f88392de7ba97d633e377079eaf1c7e35a72db135e4c4d3b066c6c9744ccc151ad18d865bb37c9de833d7 diff --git a/dev-python/breathe/breathe-4.35.0-r1.ebuild b/dev-python/breathe/breathe-4.35.0-r1.ebuild deleted file mode 100644 index 84e5e84724cad..0000000000000 --- a/dev-python/breathe/breathe-4.35.0-r1.ebuild +++ /dev/null @@ -1,42 +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_{11..13} ) - -inherit distutils-r1 - -DESCRIPTION="Sphinx Doxygen renderer" -HOMEPAGE=" - https://breathe.readthedocs.io/en/latest/ - https://github.com/breathe-doc/breathe/ - https://pypi.org/project/breathe/ -" -SRC_URI=" - https://github.com/breathe-doc/breathe/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" - -RDEPEND=" - app-text/doxygen - dev-python/docutils[${PYTHON_USEDEP}] - >=dev-python/sphinx-4.0.0[${PYTHON_USEDEP}] - dev-texlive/texlive-bibtexextra - dev-texlive/texlive-fontsextra - dev-texlive/texlive-fontutils - dev-texlive/texlive-latex - dev-texlive/texlive-latexextra -" - -distutils_enable_tests pytest - -PATCHES=( - # https://github.com/breathe-doc/breathe/pull/956 - "${FILESDIR}/${P}-sphinx-7.2.patch" -) diff --git a/dev-python/breathe/files/breathe-4.35.0-sphinx-7.2.patch b/dev-python/breathe/files/breathe-4.35.0-sphinx-7.2.patch deleted file mode 100644 index b81eddc6a6e3e..0000000000000 --- a/dev-python/breathe/files/breathe-4.35.0-sphinx-7.2.patch +++ /dev/null @@ -1,40 +0,0 @@ -From 46abd77157a2a57e81586e4f8765ae8f1a09d167 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Mark=C3=A9ta?= -Date: Wed, 4 Oct 2023 15:53:59 +0200 -Subject: [PATCH] support Sphinx 7.2 - ---- - breathe/project.py | 2 +- - tests/test_renderer.py | 6 +++++- - 2 files changed, 6 insertions(+), 2 deletions(-) - -diff --git a/breathe/project.py b/breathe/project.py -index 865236e8..9716cb59 100644 ---- a/breathe/project.py -+++ b/breathe/project.py -@@ -113,7 +113,7 @@ def __init__(self, app: Sphinx): - # Assume general build directory is the doctree directory without the last component. - # We strip off any trailing slashes so that dirname correctly drops the last part. - # This can be overridden with the breathe_build_directory config variable -- self._default_build_dir = os.path.dirname(app.doctreedir.rstrip(os.sep)) -+ self._default_build_dir = app.doctreedir.parent - self.project_count = 0 - self.project_info_store: Dict[str, ProjectInfo] = {} - self.project_info_for_auto_store: Dict[str, AutoProjectInfo] = {} -diff --git a/tests/test_renderer.py b/tests/test_renderer.py -index a858c65d..73a29e4e 100644 ---- a/tests/test_renderer.py -+++ b/tests/test_renderer.py -@@ -35,7 +35,11 @@ def app(test_params, app_params, make_app, shared_result): - """ - args, kwargs = app_params - assert "srcdir" in kwargs -- kwargs["srcdir"].makedirs(exist_ok=True) -+ try: -+ kwargs["srcdir"].mkdir(parents=True, exist_ok=True) -+ except AttributeError: -+ # old version of Sphinx -+ kwargs["srcdir"].makedirs(exist_ok=True) - (kwargs["srcdir"] / "conf.py").write_text("") - app_ = make_app(*args, **kwargs) - yield app_