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: Sun, 02 Jan 2022 11:00:01
Message-Id: 1641121156.e493c964f2d46efe1cfc01ec76e1ee8f5bfed34f.mgorny@gentoo
1 commit: e493c964f2d46efe1cfc01ec76e1ee8f5bfed34f
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jan 2 07:59:13 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 2 10:59:16 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e493c964
7
8 dev-python/sphinx-autodoc-typehints: Bump to 1.13.0
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/sphinx-autodoc-typehints/Manifest | 1 +
13 dev-python/sphinx-autodoc-typehints/metadata.xml | 2 +-
14 .../sphinx-autodoc-typehints-1.13.0.ebuild | 39 ++++++++++++++++++++++
15 3 files changed, 41 insertions(+), 1 deletion(-)
16
17 diff --git a/dev-python/sphinx-autodoc-typehints/Manifest b/dev-python/sphinx-autodoc-typehints/Manifest
18 index c3b115698f0f..ab17792d41e8 100644
19 --- a/dev-python/sphinx-autodoc-typehints/Manifest
20 +++ b/dev-python/sphinx-autodoc-typehints/Manifest
21 @@ -1 +1,2 @@
22 DIST sphinx-autodoc-typehints-1.12.0.tar.gz 19494 BLAKE2B beacc4f8ab453612dfd5264f1c65fd6bdd957269a28ee5b71b762d0baf5a3d4be58398b32d4263f996648281c1139f47a7564e8fc6444a94095f6a970b4cc27a SHA512 92fa340495a48111fa3d600d8c46d83214505ac2a5c71cb1303e846ac439f1e0ff14f8ce8dfd5ffdb6a62a9fa15dde8a5227f946840d9377ad5f7fde25894b75
23 +DIST sphinx-autodoc-typehints-1.13.0.gh.tar.gz 19898 BLAKE2B a927802a9daec5a2755c06a974aaea30fa92dfd16712d705c9ecb1c9a7b15d5285ade1d8e83d20e9220823500e0257e278b7e48942d9ee6cafdbc36793e9698f SHA512 cc2f91da6b76eb4ccd7579ce27c4d8f2117707b253bd2246711a5179faecc61c4873b3a5e8c1346e03d1db4c59ae76bea0160f34c66f1a0c2dbba1ac2a8086a1
24
25 diff --git a/dev-python/sphinx-autodoc-typehints/metadata.xml b/dev-python/sphinx-autodoc-typehints/metadata.xml
26 index 4c24bb7cd556..a9f1912dc7f3 100644
27 --- a/dev-python/sphinx-autodoc-typehints/metadata.xml
28 +++ b/dev-python/sphinx-autodoc-typehints/metadata.xml
29 @@ -10,7 +10,7 @@
30 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
31 </longdescription>
32 <upstream>
33 - <remote-id type="github">agronholm/sphinx-autodoc-typehints</remote-id>
34 + <remote-id type="github">tox-dev/sphinx-autodoc-typehints</remote-id>
35 <remote-id type="pypi">sphinx-autodoc-typehints</remote-id>
36 </upstream>
37 <stabilize-allarches/>
38
39 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
40 new file mode 100644
41 index 000000000000..2791bdf02bb4
42 --- /dev/null
43 +++ b/dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-1.13.0.ebuild
44 @@ -0,0 +1,39 @@
45 +# Copyright 1999-2022 Gentoo Authors
46 +# Distributed under the terms of the GNU General Public License v2
47 +
48 +EAPI=8
49 +
50 +PYTHON_COMPAT=( python3_{8..9} )
51 +inherit distutils-r1
52 +
53 +DESCRIPTION="Type hints support for the Sphinx autodoc extension "
54 +HOMEPAGE="
55 + https://github.com/tox-dev/sphinx-autodoc-typehints/
56 + https://pypi.org/project/sphinx-autodoc-typehints/
57 +"
58 +SRC_URI="
59 + https://github.com/tox-dev/sphinx-autodoc-typehints/archive/${PV}.tar.gz
60 + -> ${P}.gh.tar.gz
61 +"
62 +
63 +LICENSE="MIT"
64 +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
65 +SLOT="0"
66 +
67 +RDEPEND=">=dev-python/sphinx-4[${PYTHON_USEDEP}]"
68 +BDEPEND="
69 + dev-python/setuptools_scm[${PYTHON_USEDEP}]
70 + test? (
71 + dev-python/sphobjinv[${PYTHON_USEDEP}]
72 + dev-python/typing-extensions[${PYTHON_USEDEP}]
73 + )
74 +"
75 +
76 +distutils_enable_tests pytest
77 +
78 +EPYTEST_DESELECT=(
79 + # this package is addicted to Internet
80 + tests/test_sphinx_autodoc_typehints.py::test_format_annotation
81 +)
82 +
83 +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}