diff options
author | Michał Górny <mgorny@gentoo.org> | 2024-04-03 07:23:18 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2024-04-03 07:31:33 +0200 |
commit | 7235232649e59e2bd9f9b898bac5587338a2ead0 (patch) | |
tree | 8f37f30df9dad80f802c4b9d627a63be9b6692f3 /dev-python/mkdocstrings | |
parent | dev-python/sqlglot: Bump to 23.6.3 (diff) | |
download | gentoo-7235232649e59e2bd9f9b898bac5587338a2ead0.tar.gz gentoo-7235232649e59e2bd9f9b898bac5587338a2ead0.tar.bz2 gentoo-7235232649e59e2bd9f9b898bac5587338a2ead0.zip |
dev-python/mkdocstrings: Bump to 0.24.2
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/mkdocstrings')
-rw-r--r-- | dev-python/mkdocstrings/Manifest | 1 | ||||
-rw-r--r-- | dev-python/mkdocstrings/mkdocstrings-0.24.2.ebuild | 61 |
2 files changed, 62 insertions, 0 deletions
diff --git a/dev-python/mkdocstrings/Manifest b/dev-python/mkdocstrings/Manifest index bf867b11c3b3..443d9d2173f8 100644 --- a/dev-python/mkdocstrings/Manifest +++ b/dev-python/mkdocstrings/Manifest @@ -1,2 +1,3 @@ DIST mkdocstrings-0.24.0.gh.tar.gz 85474 BLAKE2B f43c0842bd5c8f52700e572964948f362112c073992c8aa7d6df8ecc0a266b22122988c944e36d5edf6d227a2cf9e2a9a95222146139d8577001833c729ad7ca SHA512 0cc03cb68679958d77a5f1d10e96411271de2db2c89b1c27d151d7d6673a94c967024c377cb22a612a8079a0ea736b921384518869e1475797ed94c8c92d4dbb DIST mkdocstrings-0.24.1.gh.tar.gz 86421 BLAKE2B 81d1f4453808140044ab9e27016b0e4119dd50ec8ba4f29d2d53d87cce151e4999ec2c18e2eff90d270a4bfd96a24ba506bbf382cf4c9bc5192c03bc3ddf399c SHA512 7328abe16161ba1358436d3d10105723fcaad9baa3aa5fb923dc46814623bdd15f3f51bba43c2b8029ff73467474d37b1aec94d873c5254d3ef322746df6578b +DIST mkdocstrings-0.24.2.gh.tar.gz 88514 BLAKE2B fa9ed6a40f605016f852a903d47743f09ed586611ff84e81324b922fabb914fdd4e13b01aed3003972f41924fb35e885b573808331ea838663114ae21b6e7c02 SHA512 5ab0a347989e981cc9bdb0c8e9c2f906014314a23b0f663d068dc2446ada1d8e93953b0dc5e3c76e10852c9514f7062a9f4974ad44a46dbf7a439b18fc9415dd diff --git a/dev-python/mkdocstrings/mkdocstrings-0.24.2.ebuild b/dev-python/mkdocstrings/mkdocstrings-0.24.2.ebuild new file mode 100644 index 000000000000..80d4bac4ae7b --- /dev/null +++ b/dev-python/mkdocstrings/mkdocstrings-0.24.2.ebuild @@ -0,0 +1,61 @@ +# 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..12} ) + +inherit distutils-r1 + +DESCRIPTION="Automatic documentation from sources, for MkDocs" +HOMEPAGE=" + https://mkdocstrings.github.io/ + https://github.com/mkdocstrings/mkdocstrings/ + https://pypi.org/project/mkdocstrings/ +" +# Tests require files absent from PyPI tarballs +SRC_URI=" + https://github.com/mkdocstrings/mkdocstrings/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv" + +RDEPEND=" + >=dev-python/click-7.0[${PYTHON_USEDEP}] + >=dev-python/jinja-2.11.1[${PYTHON_USEDEP}] + >=dev-python/markdown-3.3[${PYTHON_USEDEP}] + >=dev-python/markupsafe-1.1[${PYTHON_USEDEP}] + >=dev-python/mkdocs-1.5[${PYTHON_USEDEP}] + >=dev-python/mkdocs-autorefs-0.3.1[${PYTHON_USEDEP}] + >=dev-python/platformdirs-2.2.0[${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} |