commit: 57f51a9299cfd15af3f4ddb16286c22e0b233426
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun May 25 03:17:26 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun May 25 03:22:23 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57f51a92
dev-python/mkdocstrings-python: Bump to 1.16.11
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/mkdocstrings-python/Manifest | 1 +
.../mkdocstrings-python-1.16.11.ebuild | 48 ++++++++++++++++++++++
2 files changed, 49 insertions(+)
diff --git a/dev-python/mkdocstrings-python/Manifest
b/dev-python/mkdocstrings-python/Manifest
index 051c4b0c1570..d9d8b21f9c13 100644
--- a/dev-python/mkdocstrings-python/Manifest
+++ b/dev-python/mkdocstrings-python/Manifest
@@ -1 +1,2 @@
DIST mkdocstrings_python-1.16.10.tar.gz 205771 BLAKE2B
3eca060176ea85e0191ad618ebf274e741a740ebf0da2d1c3b0ef6bcca4129a8f6486fda940ee161cea54f167a26122b55cb1105359dea17508a9c02e4dec638
SHA512
761a616654b3986feaeaa75e3faf5d6cc19786f740086c5c654444679be54fba4ad1a85d227a51e9798030cef889009a4f51d9461ea00c7ffb0e87fba8e1047c
+DIST mkdocstrings_python-1.16.11.tar.gz 205392 BLAKE2B
9442f60570b70912ed9fcb067b8ae507f4c7fe02e209c60e9a9f52171a77552857c01288f1f63f7c48d13857409136ee1c2de70889c7802af6876087eb70a64d
SHA512
beb6da8c3fe19b0ffd69cabfb622f03bdc7b5727b628dcb7c7370a24e166fa5e759324585e3b6147521b706d18e2e2037c60ada25bebd7ec2a8ef6fd86978ab7
diff --git a/dev-python/mkdocstrings-python/mkdocstrings-python-1.16.11.ebuild
b/dev-python/mkdocstrings-python/mkdocstrings-python-1.16.11.ebuild
new file mode 100644
index 000000000000..31b51f300a92
--- /dev/null
+++ b/dev-python/mkdocstrings-python/mkdocstrings-python-1.16.11.ebuild
@@ -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=pdm-backend
+PYTHON_COMPAT=( pypy3_11 python3_{11..13} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Python handler for dev-python/mkdocstrings"
+HOMEPAGE="
+ https://mkdocstrings.github.io/python/
+ https://github.com/mkdocstrings/python/
+ https://pypi.org/project/mkdocstrings-python/
+"
+
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~riscv"
+
+RDEPEND="
+ >=dev-python/griffe-1.6.2[${PYTHON_USEDEP}]
+ >=dev-python/mkdocstrings-0.28.3[${PYTHON_USEDEP}]
+ >=dev-python/mkdocs-autorefs-1.4[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ >=dev-python/beautifulsoup4-4.12.3[${PYTHON_USEDEP}]
+ >=dev-python/inline-snapshot-0.18[${PYTHON_USEDEP}]
+ dev-python/mkdocs-material[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+
+export PDM_BUILD_SCM_VERSION=${PV}
+
+python_test() {
+ local EPYTEST_DESELECT=(
+ # "None" meaning particular formatter not installed
+ "tests/test_rendering.py::test_format_code[None-print('Hello')]"
+ "tests/test_rendering.py::test_format_code[None-aaaaa(bbbbb,
ccccc=1) + ddddd.eeeee[ffff] or {ggggg: hhhhh, iiiii: jjjjj}]"
+ )
+
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ epytest -p inline_snapshot
+}