From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DD83C1582EF for ; Tue, 25 Feb 2025 07:52:31 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id C306E343280 for ; Tue, 25 Feb 2025 07:52:31 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id A52E7110483; Tue, 25 Feb 2025 07:51:52 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 9A032110481 for ; Tue, 25 Feb 2025 07:51:52 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 52C58343229 for ; Tue, 25 Feb 2025 07:51:52 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 04B622805 for ; Tue, 25 Feb 2025 07:51:49 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1740469903.107d04fa9bbe64112c4d1e6641f7c00ba5010320.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/mkdocstrings-python/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/mkdocstrings-python/Manifest dev-python/mkdocstrings-python/mkdocstrings-python-1.16.2.ebuild X-VCS-Directories: dev-python/mkdocstrings-python/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 107d04fa9bbe64112c4d1e6641f7c00ba5010320 X-VCS-Branch: master Date: Tue, 25 Feb 2025 07:51:49 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 2ded98ec-4343-4fda-ae42-dfee47ef6adf X-Archives-Hash: cbee5c747297987838b23e5e913568ac commit: 107d04fa9bbe64112c4d1e6641f7c00ba5010320 Author: Michał Górny gentoo org> AuthorDate: Tue Feb 25 06:39:25 2025 +0000 Commit: Michał Górny gentoo org> CommitDate: Tue Feb 25 07:51:43 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=107d04fa dev-python/mkdocstrings-python: Bump to 1.16.2 Signed-off-by: Michał Górny gentoo.org> dev-python/mkdocstrings-python/Manifest | 1 + .../mkdocstrings-python-1.16.2.ebuild | 51 ++++++++++++++++++++++ 2 files changed, 52 insertions(+) diff --git a/dev-python/mkdocstrings-python/Manifest b/dev-python/mkdocstrings-python/Manifest index 86ea45df3e22..13fc73859943 100644 --- a/dev-python/mkdocstrings-python/Manifest +++ b/dev-python/mkdocstrings-python/Manifest @@ -1 +1,2 @@ DIST mkdocstrings_python-1.16.1.tar.gz 423399 BLAKE2B b7bbf5ada8de1a70896fbd760a053712f16e55442028195579efb71b3cc9d7f17be10349cff146bf02991a9156fef62b853e4c2a4af2c3e551bfea8a44451dae SHA512 e4594e1051eeea1b9ada4c8919787a36145a5e6d7d2d7951c46c699c82ff7c6899efa8b94be9dc3d9476b6031e5ae6937b6517b00085bde04d837b4b2bbf5552 +DIST mkdocstrings_python-1.16.2.tar.gz 423492 BLAKE2B 2f5c7d8c3f5b6b1256b6f15334bc131cf0281883bf8072400ab195d724eddf2c8367c081abe571e0f4fd889c97181effc1764bd1e701da00fe44593007c12919 SHA512 52c78484139df79a1a9d0924a03c08e6902e91ebb3dc1db129c3bf372d670578206d00335d0a3ef34af0c33cebe592f829023ba645102839da76be07c72be739 diff --git a/dev-python/mkdocstrings-python/mkdocstrings-python-1.16.2.ebuild b/dev-python/mkdocstrings-python/mkdocstrings-python-1.16.2.ebuild new file mode 100644 index 000000000000..7eb5dd1c666e --- /dev/null +++ b/dev-python/mkdocstrings-python/mkdocstrings-python-1.16.2.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 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.2[${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 +}