Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/sphinx-autodoc-typehints/
Date: Tue, 18 Jan 2022 22:44:43
Message-Id: 1642545865.0c1eca1068e3fa278332d69c05a6b5c0bac730fa.mgorny@gentoo
1 commit: 0c1eca1068e3fa278332d69c05a6b5c0bac730fa
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jan 18 21:59:20 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue Jan 18 22:44:25 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c1eca10
7
8 dev-python/sphinx-autodoc-typehints: Bump to 1.15.3
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/sphinx-autodoc-typehints/Manifest | 1 +
13 .../sphinx-autodoc-typehints-1.15.3.ebuild | 40 ++++++++++++++++++++++
14 2 files changed, 41 insertions(+)
15
16 diff --git a/dev-python/sphinx-autodoc-typehints/Manifest b/dev-python/sphinx-autodoc-typehints/Manifest
17 index 7193efdac711..c9753c4589b3 100644
18 --- a/dev-python/sphinx-autodoc-typehints/Manifest
19 +++ b/dev-python/sphinx-autodoc-typehints/Manifest
20 @@ -5,3 +5,4 @@ DIST sphinx-autodoc-typehints-1.14.0.gh.tar.gz 21541 BLAKE2B 77b0e80e5518d64be9d
21 DIST sphinx-autodoc-typehints-1.14.1.gh.tar.gz 22095 BLAKE2B 43fff7ad0ce83d4a7b50da7b3d0f9936754cb1897defe5d91bfef44dfae4df7bb6a0472fe5012bd2526a642149710e96b407fee3096dfb1474187273133079be SHA512 a720195d8792f3b6f5b8b5ce84b709872e7034c38640c15ab83b1676b5f0c26c650b0e74c34dbf9652e32f8b7f66edb94dcf4447ff2e0a1b196b721583294f49
22 DIST sphinx-autodoc-typehints-1.15.1.gh.tar.gz 23279 BLAKE2B 3ba75560111025d2a468572312bd1953315acc55aff4d80f069dcc8fb31fe6253b2dfd3d3f36a75be4dddb3573dd1282d949e5e99df9d4c6cb679c50e7a375d9 SHA512 6cf5750839d550af99ae74c9d31c403aa322108f81b779b8514c90beb315803d5fe550d65bb4cb8861ce224b220ef16b5627198aa0f46b68000c916a2c99983a
23 DIST sphinx-autodoc-typehints-1.15.2.gh.tar.gz 23567 BLAKE2B 5febaf00b5d8230196e0c0218b91f82a2a23bac4b3004569f877e55228943e1f25774363a063bfc67bab73d6f92f3a0c6e3a6a473451cee2fec38600962b15b3 SHA512 b200460a50fc4d636365a7438d3a4937592eaf672ccb18c80f5e5a83a64fdaabb1a92d95321edf76ba0fa1ea6b0c66710e6f18ee330631c03c84d3277b2eeeda
24 +DIST sphinx-autodoc-typehints-1.15.3.gh.tar.gz 23660 BLAKE2B 4e05987b56f54e9a4eff62f4bc48ec271b33ac496fd755f8fd72a7d2342a0971c81cf3780d93c9f87e96bc388f6120cb4d8dce98cb5ac0d33dc9892e6bd08899 SHA512 d121cfe75f5b8dc0cb87e3fca5a0e5a1c88fc57bfbaf2183abbe8b7e1a680465d40e43eb836145aad3adf179e7a66800375267f5e0430ef28f79053a9a1f2649
25
26 diff --git a/dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-1.15.3.ebuild b/dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-1.15.3.ebuild
27 new file mode 100644
28 index 000000000000..bd6dfc457dc5
29 --- /dev/null
30 +++ b/dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-1.15.3.ebuild
31 @@ -0,0 +1,40 @@
32 +# Copyright 1999-2022 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=8
36 +
37 +DISTUTILS_USE_PEP517=setuptools
38 +PYTHON_COMPAT=( python3_{8..10} )
39 +inherit distutils-r1
40 +
41 +DESCRIPTION="Type hints support for the Sphinx autodoc extension "
42 +HOMEPAGE="
43 + https://github.com/tox-dev/sphinx-autodoc-typehints/
44 + https://pypi.org/project/sphinx-autodoc-typehints/
45 +"
46 +SRC_URI="
47 + https://github.com/tox-dev/sphinx-autodoc-typehints/archive/${PV}.tar.gz
48 + -> ${P}.gh.tar.gz
49 +"
50 +
51 +LICENSE="MIT"
52 +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
53 +SLOT="0"
54 +
55 +RDEPEND=">=dev-python/sphinx-4[${PYTHON_USEDEP}]"
56 +BDEPEND="
57 + dev-python/setuptools_scm[${PYTHON_USEDEP}]
58 + test? (
59 + dev-python/sphobjinv[${PYTHON_USEDEP}]
60 + dev-python/typing-extensions[${PYTHON_USEDEP}]
61 + )
62 +"
63 +
64 +distutils_enable_tests pytest
65 +
66 +EPYTEST_DESELECT=(
67 + # this package is addicted to Internet
68 + tests/test_sphinx_autodoc_typehints.py::test_format_annotation
69 +)
70 +
71 +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}