summaryrefslogtreecommitdiff
path: root/dev-python/mkdocstrings-python
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/mkdocstrings-python')
-rw-r--r--dev-python/mkdocstrings-python/Manifest2
-rw-r--r--dev-python/mkdocstrings-python/mkdocstrings-python-1.16.8.ebuild51
2 files changed, 53 insertions, 0 deletions
diff --git a/dev-python/mkdocstrings-python/Manifest b/dev-python/mkdocstrings-python/Manifest
index 758e17d6b6e9..c1a1a0f06751 100644
--- a/dev-python/mkdocstrings-python/Manifest
+++ b/dev-python/mkdocstrings-python/Manifest
@@ -1,3 +1,5 @@
DIST mkdocstrings_python-1.16.7.tar.gz 1475398 BLAKE2B cf51f5f97c2b132869d44bb74e22fbf2b4942156a8ed9469eaeeb4beb747af60cfa39dce5a5054737b16f2d65679f17771a29a65eb8b9d23530cea6a03275876 SHA512 d0a4332487c68ed14402397baf03499995dac4d8b74109105409a76034eb88467d94670e615a5846841b074c9ad7acfb1b9240159fc05ca04b9118b00313c506
+DIST mkdocstrings_python-1.16.8.tar.gz 205119 BLAKE2B a479d957d4e3147ed8ff47fd52745ebf721a84089842c07efc010d785cd791bd55fb98327ea8ce46b8be084a6cd8cad19b2c1d59efc9fd651330513aa72cb41c SHA512 c4a6f7b503812d3567b0c98f2369cb11e183d1195cdc2433d91ae979d2216fbaf3f2887c7577d02f73e5eaa8bfd6eff664c10e2c5a47d0e6d1c5676b0ce057f2
EBUILD mkdocstrings-python-1.16.7.ebuild 1342 BLAKE2B f9fdfae774de9d4f93c28c48dd05021d02f3e489b5cc3c5c24d6b24d2313ee2e9590601b59ede731698ff4d860a34fb2117e33c6ea74c862702d13424d3f7f62 SHA512 86a4244a98b3c30db36540f37a26d5a2b4a96dbd3b135d4e993c55794212ae81a1c7631cca0d050665c0d76c38eacb5b7f96a1e74d739eec0a0b9c66b9f47ac8
+EBUILD mkdocstrings-python-1.16.8.ebuild 1343 BLAKE2B cd1f2244db956ddddab8dee4a94928ac60aaa6e1066acd58deb12bafcc58272cec4d0652b4ecb0e4556cef63163b3d193b99fb94d6617cd8f6b016fe78214956 SHA512 26a7b8d33f32e2993a433add42e5766c7bb2e66bd1ac59e7cad640664fd22646ab16943d3fce2af4757ff50ee73311192b7edc60f2b7deab71f36f42b3275f45
MISC metadata.xml 406 BLAKE2B c453b318ec32906f8b4917e9fcf9e82e632b780435d6617195590757dc8e08505dd29a05e8009808a040460ae322048801077aca8b41c8e07d093c4177befd39 SHA512 c56a8b222d22b5e4e8f396a96abddba840c4288b01958e261e3eb554830e88f424d840b839b7f6180f2f64c74cde9e2e3e8c70cdbbb8d4cc84ac161007064059
diff --git a/dev-python/mkdocstrings-python/mkdocstrings-python-1.16.8.ebuild b/dev-python/mkdocstrings-python/mkdocstrings-python-1.16.8.ebuild
new file mode 100644
index 000000000000..5e65ff81b1c2
--- /dev/null
+++ b/dev-python/mkdocstrings-python/mkdocstrings-python-1.16.8.ebuild
@@ -0,0 +1,51 @@
+# 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 pypy3_11 python3_{10..13} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Python handler for dev-python/mkdocstrings"
+HOMEPAGE="
+ https://mkdocstrings.github.io/python/
+ https://github.com/mkdocstrings/python/
+ https://pypi.org/project/mkdocstrings-python/
+"
+
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~riscv"
+
+RDEPEND="
+ >=dev-python/griffe-1.6.2[${PYTHON_USEDEP}]
+ >=dev-python/mkdocstrings-0.28.3[${PYTHON_USEDEP}]
+ >=dev-python/mkdocs-autorefs-1.4[${PYTHON_USEDEP}]
+ $(python_gen_cond_dep '
+ >=dev-python/typing-extensions-4.0[${PYTHON_USEDEP}]
+ ' 3.10)
+"
+BDEPEND="
+ test? (
+ >=dev-python/beautifulsoup4-4.12.3[${PYTHON_USEDEP}]
+ >=dev-python/inline-snapshot-0.18[${PYTHON_USEDEP}]
+ dev-python/mkdocs-material[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+
+export PDM_BUILD_SCM_VERSION=${PV}
+
+python_test() {
+ local EPYTEST_DESELECT=(
+ # "None" meaning particular formatter not installed
+ "tests/test_rendering.py::test_format_code[None-print('Hello')]"
+ "tests/test_rendering.py::test_format_code[None-aaaaa(bbbbb, ccccc=1) + ddddd.eeeee[ffff] or {ggggg: hhhhh, iiiii: jjjjj}]"
+ )
+
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ epytest -p inline_snapshot
+}