commit:     e7f55accc46e3ee3c5a217bb1b46ad5539984a40
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 25 06:38:51 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Feb 25 07:51:42 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7f55acc

dev-python/mkdocstrings: Bump to 0.28.2

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/mkdocstrings/Manifest                   |  1 +
 dev-python/mkdocstrings/mkdocstrings-0.28.2.ebuild | 55 ++++++++++++++++++++++
 2 files changed, 56 insertions(+)

diff --git a/dev-python/mkdocstrings/Manifest b/dev-python/mkdocstrings/Manifest
index 7937903c5162..e3e14bfc68a7 100644
--- a/dev-python/mkdocstrings/Manifest
+++ b/dev-python/mkdocstrings/Manifest
@@ -1 +1,2 @@
 DIST mkdocstrings-0.28.1.tar.gz 4551690 BLAKE2B 
ae30723c0f7a55e4d4950e1b07b95bbfc7c1ad0a6d9a93c1c0537b8f536fff7a928c8ae1c858c49e434050d2f9357aeb333e10a78e1f51e06dca371aa7066e9c
 SHA512 
11b8190d744ec7926057f100010d926b60a013e6919aba1c89e9eacb33ee31734b1f9cf1b676631b1dc490a66cc063ff7a6cb1810d2ce0cadb2e9e02ccf16d5a
+DIST mkdocstrings-0.28.2.tar.gz 5691916 BLAKE2B 
c1593205307285760f1d58db99e022b6ba43db1ab69ee024b109e98918407c1f256fedcddbab7778540cacb94764cdd7d5c042f39651554635fc68aa5727ebfc
 SHA512 
946056f9ad179b58792756caf18f5881c2d24d05fc3adb24efe7fb8af7b44d68c648002098d4ff8b766ee6c9099bd918319df325fc5cb9854d47278c571f52ff

diff --git a/dev-python/mkdocstrings/mkdocstrings-0.28.2.ebuild 
b/dev-python/mkdocstrings/mkdocstrings-0.28.2.ebuild
new file mode 100644
index 000000000000..721784f5ee29
--- /dev/null
+++ b/dev-python/mkdocstrings/mkdocstrings-0.28.2.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 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.14.1[${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}

Reply via email to