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/Manifest4
-rw-r--r--dev-python/mkdocstrings-python/mkdocstrings-python-1.14.3.ebuild (renamed from dev-python/mkdocstrings-python/mkdocstrings-python-1.12.2.ebuild)20
2 files changed, 20 insertions, 4 deletions
diff --git a/dev-python/mkdocstrings-python/Manifest b/dev-python/mkdocstrings-python/Manifest
index f52c0ca143c7..2a78df3765fc 100644
--- a/dev-python/mkdocstrings-python/Manifest
+++ b/dev-python/mkdocstrings-python/Manifest
@@ -1,5 +1,5 @@
-DIST mkdocstrings_python-1.12.2.tar.gz 168207 BLAKE2B 4173a83b118f02f6d1c930aab1ef7d59f6108e73db6e5ac8f541f4d45203b0ffac7896ee4c97cca677f910dad5cf9de65bf755263fd82aadff83f75ebb05396e SHA512 19d7bcf21ab9e92be69dbb410d544c46f14bab6b2f02ad26c31a77c2aa2929c5e0044406c1a90a2bab2f27effc4bec84b4871ce9c8c3c4503773b11db1c856af
DIST mkdocstrings_python-1.13.0.tar.gz 185697 BLAKE2B e3ab2da319147a9c28bb8df7074ab6fa61616fd950bc522b9711e23ab3f0d5f6c50ee82ce193e8b4051fdfe7ce1ae110617acc89a045acf73b49c4afe0fd05a3 SHA512 0414a09000a09515e5da1d8ea5a9cd59fa405de0de15a5c225ab57cc2280f47e7bf11196d6f41bb9626c5dd632cf37000f59cc4e156c7c061c8b46fca1563d05
-EBUILD mkdocstrings-python-1.12.2.ebuild 762 BLAKE2B 0d08ca877f0508c84dae589069df82415f82818853fbfe571d999ee6b7a1a35c133c21832878df70ccbfd20b9b6a09673ba6df427e2611cbc8c544328acc460b SHA512 7dae0d40cb7417ac55d64ff3298df39d71888443e7006ef11cc281fc4831aea0763b867c3a4ba2d3e5862d4c1030ad8a91ceb24b5a1adc635af4f6af5604c7fd
+DIST mkdocstrings_python-1.14.3.tar.gz 421258 BLAKE2B 2b4ae390fcc50f3fbc1ad14686af5b19b800387b6f7668a362b09bb53e43af59d1bfd44d4dd9fef93899ce6313abeec30d775104fdbbad4da018592bbe30d20b SHA512 69444e7a69f604e78a8df264ac2205ac29285871a342c2ff620f6e411112267fcd226c445acd2787d516febac442aa64349742652363651fa82430ec279fa129
EBUILD mkdocstrings-python-1.13.0.ebuild 1238 BLAKE2B 4a3acaf1ad2dd4eafbf669512439a0acb6f736c5490451808a942492868f8646b9f1200237aba93c0024b7f2b9fb5909cc8e6619d808170d0a4def37b868abe5 SHA512 32a22b384b8c3ae22a38f39871a1d093a4c6b0bb8664d8f75a65d3e32592041fae3215779ec95b988f0257fdad7c6297d34dd028d6d7580a3f248b27af03f1f9
+EBUILD mkdocstrings-python-1.14.3.ebuild 1325 BLAKE2B 3a545e51b464e92b115c3ae1118a02c7721fae0131a5e02b82ddb837c74208632d95b2a15ca2c064a630e69e7f2f2a965eb16d940b1af19919770389275341a2 SHA512 81e65d21f60456a1cc4a522ecf7e94d4099a0f6458f81b445f8e51b4777a443cf8a1133274a058613a3208fddc2dc3e92dc716d40e0730aec8e9409353a84b87
MISC metadata.xml 406 BLAKE2B c453b318ec32906f8b4917e9fcf9e82e632b780435d6617195590757dc8e08505dd29a05e8009808a040460ae322048801077aca8b41c8e07d093c4177befd39 SHA512 c56a8b222d22b5e4e8f396a96abddba840c4288b01958e261e3eb554830e88f424d840b839b7f6180f2f64c74cde9e2e3e8c70cdbbb8d4cc84ac161007064059
diff --git a/dev-python/mkdocstrings-python/mkdocstrings-python-1.12.2.ebuild b/dev-python/mkdocstrings-python/mkdocstrings-python-1.14.3.ebuild
index 840fb3d9e876..ac1edc64eb1e 100644
--- a/dev-python/mkdocstrings-python/mkdocstrings-python-1.12.2.ebuild
+++ b/dev-python/mkdocstrings-python/mkdocstrings-python-1.14.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -21,11 +21,16 @@ KEYWORDS="~amd64 ~arm64 ~riscv"
RDEPEND="
>=dev-python/griffe-0.49[${PYTHON_USEDEP}]
- >=dev-python/mkdocstrings-0.26.0[${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}]
)
"
@@ -33,3 +38,14 @@ BDEPEND="
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
+}