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 C1E201584F2 for ; Wed, 19 Mar 2025 07:32:25 +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 AE99F3432F5 for ; Wed, 19 Mar 2025 07:32:25 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id B7F951103E2; Wed, 19 Mar 2025 07:32:11 +0000 (UTC) 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 bobolink.gentoo.org (Postfix) with ESMTPS id B19391103E1 for ; Wed, 19 Mar 2025 07:32:11 +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 676793432CF for ; Wed, 19 Mar 2025 07:32:11 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A26BA28B3 for ; Wed, 19 Mar 2025 07:32:08 +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: <1742369518.9215632e933d94e0e2acfad428cb1d35d7b35805.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/griffe/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/griffe/Manifest dev-python/griffe/griffe-1.6.1.ebuild X-VCS-Directories: dev-python/griffe/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 9215632e933d94e0e2acfad428cb1d35d7b35805 X-VCS-Branch: master Date: Wed, 19 Mar 2025 07:32:08 +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: f4bc2a40-dde3-4a51-a4b7-c361287554b0 X-Archives-Hash: 9068b20dea0f18b34113315bc69fd1bd commit: 9215632e933d94e0e2acfad428cb1d35d7b35805 Author: Michał Górny gentoo org> AuthorDate: Wed Mar 19 06:23:24 2025 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed Mar 19 07:31:58 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9215632e dev-python/griffe: Bump to 1.6.1 Signed-off-by: Michał Górny gentoo.org> dev-python/griffe/Manifest | 1 + dev-python/griffe/griffe-1.6.1.ebuild | 70 +++++++++++++++++++++++++++++++++++ 2 files changed, 71 insertions(+) diff --git a/dev-python/griffe/Manifest b/dev-python/griffe/Manifest index f5276221b179..ec77cedf25c9 100644 --- a/dev-python/griffe/Manifest +++ b/dev-python/griffe/Manifest @@ -1 +1,2 @@ DIST griffe-1.6.0.gh.tar.gz 393773 BLAKE2B 62f1ed8109353013e2ef10bf32359dc66c467641b62ff0ecceb49718cafc773c5aab2cc151797e023dbff96f476e8b67d3bd7f5b664e3f5d6ea96f20e1744b60 SHA512 8ce0565ba8c43afb262d7e65b2eab369b10a57d4855a226a83ffea60bd83d7f624d5f15876c51dd20861ba5d652c012245bd55dd87dd0beeda75305f26f330bf +DIST griffe-1.6.1.gh.tar.gz 394343 BLAKE2B 0ec76016c2701e08e4f0f8061e31aad830fb209f37c2a175d17bd28ecb533f60e59196ebd5c3c60869ac7fdf6579ee10cc66a7adeddd51da10a95e5aceded856 SHA512 eb62f6e77937dc8dd740cd0d77b7f0157a5be310d5813c9f3e26787bb8d1776a5318e0e8d917693b9bb3a42c0ea8715367752328b1c9306e594b1f6ba535d8d0 diff --git a/dev-python/griffe/griffe-1.6.1.ebuild b/dev-python/griffe/griffe-1.6.1.ebuild new file mode 100644 index 000000000000..115d0beb002b --- /dev/null +++ b/dev-python/griffe/griffe-1.6.1.ebuild @@ -0,0 +1,70 @@ +# 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 + +DESCRIPTION="Signature generator for Python programs" +HOMEPAGE=" + https://mkdocstrings.github.io/griffe/ + https://github.com/mkdocstrings/griffe/ + https://pypi.org/project/griffe/ +" +# Tests need files absent from the PyPI tarballs +SRC_URI=" + https://github.com/mkdocstrings/griffe/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv" + +RDEPEND=" + >=dev-python/colorama-0.4[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/backports-strenum-1.3[${PYTHON_USEDEP}] + ' 3.10) +" +BDEPEND=" + test? ( + >=dev-python/jsonschema-4.17[${PYTHON_USEDEP}] + >=dev-python/mkdocstrings-0.28.0[${PYTHON_USEDEP}] + >=dev-python/pytest-xdist-2.4[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +export PDM_BUILD_SCM_VERSION=${PV} + +python_test() { + local EPYTEST_DESELECT=( + # fragile to installed packages + # (failed on PySide2 for me) + tests/test_stdlib.py::test_fuzzing_on_stdlib + ) + + case ${EPYTHON} in + pypy3.11) + EPYTEST_DESELECT+=( + # https://github.com/pypy/pypy/issues/5226 + tests/test_inspector.py::test_inspecting_objects_from_private_builtin_stdlib_moduless + ) + ;& + pypy3*) + EPYTEST_DESELECT+=( + # tries importing CPython-specific modules + # https://github.com/mkdocstrings/griffe/issues/362 + tests/test_loader.py::test_load_builtin_modules + ) + ;; + esac + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +}