dev-python/sphinxcontrib-mermaid: Bump to 2.0.2

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2026-05-06 04:14:07 +02:00
parent 0a58617018
commit b5bcdf9157
2 changed files with 45 additions and 0 deletions
@@ -1 +1,2 @@
DIST sphinxcontrib-mermaid-2.0.1.gh.tar.gz 22700 BLAKE2B 8e2ee324aed0f60bcaeaf4911b6d813b8a155a881b09649330c5f8f0743d696e7757a4dec6cc9e65de210a3d0cd64053c94381f77945e976945852efbbd6b043 SHA512 1fea22c7759e3f2be5530b905899688b946c8c58590b5fe242f156f3b9e4ecad92cd3a99dbbd78e6536371f15a8972e29560b743a9a5bd0c74bcc2a4bb98640b
DIST sphinxcontrib-mermaid-2.0.2.gh.tar.gz 23399 BLAKE2B 3243962204fa9c95433dfcf2bda1544ae7e3116f21089bff847ff3a05407b500ee1a266f6b37d6147b2b31f75d88f770ad5f49cc266ac676665c3c3eb55687e3 SHA512 7bb6022f6cd113e3047ec446081d705041937d834cd8afe74b0f237d39b77f2e3e714753853ec5acf5227f512f641b6380ca0f6507adefb959902231e97a1101
@@ -0,0 +1,44 @@
# 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..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 ~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
}