dev-python/mkdocstrings-python: Bump to 2.0.0

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny 2025-11-28 03:45:10 +01:00
parent 7a147fa753
commit a8cda19b91
No known key found for this signature in database
GPG Key ID: 8E32347AF4055AE8
2 changed files with 45 additions and 0 deletions

View File

@ -1 +1,2 @@
DIST mkdocstrings_python-1.19.0.tar.gz 204010 BLAKE2B 54498620c5b7c2cc3a9a9dac63c04174eda142aead21629db92dab6b8c8cf167c71f178b1296aa552ccf0890ba0dfdd33c26ca5158be0dead5bfead508ef841d SHA512 929af2f0ab358ed02ecde16694475e2ea075cd0b4bea930b417518bbc55e05f6a56356b0ef8d91a4db9abbf040d2be573050e4dd23041feba37b0e03eea662f9
DIST mkdocstrings_python-2.0.0.tar.gz 199113 BLAKE2B aea89b328a903e7682da9e1b0eaf9ec305df0e54e2464d2a346bea960931e77a771eacaf01f6677e32e8cf4aaa33504c3b07204c29f1cebecd7f668e7cbe6f0f SHA512 84ee7c6a08c92e27b49c8f6106dc4ef606f1a2ae93580787a885c793680f7e80c3e712c4771745b53de35fb3046cd789f5b2041ec77644748f5f4bb16b532c21

View File

@ -0,0 +1,44 @@
# 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 )
EPYTEST_XDIST=1
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}]"
)