1 |
commit: 890a9b003a1fdb1028a75d534f7d31c7140a58d7 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun May 1 06:26:31 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun May 1 06:41:34 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=890a9b00 |
7 |
|
8 |
dev-python/sphinxcontrib-spelling: Bump to 7.3.3 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/sphinxcontrib-spelling/Manifest | 1 + |
13 |
.../sphinxcontrib-spelling-7.3.3.ebuild | 49 ++++++++++++++++++++++ |
14 |
2 files changed, 50 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/sphinxcontrib-spelling/Manifest b/dev-python/sphinxcontrib-spelling/Manifest |
17 |
index b5915e95e87a..1dacedae960e 100644 |
18 |
--- a/dev-python/sphinxcontrib-spelling/Manifest |
19 |
+++ b/dev-python/sphinxcontrib-spelling/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST sphinxcontrib-spelling-7.3.2.tar.gz 51813 BLAKE2B 7c96f3b102fa33ea4d9e35100930a157200a1c01c51d8ec5145c45c5a24e3b5de35f6c4669177363c6098cb96275e10c39ff660c36d209cb6fa658e50cb8e169 SHA512 043a50f694366de4a3aedc24ca2ea7d89c85087097264f4e4fc860f68a3df5a67f19ec7172e4a67074377846d013d24edecd751885136c7263bc30b034c0f0e9 |
22 |
+DIST sphinxcontrib-spelling-7.3.3.tar.gz 51912 BLAKE2B 6a9bd90db2298beb78686252d555dd5e77d0c9042eb0986dd2eeab9e413a921c5f5f594c539c2cfe6315002c2f2892241b789b10976e634158f3ca1d8be1b627 SHA512 7406bd846c5eac507f8e4481ada4d0d725d0a3ad8cf2f8fd3328389128cf54091bb0e304dfe23fdf771a26d9103d2c028d2f7f29e1949ca59fcf43de5bac9cb1 |
23 |
|
24 |
diff --git a/dev-python/sphinxcontrib-spelling/sphinxcontrib-spelling-7.3.3.ebuild b/dev-python/sphinxcontrib-spelling/sphinxcontrib-spelling-7.3.3.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..b0c435cd27a2 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/sphinxcontrib-spelling/sphinxcontrib-spelling-7.3.3.ebuild |
29 |
@@ -0,0 +1,49 @@ |
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="Sphinx spelling extension" |
41 |
+HOMEPAGE=" |
42 |
+ https://github.com/sphinx-contrib/spelling/ |
43 |
+ https://pypi.org/project/sphinxcontrib-spelling/ |
44 |
+" |
45 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
46 |
+ |
47 |
+LICENSE="BSD-2" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" |
50 |
+ |
51 |
+RDEPEND=" |
52 |
+ dev-python/pyenchant[${PYTHON_USEDEP}] |
53 |
+ dev-python/sphinx[${PYTHON_USEDEP}] |
54 |
+" |
55 |
+BDEPEND=" |
56 |
+ dev-python/pbr[${PYTHON_USEDEP}] |
57 |
+ test? ( |
58 |
+ app-dicts/myspell-en |
59 |
+ ) |
60 |
+" |
61 |
+ |
62 |
+distutils_enable_tests pytest |
63 |
+ |
64 |
+EPYTEST_DESELECT=( |
65 |
+ # requires the git repo |
66 |
+ tests/test_filter.py::test_contributors |
67 |
+) |
68 |
+ |
69 |
+python_compile() { |
70 |
+ distutils-r1_python_compile |
71 |
+ find "${BUILD_DIR}" -name '*.pth' -delete || die |
72 |
+} |
73 |
+ |
74 |
+python_test() { |
75 |
+ distutils_write_namespace sphinxcontrib |
76 |
+ rm -rf sphinxcontrib || die |
77 |
+ epytest tests |
78 |
+} |