summaryrefslogtreecommitdiff
path: root/dev-python/mkdocstrings-python
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2025-02-19 00:15:15 +0000
committerV3n3RiX <venerix@koprulu.sector>2025-02-19 00:15:15 +0000
commit2e512e4e32285f8c4eb19586d014cb9d31454ec9 (patch)
treee5884cadbd260c6936495a63b92f4503d54e5428 /dev-python/mkdocstrings-python
parent5264c18a325553759d67fb4e059db03cf3fc5c81 (diff)
gentoo auto-resync : 19:02:2025 - 00:15:15
Diffstat (limited to 'dev-python/mkdocstrings-python')
-rw-r--r--dev-python/mkdocstrings-python/Manifest4
-rw-r--r--dev-python/mkdocstrings-python/mkdocstrings-python-1.15.1.ebuild51
-rw-r--r--dev-python/mkdocstrings-python/mkdocstrings-python-1.16.0.ebuild51
3 files changed, 106 insertions, 0 deletions
diff --git a/dev-python/mkdocstrings-python/Manifest b/dev-python/mkdocstrings-python/Manifest
index d7aa77c71620..091f7bfca82b 100644
--- a/dev-python/mkdocstrings-python/Manifest
+++ b/dev-python/mkdocstrings-python/Manifest
@@ -1,7 +1,11 @@
DIST mkdocstrings_python-1.14.6.tar.gz 422060 BLAKE2B d5bfae63338b282ec88c70abce944ab6a866ac0fbf444de741f2dd84be6b6c5f37c22cca6fcf187dba773378f6fd518150c0e56a1dfcf0b6852706c7a9729323 SHA512 cfd8612827c7fd1329d7692c666f1e9925e71e2be0ab221b2c5f5f92bc7e4e3f1e2c0dc244a9162df36b8bdd9f8e8d0ddd0bb70fa53bf0c3f294e72a18faec26
DIST mkdocstrings_python-1.14.7.tar.gz 422162 BLAKE2B 7e1468baf7e53a71da406a62c3903dc937c3036321ec27448219ce6f338bf5a164c273694da229282d1c32655b3ac35b679f7c9bc3d168f97859f1bbeffa986c SHA512 e5e8db2c7c155a005e34732aa42574b5c62b229077193e6d02106c81d672398f8e3cd1cdb80532f545bec23db0390e8c920a1b2dcd2dec404deea35853d54829
DIST mkdocstrings_python-1.15.0.tar.gz 422613 BLAKE2B f1b73e627f9bc4b49635d8681046b6b2ec43fd8b3213ec42f9d88a90a4c49cfe414bb44352dfe2f8fc7b77a0189dfe3f0b6120730d31d42c5d5d1a3813fff61d SHA512 0b007404d6d9e2d81946908e3e91451c1fa51e73ce5eb056ffb8d61e9163cbf9fb23bc16e45f409d9a16053ebc76a9403f46feb8ea5f068740bd7fa239bc8607
+DIST mkdocstrings_python-1.15.1.tar.gz 422809 BLAKE2B cfb2ec447e949a4fa48d712107ca36f9af1cc53797f5486cd9bf8cac786d14057b8b0e0782cefb9e517d04cbddb656c73d46346888d7bb16cd8079699f47cd3c SHA512 801832c742f2a10475f0224748df88f644bb7b0b3bcf5486528485bac29d6a6e2a4ad75740bf30b986a25d58431b09cda64522fb14549100d1be0556f06a5ca5
+DIST mkdocstrings_python-1.16.0.tar.gz 423102 BLAKE2B b6a0ffb4e96d3b5e1a4405726a7c29b85557cbb981d5321c5f507451b36a711eea80de1b1a1b7a4a7ad8c20b0a5a2ae36ad77851fcc09e09086d238075c2a912 SHA512 a89d2aef580ad50cd1194f7ff9b05fa61d539273a815023c14378761f81b3a4aac1dd5b02bb47ea2050e5442dd350b6098fe237905b1f8d8ea9e27aa3fcd821a
EBUILD mkdocstrings-python-1.14.6.ebuild 1325 BLAKE2B 3a545e51b464e92b115c3ae1118a02c7721fae0131a5e02b82ddb837c74208632d95b2a15ca2c064a630e69e7f2f2a965eb16d940b1af19919770389275341a2 SHA512 81e65d21f60456a1cc4a522ecf7e94d4099a0f6458f81b445f8e51b4777a443cf8a1133274a058613a3208fddc2dc3e92dc716d40e0730aec8e9409353a84b87
EBUILD mkdocstrings-python-1.14.7.ebuild 1325 BLAKE2B 3a545e51b464e92b115c3ae1118a02c7721fae0131a5e02b82ddb837c74208632d95b2a15ca2c064a630e69e7f2f2a965eb16d940b1af19919770389275341a2 SHA512 81e65d21f60456a1cc4a522ecf7e94d4099a0f6458f81b445f8e51b4777a443cf8a1133274a058613a3208fddc2dc3e92dc716d40e0730aec8e9409353a84b87
EBUILD mkdocstrings-python-1.15.0.ebuild 1325 BLAKE2B 3a545e51b464e92b115c3ae1118a02c7721fae0131a5e02b82ddb837c74208632d95b2a15ca2c064a630e69e7f2f2a965eb16d940b1af19919770389275341a2 SHA512 81e65d21f60456a1cc4a522ecf7e94d4099a0f6458f81b445f8e51b4777a443cf8a1133274a058613a3208fddc2dc3e92dc716d40e0730aec8e9409353a84b87
+EBUILD mkdocstrings-python-1.15.1.ebuild 1325 BLAKE2B 3a545e51b464e92b115c3ae1118a02c7721fae0131a5e02b82ddb837c74208632d95b2a15ca2c064a630e69e7f2f2a965eb16d940b1af19919770389275341a2 SHA512 81e65d21f60456a1cc4a522ecf7e94d4099a0f6458f81b445f8e51b4777a443cf8a1133274a058613a3208fddc2dc3e92dc716d40e0730aec8e9409353a84b87
+EBUILD mkdocstrings-python-1.16.0.ebuild 1325 BLAKE2B 3a545e51b464e92b115c3ae1118a02c7721fae0131a5e02b82ddb837c74208632d95b2a15ca2c064a630e69e7f2f2a965eb16d940b1af19919770389275341a2 SHA512 81e65d21f60456a1cc4a522ecf7e94d4099a0f6458f81b445f8e51b4777a443cf8a1133274a058613a3208fddc2dc3e92dc716d40e0730aec8e9409353a84b87
MISC metadata.xml 406 BLAKE2B c453b318ec32906f8b4917e9fcf9e82e632b780435d6617195590757dc8e08505dd29a05e8009808a040460ae322048801077aca8b41c8e07d093c4177befd39 SHA512 c56a8b222d22b5e4e8f396a96abddba840c4288b01958e261e3eb554830e88f424d840b839b7f6180f2f64c74cde9e2e3e8c70cdbbb8d4cc84ac161007064059
diff --git a/dev-python/mkdocstrings-python/mkdocstrings-python-1.15.1.ebuild b/dev-python/mkdocstrings-python/mkdocstrings-python-1.15.1.ebuild
new file mode 100644
index 000000000000..ac1edc64eb1e
--- /dev/null
+++ b/dev-python/mkdocstrings-python/mkdocstrings-python-1.15.1.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=( 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-0.49[${PYTHON_USEDEP}]
+ >=dev-python/mkdocstrings-0.28[${PYTHON_USEDEP}]
+ >=dev-python/mkdocs-autorefs-1.2[${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
+}
diff --git a/dev-python/mkdocstrings-python/mkdocstrings-python-1.16.0.ebuild b/dev-python/mkdocstrings-python/mkdocstrings-python-1.16.0.ebuild
new file mode 100644
index 000000000000..ac1edc64eb1e
--- /dev/null
+++ b/dev-python/mkdocstrings-python/mkdocstrings-python-1.16.0.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=( 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-0.49[${PYTHON_USEDEP}]
+ >=dev-python/mkdocstrings-0.28[${PYTHON_USEDEP}]
+ >=dev-python/mkdocs-autorefs-1.2[${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
+}