mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-23 23:27:12 -08:00
dev-python/mkdocstrings-python: Bump to 1.16.5
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
DIST mkdocstrings_python-1.16.2.tar.gz 423492 BLAKE2B 2f5c7d8c3f5b6b1256b6f15334bc131cf0281883bf8072400ab195d724eddf2c8367c081abe571e0f4fd889c97181effc1764bd1e701da00fe44593007c12919 SHA512 52c78484139df79a1a9d0924a03c08e6902e91ebb3dc1db129c3bf372d670578206d00335d0a3ef34af0c33cebe592f829023ba645102839da76be07c72be739
|
||||
DIST mkdocstrings_python-1.16.3.tar.gz 424073 BLAKE2B 7ad6114c3424dcd4b9f2da916eaf69a67bb5d6d53286d5e60c95af8cab333a9c56f106df3057107fddfd83e1f0f0875b5a4d6c6ff097b0416cd8bdb84fc81599 SHA512 7778ff0e8c2677ea84b61b5ddd623ccd0db2c6eeef3a6beb988d2a85ac0d8f4fb5f5ffeabc823ef0d9e486217efababc8d647b6e7b1873d00f26d6785f051cd3
|
||||
DIST mkdocstrings_python-1.16.5.tar.gz 426979 BLAKE2B b6c7185c4f5abae35d7feade0d3dd36cdc1eecc5ac631f2af354e57037507f3d291bc1ff0326b665058acc73f68834e853a2d07d831fb0c08bf262111659267e SHA512 07a4a0698769a4daa0cae4607cb98e7124013a8f7190390a16818c0e21de18d78e5dcac39206d2062160cad61310b77212fe279a5cffbfb2183d49d24c792d79
|
||||
|
||||
@@ -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=( pypy3 pypy3_11 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.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/mkdocs-autorefs-1.4[${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
|
||||
}
|
||||
Reference in New Issue
Block a user