dev-python/sphinxcontrib-mermaid: Bump to 1.2.2

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny 2025-11-24 03:32:44 +01:00
parent 0e5866bf1b
commit ff01b5e18e
No known key found for this signature in database
GPG Key ID: 8E32347AF4055AE8
2 changed files with 49 additions and 0 deletions

View File

@ -1,2 +1,3 @@
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
DIST sphinxcontrib-mermaid-1.2.2.gh.tar.gz 23211 BLAKE2B 98551c3b7edfd4722251486d98533576afefc27fe16680bb4b18a6a33811871333d88530eaf0a3965ae034af99a24a90b625288b9b1b5f10a85733ac1e2b6890 SHA512 baee6f54a8826a8cea5534e5bbc7474285ed0fc36d492d6aafe08bb61c806b420d3e1b121f6236b34834e5da88cef69fa2fd41c6bc8aba6227ba53d356832ba3

View File

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