commit: e493c964f2d46efe1cfc01ec76e1ee8f5bfed34f
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 2 07:59:13 2022 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Jan 2 10:59:16 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e493c964
dev-python/sphinx-autodoc-typehints: Bump to 1.13.0
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/sphinx-autodoc-typehints/Manifest | 1 +
dev-python/sphinx-autodoc-typehints/metadata.xml | 2 +-
.../sphinx-autodoc-typehints-1.13.0.ebuild | 39 ++++++++++++++++++++++
3 files changed, 41 insertions(+), 1 deletion(-)
diff --git a/dev-python/sphinx-autodoc-typehints/Manifest
b/dev-python/sphinx-autodoc-typehints/Manifest
index c3b115698f0f..ab17792d41e8 100644
--- a/dev-python/sphinx-autodoc-typehints/Manifest
+++ b/dev-python/sphinx-autodoc-typehints/Manifest
@@ -1 +1,2 @@
DIST sphinx-autodoc-typehints-1.12.0.tar.gz 19494 BLAKE2B
beacc4f8ab453612dfd5264f1c65fd6bdd957269a28ee5b71b762d0baf5a3d4be58398b32d4263f996648281c1139f47a7564e8fc6444a94095f6a970b4cc27a
SHA512
92fa340495a48111fa3d600d8c46d83214505ac2a5c71cb1303e846ac439f1e0ff14f8ce8dfd5ffdb6a62a9fa15dde8a5227f946840d9377ad5f7fde25894b75
+DIST sphinx-autodoc-typehints-1.13.0.gh.tar.gz 19898 BLAKE2B
a927802a9daec5a2755c06a974aaea30fa92dfd16712d705c9ecb1c9a7b15d5285ade1d8e83d20e9220823500e0257e278b7e48942d9ee6cafdbc36793e9698f
SHA512
cc2f91da6b76eb4ccd7579ce27c4d8f2117707b253bd2246711a5179faecc61c4873b3a5e8c1346e03d1db4c59ae76bea0160f34c66f1a0c2dbba1ac2a8086a1
diff --git a/dev-python/sphinx-autodoc-typehints/metadata.xml
b/dev-python/sphinx-autodoc-typehints/metadata.xml
index 4c24bb7cd556..a9f1912dc7f3 100644
--- a/dev-python/sphinx-autodoc-typehints/metadata.xml
+++ b/dev-python/sphinx-autodoc-typehints/metadata.xml
@@ -10,7 +10,7 @@
This extension allows you to use Python 3 annotations for documenting
acceptable argument types and return value types of functions. This allows you
to use type hints in a very natural fashion
</longdescription>
<upstream>
- <remote-id type="github">agronholm/sphinx-autodoc-typehints</remote-id>
+ <remote-id type="github">tox-dev/sphinx-autodoc-typehints</remote-id>
<remote-id type="pypi">sphinx-autodoc-typehints</remote-id>
</upstream>
<stabilize-allarches/>
diff --git
a/dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-1.13.0.ebuild
b/dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-1.13.0.ebuild
new file mode 100644
index 000000000000..2791bdf02bb4
--- /dev/null
+++ b/dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-1.13.0.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..9} )
+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 ~ppc ~ppc64 ~riscv ~sparc ~x86"
+SLOT="0"
+
+RDEPEND=">=dev-python/sphinx-4[${PYTHON_USEDEP}]"
+BDEPEND="
+ dev-python/setuptools_scm[${PYTHON_USEDEP}]
+ test? (
+ dev-python/sphobjinv[${PYTHON_USEDEP}]
+ dev-python/typing-extensions[${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}