dev-python/sphinxcontrib-mermaid: Bump to 2.1.1

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2026-09-02 05:17:15 +02:00
parent e58f4e29c2
commit 781e9d02f0
2 changed files with 46 additions and 0 deletions

View File

@@ -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

View File

@@ -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
}