dev-python/mkdocstrings-python: Bump to 1.14.6

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2025-02-08 08:12:36 +01:00
parent af5a42ecc9
commit 1bacdcb5d5
2 changed files with 52 additions and 0 deletions
+1
View File
@@ -1 +1,2 @@
DIST mkdocstrings_python-1.14.5.tar.gz 421738 BLAKE2B db34876db6c15438141ad845eef72ff0dd4c352bb177342c5a49cf9bb77ab8e61189ca7f3bf85f0ad3756857ca7e446474b95b099d2172cf8f010451ce6f0ebf SHA512 a33e6a3e0fb7b3564d5bcb48575f58d956a570dac4e3f6b34f7b1c85c724573efd6034da1425403a1aed62257a278a11b5bc214fa18c8642ebf42d9614e9e70d
DIST mkdocstrings_python-1.14.6.tar.gz 422060 BLAKE2B d5bfae63338b282ec88c70abce944ab6a866ac0fbf444de741f2dd84be6b6c5f37c22cca6fcf187dba773378f6fd518150c0e56a1dfcf0b6852706c7a9729323 SHA512 cfd8612827c7fd1329d7692c666f1e9925e71e2be0ab221b2c5f5f92bc7e4e3f1e2c0dc244a9162df36b8bdd9f8e8d0ddd0bb70fa53bf0c3f294e72a18faec26
@@ -0,0 +1,51 @@
# 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=( python3_{10..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-0.49[${PYTHON_USEDEP}]
>=dev-python/mkdocstrings-0.28[${PYTHON_USEDEP}]
>=dev-python/mkdocs-autorefs-1.2[${PYTHON_USEDEP}]
$(python_gen_cond_dep '
>=dev-python/typing-extensions-4.0[${PYTHON_USEDEP}]
' 3.10)
"
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
}