dev-python/sphinx-autodoc-typehints: Bump to 3.2.0

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny 2025-04-26 07:12:48 +02:00
parent 2cdc201193
commit cd981fa6eb
No known key found for this signature in database
GPG Key ID: 639ADAE2329E240E
2 changed files with 45 additions and 0 deletions

View File

@ -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

View File

@ -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
}