commit:     34685dc4a38e78d7715ab1feeb3085f4e1252df8
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 28 02:44:16 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Nov 28 02:44:16 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34685dc4

dev-python/mkdocstrings: Bump to 1.0.0

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/mkdocstrings/Manifest                  |  1 +
 dev-python/mkdocstrings/mkdocstrings-1.0.0.ebuild | 55 +++++++++++++++++++++++
 2 files changed, 56 insertions(+)

diff --git a/dev-python/mkdocstrings/Manifest b/dev-python/mkdocstrings/Manifest
index 9e7e73cfde34..6a53b7707d81 100644
--- a/dev-python/mkdocstrings/Manifest
+++ b/dev-python/mkdocstrings/Manifest
@@ -1 +1,2 @@
 DIST mkdocstrings-0.30.1.tar.gz 106350 BLAKE2B 
812b9c4a7eade5e39111beee839ab0be03719254cc8f81c106dfde6c1e8c3407d80e5349f8255ceeaad8f1ec05d8c30b02aa7e5d40b712e640f9066ab8b11913
 SHA512 
185be8940ff7e896d7eaf95c821f37f836749e11472ec339cd37d33abf2a3350040cdd21a912ab078a9b20411300358ad650bf39b59b37bee6ad9b97f0969c88
+DIST mkdocstrings-1.0.0.tar.gz 101086 BLAKE2B 
06dac32d5fe37c25195224cb9e45c6328d3c99e74454df9f21baa5e7a319863c6ec26c8355bf429934e9658e8cd77b983d2cf46387a1a22d594992d6987db230
 SHA512 
29e7fd55bc1f5269485899756a54cc7ae35460c477fe877f3ddb6c1fa3b8bef8dac33460af19f794f0890663a521a69414551720414d5c452804502ea521e768

diff --git a/dev-python/mkdocstrings/mkdocstrings-1.0.0.ebuild 
b/dev-python/mkdocstrings/mkdocstrings-1.0.0.ebuild
new file mode 100644
index 000000000000..811da62c8bde
--- /dev/null
+++ b/dev-python/mkdocstrings/mkdocstrings-1.0.0.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=( pypy3_11 python3_{11..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-3.1[${PYTHON_USEDEP}]
+       >=dev-python/markdown-3.6[${PYTHON_USEDEP}]
+       >=dev-python/markupsafe-1.1[${PYTHON_USEDEP}]
+       >=dev-python/mkdocs-1.6[${PYTHON_USEDEP}]
+       >=dev-python/mkdocs-autorefs-1.4[${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.16.2[${PYTHON_USEDEP}]
+               dev-python/sphinx[${PYTHON_USEDEP}]
+       )
+"
+
+EPYTEST_PLUGINS=()
+distutils_enable_tests pytest
+
+# 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
+)
+
+export PDM_BUILD_SCM_VERSION=${PV}

Reply via email to