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/doc8/
Date: Thu, 31 Mar 2022 11:33:13
Message-Id: 1648726381.4049f427d8f160f0ea335a15a2224ae6bc22db32.mgorny@gentoo
1 commit: 4049f427d8f160f0ea335a15a2224ae6bc22db32
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu Mar 31 11:04:57 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Mar 31 11:33:01 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4049f427
7
8 dev-python/doc8: Bump to 0.11.0
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/doc8/Manifest | 1 +
13 dev-python/doc8/doc8-0.11.0.ebuild | 44 ++++++++++++++++++++++++++++++++++++++
14 2 files changed, 45 insertions(+)
15
16 diff --git a/dev-python/doc8/Manifest b/dev-python/doc8/Manifest
17 index f5039848a202..af1dc3de8868 100644
18 --- a/dev-python/doc8/Manifest
19 +++ b/dev-python/doc8/Manifest
20 @@ -1 +1,2 @@
21 +DIST doc8-0.11.0.tar.gz 25540 BLAKE2B 4ccfd741da44206e12ec0adcc2155534225363fdd034dfef259b425fc862bfcb62eea691bc86bb39d0fc26fda036956be4f60eaa2214a8eaf6ec1086fa83ec1d SHA512 9a8b57bfe21dcc7302fbdcb9b5f1592c7449b43d4475622926b794a0e9041e85ae7806990517e911348f78f5871133983ec0feab13cea3ccca7e75449e519351
22 DIST doc8-0.9.1.tar.gz 31122 BLAKE2B 84708d05414fe1545558910d0d74ae9612091500efb1880062910b395f1244c6edb1fe1c95ff97a177fcbb4127fcbc4b819a749f90c8384c0c23e9041af12b25 SHA512 058403a808ec2d55cf732c8eb0e28f6902c935a6fe0fd4e3ce1a11088888f32875a416adf478b81192948ebd581548b2d1591581222f1e841e97777980a80d69
23
24 diff --git a/dev-python/doc8/doc8-0.11.0.ebuild b/dev-python/doc8/doc8-0.11.0.ebuild
25 new file mode 100644
26 index 000000000000..4f9d8a2a0054
27 --- /dev/null
28 +++ b/dev-python/doc8/doc8-0.11.0.ebuild
29 @@ -0,0 +1,44 @@
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 optfeature
39 +
40 +DESCRIPTION="Style checker for Sphinx (or other) RST documentation"
41 +HOMEPAGE="
42 + https://pypi.org/project/doc8/
43 + https://github.com/pycqa/doc8/
44 +"
45 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
46 +
47 +LICENSE="Apache-2.0"
48 +SLOT="0"
49 +KEYWORDS="~amd64 ~arm ~arm64 ~x86"
50 +
51 +RDEPEND="
52 + dev-python/docutils[${PYTHON_USEDEP}]
53 + dev-python/pygments[${PYTHON_USEDEP}]
54 + >=dev-python/restructuredtext-lint-0.7[${PYTHON_USEDEP}]
55 + dev-python/stevedore[${PYTHON_USEDEP}]
56 +"
57 +BDEPEND="
58 + dev-python/setuptools_scm[${PYTHON_USEDEP}]
59 + dev-python/setuptools_scm_git_archive[${PYTHON_USEDEP}]
60 + test? (
61 + dev-python/toml[${PYTHON_USEDEP}]
62 + )
63 +"
64 +
65 +distutils_enable_tests unittest
66 +
67 +python_test() {
68 + eunittest -s src
69 +}
70 +
71 +pkg_postinst() {
72 + optfeature "checking pyproject.toml projects" dev-python/toml
73 +}