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: Sat, 04 Dec 2021 22:20:21
Message-Id: 1638655994.006e63025aaa630b6a85a1ab38d6baa1ab37310d.mgorny@gentoo
1 commit: 006e63025aaa630b6a85a1ab38d6baa1ab37310d
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Dec 4 22:13:14 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Dec 4 22:13:14 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=006e6302
7
8 dev-python/sphinxcontrib-spelling: Bump to 7.3.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.3.0.ebuild | 45 ++++++++++++++++++++++
14 2 files changed, 46 insertions(+)
15
16 diff --git a/dev-python/sphinxcontrib-spelling/Manifest b/dev-python/sphinxcontrib-spelling/Manifest
17 index d45724a9cd9a..9bd0c65c6c40 100644
18 --- a/dev-python/sphinxcontrib-spelling/Manifest
19 +++ b/dev-python/sphinxcontrib-spelling/Manifest
20 @@ -1 +1,2 @@
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
24 diff --git a/dev-python/sphinxcontrib-spelling/sphinxcontrib-spelling-7.3.0.ebuild b/dev-python/sphinxcontrib-spelling/sphinxcontrib-spelling-7.3.0.ebuild
25 new file mode 100644
26 index 000000000000..1bbda9a87600
27 --- /dev/null
28 +++ b/dev-python/sphinxcontrib-spelling/sphinxcontrib-spelling-7.3.0.ebuild
29 @@ -0,0 +1,45 @@
30 +# Copyright 1999-2021 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +PYTHON_COMPAT=( python3_{8..10} )
36 +inherit distutils-r1
37 +
38 +DESCRIPTION="Sphinx spelling extension"
39 +HOMEPAGE="https://github.com/sphinx-contrib/spelling"
40 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
41 +
42 +LICENSE="BSD-2"
43 +SLOT="0"
44 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
45 +
46 +RDEPEND="
47 + dev-python/pyenchant[${PYTHON_USEDEP}]
48 + dev-python/sphinx[${PYTHON_USEDEP}]
49 +"
50 +BDEPEND="
51 + dev-python/pbr[${PYTHON_USEDEP}]
52 + test? (
53 + app-dicts/myspell-en
54 + )
55 +"
56 +
57 +# The doc can only be built from a git repository
58 +distutils_enable_tests pytest
59 +
60 +EPYTEST_DESELECT=(
61 + tests/test_filter.py::test_contributors
62 +)
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_install_all() {
72 + distutils-r1_python_install_all
73 + find "${ED}" -name '*.pth' -delete || die
74 +}