commit: fb210376af83aa1385e7c5fa130bd1526f07fdd5
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 9 03:17:09 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Mar 9 03:35:37 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb210376
dev-python/mkdocstrings: Bump to 0.28.3
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/mkdocstrings/Manifest | 1 +
dev-python/mkdocstrings/mkdocstrings-0.28.3.ebuild | 55 ++++++++++++++++++++++
2 files changed, 56 insertions(+)
diff --git a/dev-python/mkdocstrings/Manifest b/dev-python/mkdocstrings/Manifest
index fc9759811d29..8fd2eb31177f 100644
--- a/dev-python/mkdocstrings/Manifest
+++ b/dev-python/mkdocstrings/Manifest
@@ -1 +1,2 @@
DIST mkdocstrings-0.28.2.tar.gz 5691916 BLAKE2B
c1593205307285760f1d58db99e022b6ba43db1ab69ee024b109e98918407c1f256fedcddbab7778540cacb94764cdd7d5c042f39651554635fc68aa5727ebfc
SHA512
946056f9ad179b58792756caf18f5881c2d24d05fc3adb24efe7fb8af7b44d68c648002098d4ff8b766ee6c9099bd918319df325fc5cb9854d47278c571f52ff
+DIST mkdocstrings-0.28.3.tar.gz 104109 BLAKE2B
bbeba5319fd0912a214f0e8f7759abb7948ee1da6890472037f68a79f658bbdd29e32988e885e379cec05f61a616315f5baf1c575e460e0a774876929dc26bb8
SHA512
6d9e280aef8d8c35eb583a739b7f47b75fdc97ad093c91309ebfda3b6a1d9dcf31da7872d17eb00de3d731247f1f0396524f90d8db85519632dcdebae2f38bac
diff --git a/dev-python/mkdocstrings/mkdocstrings-0.28.3.ebuild
b/dev-python/mkdocstrings/mkdocstrings-0.28.3.ebuild
new file mode 100644
index 000000000000..15c1dc639f02
--- /dev/null
+++ b/dev-python/mkdocstrings/mkdocstrings-0.28.3.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 pypy3_11 python3_{10..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.5[${PYTHON_USEDEP}]
+ >=dev-python/mkdocs-autorefs-1.4[${PYTHON_USEDEP}]
+ >=dev-python/mkdocs-get-deps-0.2[${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}]
+ )
+"
+
+# 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
+)
+
+distutils_enable_tests pytest
+
+export PDM_BUILD_SCM_VERSION=${PV}