From 8f583f2cd7a697c81c7e2b3b1dd2d3e63892ec3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sat, 15 Feb 2025 07:57:18 +0100 Subject: [PATCH] dev-python/mkdocstrings: Bump to 0.28.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/mkdocstrings/Manifest | 1 + .../mkdocstrings/mkdocstrings-0.28.1.ebuild | 55 +++++++++++++++++++ 2 files changed, 56 insertions(+) create mode 100644 dev-python/mkdocstrings/mkdocstrings-0.28.1.ebuild diff --git a/dev-python/mkdocstrings/Manifest b/dev-python/mkdocstrings/Manifest index 634f23cd4e329..f757130a6ee05 100644 --- a/dev-python/mkdocstrings/Manifest +++ b/dev-python/mkdocstrings/Manifest @@ -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 diff --git a/dev-python/mkdocstrings/mkdocstrings-0.28.1.ebuild b/dev-python/mkdocstrings/mkdocstrings-0.28.1.ebuild new file mode 100644 index 0000000000000..d6ba99166eb7a --- /dev/null +++ b/dev-python/mkdocstrings/mkdocstrings-0.28.1.ebuild @@ -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}