1 |
commit: b0e32a2a80ee490ad0196ea06b1ad79a1fe4d31e |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat May 1 06:35:48 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat May 1 07:44:58 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0e32a2a |
7 |
|
8 |
dev-python/sphinxcontrib-spelling: Bump to 7.2.1 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/sphinxcontrib-spelling/Manifest | 1 + |
13 |
.../sphinxcontrib-spelling-7.2.1.ebuild | 53 ++++++++++++++++++++++ |
14 |
2 files changed, 54 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/sphinxcontrib-spelling/Manifest b/dev-python/sphinxcontrib-spelling/Manifest |
17 |
index 50833ccd7e5..1d2a565877a 100644 |
18 |
--- a/dev-python/sphinxcontrib-spelling/Manifest |
19 |
+++ b/dev-python/sphinxcontrib-spelling/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST sphinxcontrib-spelling-7.1.0.tar.gz 49353 BLAKE2B 59e1f5e3fadeb175fb3d1b7a77acdb23e532456de053f886507c76189bf5f657a948d6288625110ccacfb5b673f23d209e6164f3535da30559f0ac4e792f34e9 SHA512 b8ae9ad79afacd362a986dc63d3be87b91d3560333bbcb026ab7d64fa8139e05e048d5e868df0fc40a159a3c44aeac01191df5ef8208bbcd7e35242f9a0b97be |
22 |
+DIST sphinxcontrib-spelling-7.2.1.tar.gz 49584 BLAKE2B 7211acfe344b157c0d44f356aef4c31fabcb1b30256cec1693fa67d2652d80c8f3657441c193f82ef26e0e7acd7d141732bef0704462a292355d70a18ab3c2be SHA512 e9b9709b627545e1191d64753c97c0cf65e100d5379e7cc1da46faf9c5d5ea0eeb6c7aafe99331f9518488fb0801c245e0c1fa9853360bb6cf373515a4fed2ed |
23 |
|
24 |
diff --git a/dev-python/sphinxcontrib-spelling/sphinxcontrib-spelling-7.2.1.ebuild b/dev-python/sphinxcontrib-spelling/sphinxcontrib-spelling-7.2.1.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..28d6e037b43 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/sphinxcontrib-spelling/sphinxcontrib-spelling-7.2.1.ebuild |
29 |
@@ -0,0 +1,53 @@ |
30 |
+# Copyright 1999-2021 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=7 |
34 |
+ |
35 |
+PYTHON_COMPAT=( python3_{7..9} ) |
36 |
+ |
37 |
+inherit distutils-r1 |
38 |
+ |
39 |
+DESCRIPTION="Sphinx spelling extension" |
40 |
+HOMEPAGE="https://github.com/sphinx-contrib/spelling" |
41 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
42 |
+ |
43 |
+LICENSE="BSD-2" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" |
46 |
+ |
47 |
+RDEPEND=" |
48 |
+ $(python_gen_cond_dep ' |
49 |
+ >=dev-python/importlib_metadata-1.7.0[${PYTHON_USEDEP}] |
50 |
+ ' python3_{6,7}) |
51 |
+ dev-python/pyenchant[${PYTHON_USEDEP}] |
52 |
+ dev-python/sphinx[${PYTHON_USEDEP}] |
53 |
+" |
54 |
+BDEPEND=" |
55 |
+ dev-python/pbr[${PYTHON_USEDEP}] |
56 |
+ test? ( |
57 |
+ app-dicts/myspell-en |
58 |
+ ) |
59 |
+" |
60 |
+ |
61 |
+# The doc can only be built from a git repository |
62 |
+distutils_enable_tests pytest |
63 |
+ |
64 |
+# We don't want distutils_enable_tests to add the namespace |
65 |
+# package to BDEPEND under "test?". Therefore we add it to RDEPEND |
66 |
+# after running distutils_enable_tests. |
67 |
+RDEPEND+=" |
68 |
+ dev-python/namespace-sphinxcontrib[${PYTHON_USEDEP}] |
69 |
+" |
70 |
+ |
71 |
+python_test() { |
72 |
+ local deselect=( |
73 |
+ tests/test_filter.py::test_contributors |
74 |
+ ) |
75 |
+ |
76 |
+ epytest ${deselect[@]/#/--deselect } |
77 |
+} |
78 |
+ |
79 |
+python_install_all() { |
80 |
+ distutils-r1_python_install_all |
81 |
+ find "${ED}" -name '*.pth' -delete || die |
82 |
+} |