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: Sun, 26 Jun 2022 04:49:15
Message-Id: 1656218939.619867745eb3b0455741cfc7bea47092d68166cc.mgorny@gentoo
1 commit: 619867745eb3b0455741cfc7bea47092d68166cc
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jun 26 03:25:41 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Jun 26 04:48:59 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61986774
7
8 dev-python/sphinxcontrib-spelling: Bump to 7.6.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.6.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 a867f30e2efd..d43c67bfb3e7 100644
18 --- a/dev-python/sphinxcontrib-spelling/Manifest
19 +++ b/dev-python/sphinxcontrib-spelling/Manifest
20 @@ -1,3 +1,4 @@
21 DIST sphinxcontrib-spelling-7.3.3.tar.gz 51912 BLAKE2B 6a9bd90db2298beb78686252d555dd5e77d0c9042eb0986dd2eeab9e413a921c5f5f594c539c2cfe6315002c2f2892241b789b10976e634158f3ca1d8be1b627 SHA512 7406bd846c5eac507f8e4481ada4d0d725d0a3ad8cf2f8fd3328389128cf54091bb0e304dfe23fdf771a26d9103d2c028d2f7f29e1949ca59fcf43de5bac9cb1
22 DIST sphinxcontrib-spelling-7.5.0.tar.gz 54978 BLAKE2B ed56e27434a43d688a63ff6ca8aa7889a80a0a750abdebc5e9307c68fae8a14ae7ba065b127c583fff11499e75750aee6f017b4d442204b1a2308a5c8692e73c SHA512 d306d19664990cfb6ceff947f3a34243a8ead95b0e6076f9da924cd0ef43e2621178bd374400f805970592f803d6a129c74a32a6c6837d41e4f72118da667138
23 DIST sphinxcontrib-spelling-7.5.1.tar.gz 55547 BLAKE2B 61415fb62b0d47672901048276897d7578f891732278d9ea0b4fe0ca5f42654114f76d600ffcf0f602afe1c0d46f4bf466c326337accf910090f768c1cee1c69 SHA512 d38114421e519ed127eae712637677a8ae75cc640087d2e7740d8c106a0d7058e633f65fb1ac9ee2fa75d295b218aa98d3a3279b077f2a89ea947a3b4c0fd05a
24 +DIST sphinxcontrib-spelling-7.6.0.tar.gz 56329 BLAKE2B e26a3fcb39edf622b20bce0d79d1ce2d2a13e4dd8bdef0bb5cc31108a8ee42afd728975fd65e840c91bc6c6510a57904ebc478b458a52a96031bf44f1cbfa8b6 SHA512 102202eb73767ffface2aa5555c8ee2658bcd3c1eb7f3a925e8713e2f233d1bcf0eb307fed6c264c4e4e6503c30d83a3025b0c39ef608451d2fe86664aeb48c5
25
26 diff --git a/dev-python/sphinxcontrib-spelling/sphinxcontrib-spelling-7.6.0.ebuild b/dev-python/sphinxcontrib-spelling/sphinxcontrib-spelling-7.6.0.ebuild
27 new file mode 100644
28 index 000000000000..834977197c58
29 --- /dev/null
30 +++ b/dev-python/sphinxcontrib-spelling/sphinxcontrib-spelling-7.6.0.ebuild
31 @@ -0,0 +1,49 @@
32 +# Copyright 1999-2022 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=8
36 +
37 +DISTUTILS_USE_PEP517=setuptools
38 +PYTHON_COMPAT=( python3_{8..11} )
39 +
40 +inherit distutils-r1
41 +
42 +DESCRIPTION="Sphinx spelling extension"
43 +HOMEPAGE="
44 + https://github.com/sphinx-contrib/spelling/
45 + https://pypi.org/project/sphinxcontrib-spelling/
46 +"
47 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
48 +
49 +LICENSE="BSD-2"
50 +SLOT="0"
51 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
52 +
53 +RDEPEND="
54 + dev-python/pyenchant[${PYTHON_USEDEP}]
55 + dev-python/sphinx[${PYTHON_USEDEP}]
56 +"
57 +BDEPEND="
58 + dev-python/pbr[${PYTHON_USEDEP}]
59 + test? (
60 + app-dicts/myspell-en
61 + )
62 +"
63 +
64 +distutils_enable_tests pytest
65 +
66 +EPYTEST_DESELECT=(
67 + # requires the git repo
68 + tests/test_filter.py::test_contributors
69 +)
70 +
71 +python_compile() {
72 + distutils-r1_python_compile
73 + find "${BUILD_DIR}" -name '*.pth' -delete || die
74 +}
75 +
76 +python_test() {
77 + distutils_write_namespace sphinxcontrib
78 + rm -rf sphinxcontrib || die
79 + epytest tests
80 +}