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 BE2A11584AD for ; Sat, 26 Apr 2025 07:03:43 +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 AAB3C3430DD for ; Sat, 26 Apr 2025 07:03:43 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 8CCE31104C5; Sat, 26 Apr 2025 07:03:23 +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 7ECB71104C2 for ; Sat, 26 Apr 2025 07:03:23 +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 2EE1B34308A for ; Sat, 26 Apr 2025 07:03:23 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 869CC266A for ; Sat, 26 Apr 2025 07:03:20 +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: <1745650950.cd981fa6ebfe1c276ba52f10b7f56a6e4052aeec.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/sphinx-autodoc-typehints/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/sphinx-autodoc-typehints/Manifest dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-3.2.0.ebuild X-VCS-Directories: dev-python/sphinx-autodoc-typehints/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: cd981fa6ebfe1c276ba52f10b7f56a6e4052aeec X-VCS-Branch: master Date: Sat, 26 Apr 2025 07:03:20 +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: a5831918-8139-4828-8e17-b166eacdae3f X-Archives-Hash: 8d7c206a312d9548ad3f5213e8c9752b commit: cd981fa6ebfe1c276ba52f10b7f56a6e4052aeec Author: Michał Górny gentoo org> AuthorDate: Sat Apr 26 05:12:48 2025 +0000 Commit: Michał Górny gentoo org> CommitDate: Sat Apr 26 07:02:30 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd981fa6 dev-python/sphinx-autodoc-typehints: Bump to 3.2.0 Signed-off-by: Michał Górny gentoo.org> dev-python/sphinx-autodoc-typehints/Manifest | 1 + .../sphinx-autodoc-typehints-3.2.0.ebuild | 44 ++++++++++++++++++++++ 2 files changed, 45 insertions(+) diff --git a/dev-python/sphinx-autodoc-typehints/Manifest b/dev-python/sphinx-autodoc-typehints/Manifest index 7b2094c16909..14a3ff3f5985 100644 --- a/dev-python/sphinx-autodoc-typehints/Manifest +++ b/dev-python/sphinx-autodoc-typehints/Manifest @@ -1,2 +1,3 @@ DIST sphinx_autodoc_typehints-3.0.1.tar.gz 36282 BLAKE2B 44fbb2de34cd788e400d0556599cac9501d65cbccc1338be3b927d9c35e2141042885376da6df488cfae05af0667210b6d74c240710af5c848eff0a03c83eeca SHA512 f15a14c010328d46ab50c8f28c84d332502b577b95d739439a8b583e95303105fa403058443f4120c043a3d3635d4cff8274adc9472e1876aa9f476e78b4abcd DIST sphinx_autodoc_typehints-3.1.0.tar.gz 36528 BLAKE2B 9a36f154658508b571df01bd4e4083c65ede287f4dc202040176acc8793e3f87a9bf07871f89dcc118bf47f5d5984eb9bb26fa3827e524d8a2674927da3dc469 SHA512 0837eba88913d2ca1d843041c06c950d7e680009617b8a2e464424fc3e41787fb953da7b140d92068f1d4a0a355feb853a96bec2fb139a3175fa49343ccff621 +DIST sphinx_autodoc_typehints-3.2.0.tar.gz 36724 BLAKE2B fccbb551c0aa9bb7b242185fa2f8255e64736c97f9ed476dab95cb25f0e95dc385f384ca4bd4f69ac42a48c2022053c86091c01937d48f023cebac3f0faff86d SHA512 110b4ec94e748e13916eda39b9f66af9823467b688df2f522b7dd5004a9534977cb72b8f4b2b0ed7f651df69e18a12e57c0f13e1c55d62baf7c1f2241880b133 diff --git a/dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-3.2.0.ebuild b/dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-3.2.0.ebuild new file mode 100644 index 000000000000..6f4a20fe13b1 --- /dev/null +++ b/dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-3.2.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{11..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Type hints support for the Sphinx autodoc extension" +HOMEPAGE=" + https://github.com/tox-dev/sphinx-autodoc-typehints/ + https://pypi.org/project/sphinx-autodoc-typehints/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/sphinx-8.2.0[${PYTHON_USEDEP}] +" +# skipping optional test dep on dev-python/nptyping as that package +# is horribly broken and on its way out +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + >=dev-python/sphobjinv-2.3.1[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-4.5[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # this package is addicted to Internet + tests/test_sphinx_autodoc_typehints.py::test_format_annotation + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +}