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/sphinxcontrib-spelling/
Date: Thu, 26 May 2022 08:07:23
Message-Id: 1653552434.383321e3ff298a336bba858f2e202e854fcfa6f6.mgorny@gentoo
1 commit: 383321e3ff298a336bba858f2e202e854fcfa6f6
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu May 26 07:14:34 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu May 26 08:07:14 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=383321e3
7
8 dev-python/sphinxcontrib-spelling: Bump to 7.4.0
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/sphinxcontrib-spelling/Manifest | 1 +
13 .../sphinxcontrib-spelling-7.4.0.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 1dacedae960e..1572910454db 100644
18 --- a/dev-python/sphinxcontrib-spelling/Manifest
19 +++ b/dev-python/sphinxcontrib-spelling/Manifest
20 @@ -1,2 +1,3 @@
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 +DIST sphinxcontrib-spelling-7.4.0.tar.gz 52966 BLAKE2B d0dbb6a5ae704f8cc8eaf0a73455b1ae044d68e34c723f1368899f7d7567c0e77a5279f333c710017ed00c53f7eb9a977f6a803b87b03fbf2b78e0be02bd1ac0 SHA512 27edbde0ad7d9321ceda9263e2139421578c48f82bad04c51359134ae89631ddfcf27ac5bdb1d012354e71020be373c8017550c5db73fdccb912d4ab10d223c8
24
25 diff --git a/dev-python/sphinxcontrib-spelling/sphinxcontrib-spelling-7.4.0.ebuild b/dev-python/sphinxcontrib-spelling/sphinxcontrib-spelling-7.4.0.ebuild
26 new file mode 100644
27 index 000000000000..834977197c58
28 --- /dev/null
29 +++ b/dev-python/sphinxcontrib-spelling/sphinxcontrib-spelling-7.4.0.ebuild
30 @@ -0,0 +1,49 @@
31 +# Copyright 1999-2022 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +
36 +DISTUTILS_USE_PEP517=setuptools
37 +PYTHON_COMPAT=( python3_{8..11} )
38 +
39 +inherit distutils-r1
40 +
41 +DESCRIPTION="Sphinx spelling extension"
42 +HOMEPAGE="
43 + https://github.com/sphinx-contrib/spelling/
44 + https://pypi.org/project/sphinxcontrib-spelling/
45 +"
46 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
47 +
48 +LICENSE="BSD-2"
49 +SLOT="0"
50 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
51 +
52 +RDEPEND="
53 + dev-python/pyenchant[${PYTHON_USEDEP}]
54 + dev-python/sphinx[${PYTHON_USEDEP}]
55 +"
56 +BDEPEND="
57 + dev-python/pbr[${PYTHON_USEDEP}]
58 + test? (
59 + app-dicts/myspell-en
60 + )
61 +"
62 +
63 +distutils_enable_tests pytest
64 +
65 +EPYTEST_DESELECT=(
66 + # requires the git repo
67 + tests/test_filter.py::test_contributors
68 +)
69 +
70 +python_compile() {
71 + distutils-r1_python_compile
72 + find "${BUILD_DIR}" -name '*.pth' -delete || die
73 +}
74 +
75 +python_test() {
76 + distutils_write_namespace sphinxcontrib
77 + rm -rf sphinxcontrib || die
78 + epytest tests
79 +}