mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
dev-python/sphinxcontrib-mermaid: Bump to 2.0.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST sphinxcontrib-mermaid-1.2.2.gh.tar.gz 23211 BLAKE2B 98551c3b7edfd4722251486d98533576afefc27fe16680bb4b18a6a33811871333d88530eaf0a3965ae034af99a24a90b625288b9b1b5f10a85733ac1e2b6890 SHA512 baee6f54a8826a8cea5534e5bbc7474285ed0fc36d492d6aafe08bb61c806b420d3e1b121f6236b34834e5da88cef69fa2fd41c6bc8aba6227ba53d356832ba3
|
||||
DIST sphinxcontrib-mermaid-2.0.0.gh.tar.gz 22649 BLAKE2B 8ab3c4ec7a8db1664627b63788a89ee44aa0031698254a3b1882f0f91494a38c7cd3aa1414d3a27f74b1f9b5a78b2589a3024ccadcc03e9308b61c0946492ee1 SHA512 025efc1f6c1f05047cc5abf60685d26f1af7886ec83519d29e19008ee2624a608df6aa36eb44ceeab73346bf0228f240e55a86a7848aab9568abc57d7b841f8c
|
||||
|
||||
@@ -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=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/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
|
||||
}
|
||||
Reference in New Issue
Block a user