commit:     bb5adf0afb23b609439863674a0abf39acd41b90
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 16 05:51:42 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Jan 16 06:09:33 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb5adf0a

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

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/sphinx-autodoc-typehints/Manifest       |  1 +
 .../sphinx-autodoc-typehints-1.21.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 3eb0f37ff2f5..26f927568269 100644
--- a/dev-python/sphinx-autodoc-typehints/Manifest
+++ b/dev-python/sphinx-autodoc-typehints/Manifest
@@ -2,3 +2,4 @@ DIST sphinx-autodoc-typehints-1.19.5.gh.tar.gz 27758 BLAKE2B 
f73b0afa3656949f5aa
 DIST sphinx-autodoc-typehints-1.20.0.gh.tar.gz 27988 BLAKE2B 
00dca24835ecaef8a2ebb9e0e918da39b5a7c72d946d654f4aec50777ce222b86f267bd8ab43deeccf802326fc067fdbbc03d5836322a233c9b48bb184995589
 SHA512 
6c807206d0d5abb0ec9afa03706271afbd9130dc41c1a591021a8656f518f66d057f601b27599fb6f7de3c4633747ff8a62c204759afad96784f4356c1e64be9
 DIST sphinx-autodoc-typehints-1.20.1.gh.tar.gz 28374 BLAKE2B 
87891c5ee6b1fa76b12fd09a77c7de3e739cf95b76d0e3dd215feb585d9b07e883998c8e1a1a493230add7e8362278c750a0412d8e3d5102698e8e91e8042a4b
 SHA512 
f8194c823c496c62dc6fa2d46595e39ec5da8f6661ceb3fc553a81f0a33604c00f3a4d742132326dca19c62cd32e7898fcfe89af862dfbc663b940bd4f9808a9
 DIST sphinx-autodoc-typehints-1.20.2.gh.tar.gz 28393 BLAKE2B 
1ca6ab1e49d57b49d8fc1bfa73cc6e9eccdbb3c1eff6edaea5dd3253c729f7553659b97bc96ae88d5151ba8da87c0c4f225fac471e13995bd5596554ec4423a5
 SHA512 
0a17586e83567e51fbc9c96383d3f81a4ab6ebb0ec6e6471b00f7e0d70454e11f21f49d58e46e683c48688540de96627cff7496ccf16d130d2a9c7466c8a5193
+DIST sphinx-autodoc-typehints-1.21.0.gh.tar.gz 29465 BLAKE2B 
64d13fbc720d3415448fe9983c8e5e5aa668df819717528b5a3b11147c285b44530f47754ff0d42d5b3c44a9fdf92d18614de698b40de4a5c4c9fd5995466e9e
 SHA512 
8cba898f5ec07243718e37b6ff04e45d27ec73037dbb58ab8b2db0d1ba062e4208b4b1f9c053c0fe4b591a939ce44dd323f1e83ea01655c9ededd6a24be8aac3

diff --git 
a/dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-1.21.0.ebuild 
b/dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-1.21.0.ebuild
new file mode 100644
index 000000000000..fc9ddc317183
--- /dev/null
+++ b/dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-1.21.0.ebuild
@@ -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_{9..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}

Reply via email to