Gentoo Archives: gentoo-commits

From: Arthur Zamarin <arthurzam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/sphinx-autodoc-typehints/
Date: Fri, 07 Jan 2022 16:49:32
Message-Id: 1641574156.6611aab312d74c7118a9a80981fdf73674ede36e.arthurzam@gentoo
1 commit: 6611aab312d74c7118a9a80981fdf73674ede36e
2 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jan 7 16:33:52 2022 +0000
4 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
5 CommitDate: Fri Jan 7 16:49:16 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6611aab3
7
8 dev-python/sphinx-autodoc-typehints: add 1.14.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.14.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 d940a4adf35a..ec5ab12d73c6 100644
18 --- a/dev-python/sphinx-autodoc-typehints/Manifest
19 +++ b/dev-python/sphinx-autodoc-typehints/Manifest
20 @@ -2,3 +2,4 @@ DIST sphinx-autodoc-typehints-1.12.0.tar.gz 19494 BLAKE2B beacc4f8ab453612dfd526
21 DIST sphinx-autodoc-typehints-1.13.0.gh.tar.gz 19898 BLAKE2B a927802a9daec5a2755c06a974aaea30fa92dfd16712d705c9ecb1c9a7b15d5285ade1d8e83d20e9220823500e0257e278b7e48942d9ee6cafdbc36793e9698f SHA512 cc2f91da6b76eb4ccd7579ce27c4d8f2117707b253bd2246711a5179faecc61c4873b3a5e8c1346e03d1db4c59ae76bea0160f34c66f1a0c2dbba1ac2a8086a1
22 DIST sphinx-autodoc-typehints-1.13.1.gh.tar.gz 19923 BLAKE2B d0f72b814c83dd8987b80bdbaffbab5c3a7c671d9e56e9bb62d3cf44dec1df7b5fb9c591928b89680427069ce8d5953f4dea52de9eb4a4add07a332be96c730a SHA512 50e2958aafaa661cb209da04bb456dadddc4782dd2168c3f6524fba26d906479c66e5b22b3f49fff0c4022acb4b5b99ff73b250cb3e4d5dd9f083c4a5ab12531
23 DIST sphinx-autodoc-typehints-1.14.0.gh.tar.gz 21541 BLAKE2B 77b0e80e5518d64be9dde3d3d2af3d9e0e325daa6683ce8aabe6ac88373ee76e11273b98cf3a18c1391a451354b9cec164c8c14e81354092181b959223500669 SHA512 eba927531b074edd1bf4ce0f3e5af53b07d1be3f013b5f39babc81101b32a942040f7b72380f9f485a99bdb8bfec69f7f81d50b0ceaf73b2859f292e47416d59
24 +DIST sphinx-autodoc-typehints-1.14.1.gh.tar.gz 22095 BLAKE2B 43fff7ad0ce83d4a7b50da7b3d0f9936754cb1897defe5d91bfef44dfae4df7bb6a0472fe5012bd2526a642149710e96b407fee3096dfb1474187273133079be SHA512 a720195d8792f3b6f5b8b5ce84b709872e7034c38640c15ab83b1676b5f0c26c650b0e74c34dbf9652e32f8b7f66edb94dcf4447ff2e0a1b196b721583294f49
25
26 diff --git a/dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-1.14.1.ebuild b/dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-1.14.1.ebuild
27 new file mode 100644
28 index 000000000000..2791bdf02bb4
29 --- /dev/null
30 +++ b/dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-1.14.1.ebuild
31 @@ -0,0 +1,39 @@
32 +# Copyright 1999-2022 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=8
36 +
37 +PYTHON_COMPAT=( python3_{8..9} )
38 +inherit distutils-r1
39 +
40 +DESCRIPTION="Type hints support for the Sphinx autodoc extension "
41 +HOMEPAGE="
42 + https://github.com/tox-dev/sphinx-autodoc-typehints/
43 + https://pypi.org/project/sphinx-autodoc-typehints/
44 +"
45 +SRC_URI="
46 + https://github.com/tox-dev/sphinx-autodoc-typehints/archive/${PV}.tar.gz
47 + -> ${P}.gh.tar.gz
48 +"
49 +
50 +LICENSE="MIT"
51 +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
52 +SLOT="0"
53 +
54 +RDEPEND=">=dev-python/sphinx-4[${PYTHON_USEDEP}]"
55 +BDEPEND="
56 + dev-python/setuptools_scm[${PYTHON_USEDEP}]
57 + test? (
58 + dev-python/sphobjinv[${PYTHON_USEDEP}]
59 + dev-python/typing-extensions[${PYTHON_USEDEP}]
60 + )
61 +"
62 +
63 +distutils_enable_tests pytest
64 +
65 +EPYTEST_DESELECT=(
66 + # this package is addicted to Internet
67 + tests/test_sphinx_autodoc_typehints.py::test_format_annotation
68 +)
69 +
70 +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}