From 781e9d02f00a4ec59fea7690443185c7abd058e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Wed, 2 Sep 2026 05:17:15 +0200 Subject: [PATCH] dev-python/sphinxcontrib-mermaid: Bump to 2.1.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/sphinxcontrib-mermaid/Manifest | 1 + .../sphinxcontrib-mermaid-2.1.1.ebuild | 45 +++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 dev-python/sphinxcontrib-mermaid/sphinxcontrib-mermaid-2.1.1.ebuild diff --git a/dev-python/sphinxcontrib-mermaid/Manifest b/dev-python/sphinxcontrib-mermaid/Manifest index 293e8fde6fcac..923efb4973921 100644 --- a/dev-python/sphinxcontrib-mermaid/Manifest +++ b/dev-python/sphinxcontrib-mermaid/Manifest @@ -1 +1,2 @@ DIST sphinxcontrib-mermaid-2.1.0.gh.tar.gz 27473 BLAKE2B c5582e488f7ced6bcf563ad429c6ab910afd501a095569c40855363d7b4cf05cfc1e0f366f7047ca3f5c7c6a8f72ae83044cd7bb8cf934c9e56823a3b811b051 SHA512 d704a020249367e9e0404d0a4d91b7f1646952af359ec39215a7959a25d18ea981634d1014134f703e5ad0b0f8ff8689aac91b9635fdda019e46788f45c4afde +DIST sphinxcontrib-mermaid-2.1.1.gh.tar.gz 28683 BLAKE2B c6d479fb4f6af4ecdd767b4212a8028c6088c842d8b11dc6f16c6b3409bcbf42d6369cda1514740a32276f67c646c0e0af091dfa0656a554579fe2f048088c77 SHA512 919f93dff60b3fe105b98e04cb82f0445b93b05f7e21a6ed6858e8e8bd54db1e3f74df3866c17428a713ffca6b9fe890844f76364844e80bf3896f5f131feecd diff --git a/dev-python/sphinxcontrib-mermaid/sphinxcontrib-mermaid-2.1.1.ebuild b/dev-python/sphinxcontrib-mermaid/sphinxcontrib-mermaid-2.1.1.ebuild new file mode 100644 index 0000000000000..8626b7669b8b1 --- /dev/null +++ b/dev-python/sphinxcontrib-mermaid/sphinxcontrib-mermaid-2.1.1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{13..15} ) + +inherit distutils-r1 + +DESCRIPTION="Sphinx spelling extension" +HOMEPAGE=" + https://github.com/mgaitan/sphinxcontrib-mermaid + https://pypi.org/project/sphinxcontrib-mermaid/ +" +# pypi does not include test files, so we use the GitHub tarball +SRC_URI=" + https://github.com/mgaitan/sphinxcontrib-mermaid/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc64 ~riscv ~x86" + +RDEPEND=" + dev-python/jinja2[${PYTHON_USEDEP}] + >=dev-python/pyyaml-6.0.0[${PYTHON_USEDEP}] + >=dev-python/sphinx-3.0.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/defusedxml[${PYTHON_USEDEP}] + dev-python/myst-parser[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( pytest-asyncio ) +distutils_enable_tests pytest + +python_test() { + distutils_write_namespace sphinxcontrib + rm -rf sphinxcontrib || die + epytest tests +}