commit: f376a4b1fdc20f8cda2df4904b304d35d26a0581
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 20 03:02:48 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Nov 20 03:02:48 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f376a4b1
dev-python/sphinxcontrib-mermaid: Bump to 1.1.0
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/sphinxcontrib-mermaid/Manifest | 1 +
.../sphinxcontrib-mermaid-1.1.0.ebuild | 48 ++++++++++++++++++++++
2 files changed, 49 insertions(+)
diff --git a/dev-python/sphinxcontrib-mermaid/Manifest
b/dev-python/sphinxcontrib-mermaid/Manifest
index fc878f5031db..4fd03cd4fc2b 100644
--- a/dev-python/sphinxcontrib-mermaid/Manifest
+++ b/dev-python/sphinxcontrib-mermaid/Manifest
@@ -1 +1,2 @@
DIST sphinxcontrib-mermaid-1.0.0.gh.tar.gz 19126 BLAKE2B
669a34187d00d047dc353fecdcc0adf9d5c5d00e5a05a09696dc29927bf89fa3382095cc3fd9246bf2414f68570b3026516a076614f52c7d720738e92bc255b0
SHA512
f19f21aba74e4bb192d2be6b216b711d7ee6fd2393354451146aacb41ded5323fbc9bc8a58b75e5dfe6e102746dba1e1419d166cca15f6d4c33f6ab9940a269c
+DIST sphinxcontrib-mermaid-1.1.0.gh.tar.gz 23092 BLAKE2B
9ebe18154aea8d5b572f6e4f76b44b6ba3b129ea33b8411bbdb60c9235cce8cf65b81c420a9315696214bc56fd1bd215a0e2f9eb2dfe8f80542fb71de6a40e41
SHA512
496b09fdad645eba88394eed2092edbd81bf7210da57fbd1d269607b40991601b9eaaca81bf066deb79045efc199bd3117d3066442a9cc5d118b42a65558b1f9
diff --git
a/dev-python/sphinxcontrib-mermaid/sphinxcontrib-mermaid-1.1.0.ebuild
b/dev-python/sphinxcontrib-mermaid/sphinxcontrib-mermaid-1.1.0.ebuild
new file mode 100644
index 000000000000..6ac9520404f0
--- /dev/null
+++ b/dev-python/sphinxcontrib-mermaid/sphinxcontrib-mermaid-1.1.0.ebuild
@@ -0,0 +1,48 @@
+# 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="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/refs/tags/${PV}.tar.gz
-> ${P}.gh.tar.gz
+"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+
+RDEPEND="
+ >=dev-python/sphinx-3.0.0[${PYTHON_USEDEP}]
+ >=dev-python/pyyaml-6.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_compile() {
+ distutils-r1_python_compile
+ find "${BUILD_DIR}" -name '*.pth' -delete || die
+}
+
+python_test() {
+ distutils_write_namespace sphinxcontrib
+ rm -rf sphinxcontrib || die
+ epytest tests
+}