dev-python/mkdocstrings: Bump to 0.28.1

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2025-02-15 07:57:18 +01:00
parent 7f1f7f0e3a
commit 8f583f2cd7
2 changed files with 56 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST mkdocstrings-0.28.0.tar.gz 3392797 BLAKE2B 9484110f80fa85602f64acd04941db1cebf2ff39d4385559f340d3837347fb51f596b7444e1d5efa26018cf8cfba200892b938c298d76ac169beb67c520b66a4 SHA512 a1dece5b99b4f82faa8b1c02a764252df7102c4e72489cff009388cb90833339c9170517373df7e449df311a5ab7dc4d19821e15a99f295065222db0809379ce
DIST mkdocstrings-0.28.1.tar.gz 4551690 BLAKE2B ae30723c0f7a55e4d4950e1b07b95bbfc7c1ad0a6d9a93c1c0537b8f536fff7a928c8ae1c858c49e434050d2f9357aeb333e10a78e1f51e06dca371aa7066e9c SHA512 11b8190d744ec7926057f100010d926b60a013e6919aba1c89e9eacb33ee31734b1f9cf1b676631b1dc490a66cc063ff7a6cb1810d2ce0cadb2e9e02ccf16d5a

View File

@@ -0,0 +1,55 @@
# 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="Automatic documentation from sources, for MkDocs"
HOMEPAGE="
https://mkdocstrings.github.io/
https://github.com/mkdocstrings/mkdocstrings/
https://pypi.org/project/mkdocstrings/
"
LICENSE="ISC"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~riscv"
RDEPEND="
>=dev-python/jinja2-2.11.1[${PYTHON_USEDEP}]
>=dev-python/markdown-3.6[${PYTHON_USEDEP}]
>=dev-python/markupsafe-1.1[${PYTHON_USEDEP}]
>=dev-python/mkdocs-1.5[${PYTHON_USEDEP}]
>=dev-python/mkdocs-autorefs-1.3[${PYTHON_USEDEP}]
>=dev-python/mkdocs-get-deps-0.2[${PYTHON_USEDEP}]
>=dev-python/pymdown-extensions-6.3[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
dev-python/markdown-exec[${PYTHON_USEDEP}]
dev-python/mkdocs-material[${PYTHON_USEDEP}]
>=dev-python/mkdocstrings-python-1.14.1[${PYTHON_USEDEP}]
dev-python/sphinx[${PYTHON_USEDEP}]
)
"
# mkdocstrings documentation generation requires several currently
# unpackaged mkdocs extensions and plug-ins, and this test
# makes use of mkdocs configuration
EPYTEST_DESELECT=(
tests/test_plugin.py::test_disabling_plugin
# WTF, it tries to unlink installed files from installed package?!
tests/test_handlers.py::test_extended_templates
# Needs unpackaged mkdocs-callouts, mkdocs-literate-nav, and possibly more
tests/test_inventory.py::test_sphinx_load_mkdocstrings_inventory_file
# Internet
tests/test_inventory.py::test_load_inventory
)
distutils_enable_tests pytest
export PDM_BUILD_SCM_VERSION=${PV}