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

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2023-01-06 06:19:41 +01:00
parent 936c1a2056
commit 0cab816158
2 changed files with 45 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST sphinx-autodoc-typehints-1.19.5.gh.tar.gz 27758 BLAKE2B f73b0afa3656949f5aa14c8055020bccd81ff5f81df6dbf7c95d3656597d1e2e12918f77c6af56afb5c3ec28680e270aaa81c3d149b5427872dd8844bcaec495 SHA512 90cc5bb81e0a76ea3e476e3821299573ea0deaef0e007d2f83e0ff442db34bccf6e1078a4e06243bf19c8ee964477b924369ebbffb6ab4aa1cd673b16b0c79b2
DIST sphinx-autodoc-typehints-1.20.0.gh.tar.gz 27988 BLAKE2B 00dca24835ecaef8a2ebb9e0e918da39b5a7c72d946d654f4aec50777ce222b86f267bd8ab43deeccf802326fc067fdbbc03d5836322a233c9b48bb184995589 SHA512 6c807206d0d5abb0ec9afa03706271afbd9130dc41c1a591021a8656f518f66d057f601b27599fb6f7de3c4633747ff8a62c204759afad96784f4356c1e64be9

View File

@@ -0,0 +1,44 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=hatchling
PYTHON_COMPAT=( python3_{8..11} )
inherit distutils-r1
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/
"
SRC_URI="
https://github.com/tox-dev/sphinx-autodoc-typehints/archive/${PV}.tar.gz
-> ${P}.gh.tar.gz
"
LICENSE="MIT"
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
SLOT="0"
RDEPEND="
>=dev-python/sphinx-5.2.1[${PYTHON_USEDEP}]
"
BDEPEND="
dev-python/hatch-vcs[${PYTHON_USEDEP}]
test? (
>=dev-python/nptyping-2.3.1[${PYTHON_USEDEP}]
>=dev-python/sphobjinv-2.2.2[${PYTHON_USEDEP}]
>=dev-python/typing-extensions-4.3[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest
EPYTEST_DESELECT=(
# this package is addicted to Internet
tests/test_sphinx_autodoc_typehints.py::test_format_annotation
)
export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}