dev-python/mkdocstrings: new package, add 0.27.0

Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
Andreas Billmeier 2025-01-01 13:53:32 +01:00
parent 1da0a37a2b
commit 1dcb630f73
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
3 changed files with 72 additions and 0 deletions

View File

@ -0,0 +1,3 @@
DIST mkdocstrings-0.27.0.tar.gz 94830 BLAKE2B 639ae14bcd894b9a0a795de9cbe5200649b833b5ab8742be3ad794290b80d88c76a370e68d0b61ae62ef46fde068412be97c833a2c6e895371e47d6845f41556 SHA512 0f0287ddf25270f990d075a11925d6e78b346950833aac0b25eb049c2d4749e5e1092a4969782d7374da454f8ad7df314221432f84cffc6c24477d73b49ffdb5
EBUILD mkdocstrings-0.27.0.ebuild 1676 BLAKE2B dce05b83eafd22709969faeb32c5b37ea7a5839f74e4b1c9ec41f6f7f9074e32e92de52624e538ffa294cab0d5781ea6f26eb59261fb046c6fcd14ab65d405cd SHA512 19bcf4c1d99666640e30a993e17e0a253671e81272050827d2483c38599e2d21b5cd72d82ba03886c174c7c9294f33235c216fee7d0ad7c3eec78675e4433383
MISC metadata.xml 405 BLAKE2B cd4fbf980873ef6e1ed8da7d608da6a97a9f46324521542a4d5943c4dd6e6d926ee7316cde0725c890fc7b4bbe3e6f1c694c00574cfcac94f6306c645fab1521 SHA512 37e403dff85ba044fd0a00e34c0d139f348933500466417577ff202a0ca425c9532df1fad8a15a97f524d720ae1297d653663b28f07fe7d01a39adc675ff9b8a

View File

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>python@gentoo.org</email>
<name>Python</name>
</maintainer>
<stabilize-allarches/>
<upstream>
<remote-id type="pypi">mkdocstrings</remote-id>
<remote-id type="github">mkdocstrings/mkdocstrings</remote-id>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,56 @@
# Copyright 1999-2024 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/click-7.0[${PYTHON_USEDEP}]
>=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.2[${PYTHON_USEDEP}]
>=dev-python/platformdirs-2.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[${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}