diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-02-04 06:53:00 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-02-04 06:53:00 +0000 |
| commit | edfa25bc92511e83cda46637440f1813add05b25 (patch) | |
| tree | c8a083ff8dd0e649870e8c338b5661afdbcfe0a9 /dev-python/mkdocstrings-python | |
| parent | 3517a84243eae72744de4d2fdeda9f541f332ebb (diff) | |
| download | baldeagleos-repo-edfa25bc92511e83cda46637440f1813add05b25.tar.gz baldeagleos-repo-edfa25bc92511e83cda46637440f1813add05b25.tar.xz baldeagleos-repo-edfa25bc92511e83cda46637440f1813add05b25.zip | |
Adding metadata
Diffstat (limited to 'dev-python/mkdocstrings-python')
| -rw-r--r-- | dev-python/mkdocstrings-python/Manifest | 2 | ||||
| -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, 19 insertions, 3 deletions
diff --git a/dev-python/mkdocstrings-python/Manifest b/dev-python/mkdocstrings-python/Manifest index ec1378ccf7f8..6d2b276224e8 100644 --- a/dev-python/mkdocstrings-python/Manifest +++ b/dev-python/mkdocstrings-python/Manifest @@ -1,2 +1,2 @@ -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 +DIST mkdocstrings_python-1.14.3.tar.gz 421258 BLAKE2B 2b4ae390fcc50f3fbc1ad14686af5b19b800387b6f7668a362b09bb53e43af59d1bfd44d4dd9fef93899ce6313abeec30d775104fdbbad4da018592bbe30d20b SHA512 69444e7a69f604e78a8df264ac2205ac29285871a342c2ff620f6e411112267fcd226c445acd2787d516febac442aa64349742652363651fa82430ec279fa129 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 e0cab3a4c2aa..e898c0c421e0 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 +} |
