commit: 0cab816158b422462816e311dceeb0bdff28be10
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 6 05:19:41 2023 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Jan 6 05:26:40 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0cab8161
dev-python/sphinx-autodoc-typehints: Bump to 1.20.0
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/sphinx-autodoc-typehints/Manifest | 1 +
.../sphinx-autodoc-typehints-1.20.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 5f4d94a93488..5c8a5729a956 100644
--- a/dev-python/sphinx-autodoc-typehints/Manifest
+++ b/dev-python/sphinx-autodoc-typehints/Manifest
@@ -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
diff --git
a/dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-1.20.0.ebuild
b/dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-1.20.0.ebuild
new file mode 100644
index 000000000000..e132b0c73ad1
--- /dev/null
+++ b/dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-1.20.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_{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}