dev-python/mkdocstrings-python: Bump to 1.18.0

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2025-08-27 04:26:58 +02:00
parent 279eb491ff
commit 36acf5a15f
2 changed files with 44 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST mkdocstrings_python-1.17.0.tar.gz 200408 BLAKE2B 102bf167ab9084cda346e165dcd897a2e8494c6c562dfa343cedd48ad8c7f12990eb90916a88d25d5cf0c588e822ce940b2a56c8913084fb01312f45b2facc38 SHA512 469bf8928878badbacaac015e850a97fbab5d8793894634f18d76ad1db197add93ab1ac3cfdedf2bf9b2622f46cfcfc2155e660dd8b69744345388eb154c9b7f
DIST mkdocstrings_python-1.18.0.tar.gz 207601 BLAKE2B 677b26e09d592c8a9e64037aca1a3afe9fba2406d7589cea9b40b763fa68590e3bf8b4b7172faa966fa37c62d8372eb762841c1747533a4c9f3b272d1d5bae2e SHA512 959d65f87c6e0553f83eaa73a1f325c900c50150732714305a55048c80e2098a5a254bafed198f6a7fc8a9a07461acd7cc3ee4a8349703341f4905eac7f0df76

View File

@@ -0,0 +1,43 @@
# 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.13[${PYTHON_USEDEP}]
>=dev-python/mkdocstrings-0.30[${PYTHON_USEDEP}]
>=dev-python/mkdocs-autorefs-1.4[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
>=dev-python/beautifulsoup4-4.12.3[${PYTHON_USEDEP}]
dev-python/mkdocs-material[${PYTHON_USEDEP}]
)
"
EPYTEST_PLUGINS=( inline-snapshot )
distutils_enable_tests pytest
export PDM_BUILD_SCM_VERSION=${PV}
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}]"
)