1 |
commit: ed5aaa85123e57ed2433b08ce352b5627e9bed24 |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jan 4 20:53:21 2022 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jan 4 21:29:36 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed5aaa85 |
7 |
|
8 |
dev-python/sphinx-autodoc-typehints: add 1.13.1 |
9 |
|
10 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
11 |
|
12 |
dev-python/sphinx-autodoc-typehints/Manifest | 1 + |
13 |
.../sphinx-autodoc-typehints-1.13.1.ebuild | 39 ++++++++++++++++++++++ |
14 |
2 files changed, 40 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/sphinx-autodoc-typehints/Manifest b/dev-python/sphinx-autodoc-typehints/Manifest |
17 |
index ab17792d41e8..a66eb24f1dc3 100644 |
18 |
--- a/dev-python/sphinx-autodoc-typehints/Manifest |
19 |
+++ b/dev-python/sphinx-autodoc-typehints/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST sphinx-autodoc-typehints-1.12.0.tar.gz 19494 BLAKE2B beacc4f8ab453612dfd5264f1c65fd6bdd957269a28ee5b71b762d0baf5a3d4be58398b32d4263f996648281c1139f47a7564e8fc6444a94095f6a970b4cc27a SHA512 92fa340495a48111fa3d600d8c46d83214505ac2a5c71cb1303e846ac439f1e0ff14f8ce8dfd5ffdb6a62a9fa15dde8a5227f946840d9377ad5f7fde25894b75 |
22 |
DIST sphinx-autodoc-typehints-1.13.0.gh.tar.gz 19898 BLAKE2B a927802a9daec5a2755c06a974aaea30fa92dfd16712d705c9ecb1c9a7b15d5285ade1d8e83d20e9220823500e0257e278b7e48942d9ee6cafdbc36793e9698f SHA512 cc2f91da6b76eb4ccd7579ce27c4d8f2117707b253bd2246711a5179faecc61c4873b3a5e8c1346e03d1db4c59ae76bea0160f34c66f1a0c2dbba1ac2a8086a1 |
23 |
+DIST sphinx-autodoc-typehints-1.13.1.gh.tar.gz 19923 BLAKE2B d0f72b814c83dd8987b80bdbaffbab5c3a7c671d9e56e9bb62d3cf44dec1df7b5fb9c591928b89680427069ce8d5953f4dea52de9eb4a4add07a332be96c730a SHA512 50e2958aafaa661cb209da04bb456dadddc4782dd2168c3f6524fba26d906479c66e5b22b3f49fff0c4022acb4b5b99ff73b250cb3e4d5dd9f083c4a5ab12531 |
24 |
|
25 |
diff --git a/dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-1.13.1.ebuild b/dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-1.13.1.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000000..2791bdf02bb4 |
28 |
--- /dev/null |
29 |
+++ b/dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-1.13.1.ebuild |
30 |
@@ -0,0 +1,39 @@ |
31 |
+# Copyright 1999-2022 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=8 |
35 |
+ |
36 |
+PYTHON_COMPAT=( python3_{8..9} ) |
37 |
+inherit distutils-r1 |
38 |
+ |
39 |
+DESCRIPTION="Type hints support for the Sphinx autodoc extension " |
40 |
+HOMEPAGE=" |
41 |
+ https://github.com/tox-dev/sphinx-autodoc-typehints/ |
42 |
+ https://pypi.org/project/sphinx-autodoc-typehints/ |
43 |
+" |
44 |
+SRC_URI=" |
45 |
+ https://github.com/tox-dev/sphinx-autodoc-typehints/archive/${PV}.tar.gz |
46 |
+ -> ${P}.gh.tar.gz |
47 |
+" |
48 |
+ |
49 |
+LICENSE="MIT" |
50 |
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" |
51 |
+SLOT="0" |
52 |
+ |
53 |
+RDEPEND=">=dev-python/sphinx-4[${PYTHON_USEDEP}]" |
54 |
+BDEPEND=" |
55 |
+ dev-python/setuptools_scm[${PYTHON_USEDEP}] |
56 |
+ test? ( |
57 |
+ dev-python/sphobjinv[${PYTHON_USEDEP}] |
58 |
+ dev-python/typing-extensions[${PYTHON_USEDEP}] |
59 |
+ ) |
60 |
+" |
61 |
+ |
62 |
+distutils_enable_tests pytest |
63 |
+ |
64 |
+EPYTEST_DESELECT=( |
65 |
+ # this package is addicted to Internet |
66 |
+ tests/test_sphinx_autodoc_typehints.py::test_format_annotation |
67 |
+) |
68 |
+ |
69 |
+export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} |