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: Sat, 04 Jun 2022 07:00:27
Message-Id: 1654326019.bc9a72875444097fb0032c707a4dc1d57f754df5.mgorny@gentoo
1 commit: bc9a72875444097fb0032c707a4dc1d57f754df5
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jun 4 06:04:06 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Jun 4 07:00:19 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc9a7287
7
8 dev-python/sphinx-autodoc-typehints: Bump to 1.18.2
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.18.2.ebuild | 44 ++++++++++++++++++++++
14 2 files changed, 45 insertions(+)
15
16 diff --git a/dev-python/sphinx-autodoc-typehints/Manifest b/dev-python/sphinx-autodoc-typehints/Manifest
17 index adacc2ddfbf4..0268e06a7b06 100644
18 --- a/dev-python/sphinx-autodoc-typehints/Manifest
19 +++ b/dev-python/sphinx-autodoc-typehints/Manifest
20 @@ -1 +1,2 @@
21 DIST sphinx-autodoc-typehints-1.18.1.gh.tar.gz 26424 BLAKE2B a30b966d26e89a7771404d4f9434038e4f201458bda439bf8fb3d2c2fc6dac0f12743622193edf45335d04148c96b6c3d51c2c7fe5437cb67b3b272ab19b2f18 SHA512 6c788949d1d3903ac589283e9188d5db3e0f173be1bb1a4740a88fc0383d7011fe60e57d25af74a2fc147b3c4d76c48770515bb8dbdf4ff18fb4bfb110a4a241
22 +DIST sphinx-autodoc-typehints-1.18.2.gh.tar.gz 26466 BLAKE2B d2e6e3135c5a60966338b2c8b143cab7c2a1b788abde0deb9cf3dc989ad31a1680ff07a9e3cb9bad500d053e7f0af2b5e099331bd92a2e01911333c6eb1589bf SHA512 5828cce6744a6a55e5dd25dc15b5bb6b28fcf430c5b65f8d610e24da426efe020e72af73ffee1f7929b3007fc76afc64f70c65d1f7e8db62b86ce52e2f836487
23
24 diff --git a/dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-1.18.2.ebuild b/dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-1.18.2.ebuild
25 new file mode 100644
26 index 000000000000..9eca6f1f4db5
27 --- /dev/null
28 +++ b/dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-1.18.2.ebuild
29 @@ -0,0 +1,44 @@
30 +# Copyright 1999-2022 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +DISTUTILS_USE_PEP517=setuptools
36 +PYTHON_COMPAT=( python3_{8..10} )
37 +
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 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
52 +SLOT="0"
53 +
54 +RDEPEND="
55 + >=dev-python/sphinx-4.5[${PYTHON_USEDEP}]
56 +"
57 +BDEPEND="
58 + dev-python/setuptools_scm[${PYTHON_USEDEP}]
59 + test? (
60 + >=dev-python/nptyping-2.1.1[${PYTHON_USEDEP}]
61 + dev-python/sphobjinv[${PYTHON_USEDEP}]
62 + >=dev-python/typing-extensions-4.1[${PYTHON_USEDEP}]
63 + )
64 +"
65 +
66 +distutils_enable_tests pytest
67 +
68 +EPYTEST_DESELECT=(
69 + # this package is addicted to Internet
70 + tests/test_sphinx_autodoc_typehints.py::test_format_annotation
71 +)
72 +
73 +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}