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: Thu, 06 Jan 2022 19:05:49
Message-Id: 1641495930.97951e3b338d090e9fbf6a8146efe133ec2530f7.arthurzam@gentoo
1 commit: 97951e3b338d090e9fbf6a8146efe133ec2530f7
2 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jan 6 18:49:51 2022 +0000
4 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
5 CommitDate: Thu Jan 6 19:05:30 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97951e3b
7
8 dev-python/sphinx-autodoc-typehints: add 1.14.0
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.0.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 a66eb24f1dc3..d940a4adf35a 100644
18 --- a/dev-python/sphinx-autodoc-typehints/Manifest
19 +++ b/dev-python/sphinx-autodoc-typehints/Manifest
20 @@ -1,3 +1,4 @@
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 +DIST sphinx-autodoc-typehints-1.14.0.gh.tar.gz 21541 BLAKE2B 77b0e80e5518d64be9dde3d3d2af3d9e0e325daa6683ce8aabe6ac88373ee76e11273b98cf3a18c1391a451354b9cec164c8c14e81354092181b959223500669 SHA512 eba927531b074edd1bf4ce0f3e5af53b07d1be3f013b5f39babc81101b32a942040f7b72380f9f485a99bdb8bfec69f7f81d50b0ceaf73b2859f292e47416d59
25
26 diff --git a/dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-1.14.0.ebuild b/dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-1.14.0.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.0.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}