mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -08:00
dev-python/mkdocstrings-python: add 1.16.7
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
parent
c830e06d4d
commit
5dd324a95a
@ -1,2 +1,3 @@
|
||||
DIST mkdocstrings_python-1.16.5.tar.gz 426979 BLAKE2B b6c7185c4f5abae35d7feade0d3dd36cdc1eecc5ac631f2af354e57037507f3d291bc1ff0326b665058acc73f68834e853a2d07d831fb0c08bf262111659267e SHA512 07a4a0698769a4daa0cae4607cb98e7124013a8f7190390a16818c0e21de18d78e5dcac39206d2062160cad61310b77212fe279a5cffbfb2183d49d24c792d79
|
||||
DIST mkdocstrings_python-1.16.6.tar.gz 201565 BLAKE2B 0e555d5e85959cceab121e557c39bebb2b05f2ed5ff098f1fa3d8c1714b80d271be7e559c2b1124ac4fca1877cf0627f075da31af2406cf97340f5320ad4eb0d SHA512 8091d9ed36eba2b420092efff874d4904f3d655d6b5b86090b8a7a403f6287581e345a001e4f26d57d789740674299af7b4a5f19ebeaf7976620b3688404ecbd
|
||||
DIST mkdocstrings_python-1.16.7.tar.gz 1475398 BLAKE2B cf51f5f97c2b132869d44bb74e22fbf2b4942156a8ed9469eaeeb4beb747af60cfa39dce5a5054737b16f2d65679f17771a29a65eb8b9d23530cea6a03275876 SHA512 d0a4332487c68ed14402397baf03499995dac4d8b74109105409a76034eb88467d94670e615a5846841b074c9ad7acfb1b9240159fc05ca04b9118b00313c506
|
||||
|
||||
@ -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
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user