1 |
commit: 683fbd57b71ca97d5d5458113be2a18588dc750d |
2 |
Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net> |
3 |
AuthorDate: Wed Jun 24 15:03:34 2020 +0000 |
4 |
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net> |
5 |
CommitDate: Wed Jun 24 15:03:34 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=683fbd57 |
7 |
|
8 |
dev-python/sphinx-autodoc-typehints: version bump |
9 |
|
10 |
Package-Manager: Portage-2.3.102, Repoman-2.3.23 |
11 |
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net> |
12 |
|
13 |
dev-python/sphinx-autodoc-typehints/Manifest | 1 + |
14 |
.../sphinx-autodoc-typehints-1.11.0.ebuild | 40 ++++++++++++++++++++++ |
15 |
2 files changed, 41 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/sphinx-autodoc-typehints/Manifest b/dev-python/sphinx-autodoc-typehints/Manifest |
18 |
index 8ec7c20..b36be84 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.10.3.tar.gz 16396 BLAKE2B 5621e6225fa8f97f61a3e7ad387631bc524bd4cd236a184e88431dd044dbf208b042882a150a88372f7bdd613d06de980a5b6685ed1814c6b0c7c1a27079f715 SHA512 170fd6cea10d730eefeef4e2e4de985119dbcde06d43181bb522ec31923ddc49dd7757ca623c820e2e5008198ef9b522d70e08c0c6ff5349921f1777b797bddb |
23 |
+DIST sphinx-autodoc-typehints-1.11.0.tar.gz 16676 BLAKE2B 8a2d8ea24ba5cc670edf1570d2c040f13aeed73ba690281846a38c9ab10b8ecfdc3c7435e3cc2099c9c2c1ec2e247ac520668edaf16630b24753ce01065cb573 SHA512 9ffdeccc58ae349fac5e94fac0495c0a2c037293bd5f49a0a5f9844881b6af08b8a3de02fccf68ec14e3301121ebfc212a3dd20c986cee2784b06f899b8b5ea4 |
24 |
|
25 |
diff --git a/dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-1.11.0.ebuild b/dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-1.11.0.ebuild |
26 |
new file mode 100644 |
27 |
index 0000000..2041cfa |
28 |
--- /dev/null |
29 |
+++ b/dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-1.11.0.ebuild |
30 |
@@ -0,0 +1,40 @@ |
31 |
+# Copyright 1999-2020 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+PYTHON_COMPAT=( python3_{6,7} ) |
37 |
+ |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+DESCRIPTION="Type hints support for the Sphinx autodoc extension " |
41 |
+HOMEPAGE=" |
42 |
+ https://github.com/agronholm/sphinx-autodoc-typehints |
43 |
+ https://pypi.org/project/sphinx-autodoc-typehints |
44 |
+" |
45 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
46 |
+ |
47 |
+LICENSE="MIT" |
48 |
+KEYWORDS="~amd64 ~x86" |
49 |
+SLOT="0" |
50 |
+ |
51 |
+BDEPEND="dev-python/setuptools_scm[${PYTHON_USEDEP}]" |
52 |
+ |
53 |
+RDEPEND="dev-python/sphinx[${PYTHON_USEDEP}]" |
54 |
+ |
55 |
+DEPEND="test? ( |
56 |
+ dev-python/sphobjinv[${PYTHON_USEDEP}] |
57 |
+ dev-python/typing-extensions[${PYTHON_USEDEP}] |
58 |
+ )" |
59 |
+ |
60 |
+distutils_enable_tests pytest |
61 |
+ |
62 |
+python_prepare_all() { |
63 |
+ # skip these tests: need internet |
64 |
+ sed -i -e 's:test_parse_annotation:_&:' \ |
65 |
+ -e 's:test_format_annotation:_&:' \ |
66 |
+ -e 's:test_format_annotation_both_libs:_&:' \ |
67 |
+ tests/test_sphinx_autodoc_typehints.py || die |
68 |
+ |
69 |
+ distutils-r1_python_prepare_all |
70 |
+} |