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: Wed, 29 Dec 2021 08:30:25
Message-Id: 1640766569.cc7e67a5338d966aed7b63f9e6be8d969ec3190c.mgorny@gentoo
1 commit: cc7e67a5338d966aed7b63f9e6be8d969ec3190c
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Dec 29 06:45:05 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Dec 29 08:29:29 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc7e67a5
7
8 dev-python/sphinxcontrib-spelling: Bump to 7.3.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.3.1.ebuild | 48 ++++++++++++++++++++++
14 2 files changed, 49 insertions(+)
15
16 diff --git a/dev-python/sphinxcontrib-spelling/Manifest b/dev-python/sphinxcontrib-spelling/Manifest
17 index 9bd0c65c6c40..3f8598b49bb2 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.2.1.tar.gz 49584 BLAKE2B 7211acfe344b157c0d44f356aef4c31fabcb1b30256cec1693fa67d2652d80c8f3657441c193f82ef26e0e7acd7d141732bef0704462a292355d70a18ab3c2be SHA512 e9b9709b627545e1191d64753c97c0cf65e100d5379e7cc1da46faf9c5d5ea0eeb6c7aafe99331f9518488fb0801c245e0c1fa9853360bb6cf373515a4fed2ed
22 DIST sphinxcontrib-spelling-7.3.0.tar.gz 49853 BLAKE2B 3bf7c6433a5de6b109891f1546f109ce7dc5870c0932f49a2dfbc1356c365ba48f885af21e0873284112d8b7b67dbb24730373a16e6786ba7e15f2bc23dc8360 SHA512 25b1902547e4ed172ec437aca0868f458c60aab8dacbeeec7ec1c57a93716672986b815aadb9c129fc6b068b5e4d7e96f6200160c0b688e67314abf290e4ff17
23 +DIST sphinxcontrib-spelling-7.3.1.tar.gz 51104 BLAKE2B 8d757b492ce5bcb103bc604923da928f0440d4d0b882743d14b60fef21cfb423ea93a1e79f309b7cf27e8385ac94c01b24163a17407609ee20b9ec82dff63f62 SHA512 53f2532ff31a82c1cf568400a6066f319da3331c960446478bcd37e9293f4d080061b9c4914ac308e89878f432b6573ff782c5faba0f557384da55f202e68479
24
25 diff --git a/dev-python/sphinxcontrib-spelling/sphinxcontrib-spelling-7.3.1.ebuild b/dev-python/sphinxcontrib-spelling/sphinxcontrib-spelling-7.3.1.ebuild
26 new file mode 100644
27 index 000000000000..157ddc634287
28 --- /dev/null
29 +++ b/dev-python/sphinxcontrib-spelling/sphinxcontrib-spelling-7.3.1.ebuild
30 @@ -0,0 +1,48 @@
31 +# Copyright 1999-2021 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +
36 +PYTHON_COMPAT=( python3_{8..10} )
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 + dev-python/pyenchant[${PYTHON_USEDEP}]
49 + dev-python/sphinx[${PYTHON_USEDEP}]
50 +"
51 +BDEPEND="
52 + dev-python/pbr[${PYTHON_USEDEP}]
53 + test? (
54 + app-dicts/myspell-en
55 + )
56 +"
57 +
58 +# The doc can only be built from a git repository
59 +distutils_enable_tests pytest
60 +
61 +EPYTEST_DESELECT=(
62 + # requires the git repo
63 + tests/test_filter.py::test_contributors
64 + # fails when started via "python -m pytest"
65 + "tests/test_filter.py::test_importable_module_skip[__main__-False]"
66 +)
67 +
68 +# We don't want distutils_enable_tests to add the namespace
69 +# package to BDEPEND under "test?". Therefore we add it to RDEPEND
70 +# after running distutils_enable_tests.
71 +RDEPEND+="
72 + dev-python/namespace-sphinxcontrib[${PYTHON_USEDEP}]
73 +"
74 +
75 +python_install_all() {
76 + distutils-r1_python_install_all
77 + find "${ED}" -name '*.pth' -delete || die
78 +}