commit: 0aecb575e55e1e968d7c4f7e41f180959eccf7a9
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 23 04:21:33 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Jul 23 04:43:05 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0aecb575
dev-python/mkdocstrings: Bump to 0.30.0
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/mkdocstrings/Manifest | 1 +
dev-python/mkdocstrings/mkdocstrings-0.30.0.ebuild | 55 ++++++++++++++++++++++
2 files changed, 56 insertions(+)
diff --git a/dev-python/mkdocstrings/Manifest b/dev-python/mkdocstrings/Manifest
index 57dcd8722ce6..dac1c50acaa1 100644
--- a/dev-python/mkdocstrings/Manifest
+++ b/dev-python/mkdocstrings/Manifest
@@ -1 +1,2 @@
DIST mkdocstrings-0.29.1.tar.gz 1212686 BLAKE2B
edf89721a7786dce762b76db8fef2c8210cbb74714243cb6e4996dfca8d4550a783d395108260c24c16bda9c96bd0089cb5f01098e4772a6f5090c33b024ee0c
SHA512
11fdcdb960a4538e166da2bb2da30d1f5d43c9e1913603db6f22a02375b9d09836dc3d0da2610656474b4e5cc3f451d31a20ca8c9070557192d0ab06621af752
+DIST mkdocstrings-0.30.0.tar.gz 106597 BLAKE2B
d05d5066f0f10578a84bd82c38826f1d497b2486af200d4c837157bf93e34bca5590017d30b0351a0f25a572ac0e36a2914ad86237dd2a09784ee66fbd80a1de
SHA512
1b018bd3755624b3fceca3a8bebf18a51807a51713646f6e6089aeb4d02e57728488c6389972124579f361cd7356aa91ad221dec4155f8b03ec4639dfad32cac
diff --git a/dev-python/mkdocstrings/mkdocstrings-0.30.0.ebuild
b/dev-python/mkdocstrings/mkdocstrings-0.30.0.ebuild
new file mode 100644
index 000000000000..46fa1212e2ab
--- /dev/null
+++ b/dev-python/mkdocstrings/mkdocstrings-0.30.0.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=pdm-backend
+PYTHON_COMPAT=( pypy3_11 python3_{11..13} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Automatic documentation from sources, for MkDocs"
+HOMEPAGE="
+ https://mkdocstrings.github.io/
+ https://github.com/mkdocstrings/mkdocstrings/
+ https://pypi.org/project/mkdocstrings/
+"
+
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~riscv"
+
+RDEPEND="
+ >=dev-python/jinja2-2.11.1[${PYTHON_USEDEP}]
+ >=dev-python/markdown-3.6[${PYTHON_USEDEP}]
+ >=dev-python/markupsafe-1.1[${PYTHON_USEDEP}]
+ >=dev-python/mkdocs-1.6[${PYTHON_USEDEP}]
+ >=dev-python/mkdocs-autorefs-1.4[${PYTHON_USEDEP}]
+ >=dev-python/pymdown-extensions-6.3[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ dev-python/markdown-exec[${PYTHON_USEDEP}]
+ dev-python/mkdocs-material[${PYTHON_USEDEP}]
+ >=dev-python/mkdocstrings-python-1.16.2[${PYTHON_USEDEP}]
+ dev-python/sphinx[${PYTHON_USEDEP}]
+ )
+"
+
+EPYTEST_PLUGINS=()
+distutils_enable_tests pytest
+
+# mkdocstrings documentation generation requires several currently
+# unpackaged mkdocs extensions and plug-ins, and this test
+# makes use of mkdocs configuration
+EPYTEST_DESELECT=(
+ tests/test_plugin.py::test_disabling_plugin
+ # WTF, it tries to unlink installed files from installed package?!
+ tests/test_handlers.py::test_extended_templates
+ # Needs unpackaged mkdocs-callouts, mkdocs-literate-nav, and possibly
more
+ tests/test_inventory.py::test_sphinx_load_mkdocstrings_inventory_file
+ # Internet
+ tests/test_inventory.py::test_load_inventory
+)
+
+export PDM_BUILD_SCM_VERSION=${PV}