1 |
commit: c389247d56af9c66a862323808fc71a6b397b11f |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Sep 22 14:05:25 2021 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Sep 22 14:05:25 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c389247d |
7 |
|
8 |
dev-python/doc8: add 0.9.0, enable py3.{9,10}, enable tests |
9 |
|
10 |
Closes: https://bugs.gentoo.org/812371 |
11 |
Closes: https://bugs.gentoo.org/797841 |
12 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
13 |
|
14 |
dev-python/doc8/Manifest | 1 + |
15 |
dev-python/doc8/doc8-0.9.0.ebuild | 37 +++++++++++++++++++++++++++++++++++++ |
16 |
2 files changed, 38 insertions(+) |
17 |
|
18 |
diff --git a/dev-python/doc8/Manifest b/dev-python/doc8/Manifest |
19 |
index 5eaa7c25a22..02a4c2b515f 100644 |
20 |
--- a/dev-python/doc8/Manifest |
21 |
+++ b/dev-python/doc8/Manifest |
22 |
@@ -1 +1,2 @@ |
23 |
DIST doc8-0.6.0.tar.gz 21547 BLAKE2B 84908a28e46fa970db7510d5fec7815028b9e65bec3cb5c0352f4ed88560765bde4c76aea3ba803ce737dff1856b702b21cebcf151587f6ae2870d4d1126d0a5 SHA512 1858334d3a0247d4d30c311bd7f13be66a6cdb6131f9d24dc10e38efaed6e08c8c7d11b776ff5dac7d6ae5eeb1cb7ef03523bc3e244794625a8ac1346cc05d75 |
24 |
+DIST doc8-0.9.0.tar.gz 30995 BLAKE2B 9960e223e9ada9646a0e302230714dbeef1525bf9a912ec1b7a8a0c5e4bf2d2307c2303524668d770ddb38d0b30e4a868e5a2280b7c6ffc1b4b80854f2576e75 SHA512 ebff512dfffb7d21d9173f0ff6ca282810334abfbd9c95570dba4e27796e79bc8d14fd2914c029a3cbf235766305dfa37ca565e2e20d32c63ea741f8ce4d1ae2 |
25 |
|
26 |
diff --git a/dev-python/doc8/doc8-0.9.0.ebuild b/dev-python/doc8/doc8-0.9.0.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..e7f37e7f4c4 |
29 |
--- /dev/null |
30 |
+++ b/dev-python/doc8/doc8-0.9.0.ebuild |
31 |
@@ -0,0 +1,37 @@ |
32 |
+# Copyright 1999-2021 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=8 |
36 |
+ |
37 |
+PYTHON_COMPAT=( python3_{8..10} ) |
38 |
+inherit distutils-r1 optfeature |
39 |
+ |
40 |
+DESCRIPTION="Style checker for Sphinx (or other) RST documentation" |
41 |
+HOMEPAGE="http://git.openstack.org/cgit/stackforge/doc8" |
42 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
43 |
+ |
44 |
+LICENSE="Apache-2.0" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~amd64 ~arm ~arm64 ~x86" |
47 |
+ |
48 |
+RDEPEND=" |
49 |
+ dev-python/pbr[${PYTHON_USEDEP}] |
50 |
+ dev-python/chardet[${PYTHON_USEDEP}] |
51 |
+ dev-python/docutils[${PYTHON_USEDEP}] |
52 |
+ dev-python/restructuredtext-lint[${PYTHON_USEDEP}] |
53 |
+ dev-python/six[${PYTHON_USEDEP}] |
54 |
+ dev-python/stevedore[${PYTHON_USEDEP}]" |
55 |
+BDEPEND=" |
56 |
+ dev-python/pbr[${PYTHON_USEDEP}] |
57 |
+ test? ( |
58 |
+ dev-python/mock[${PYTHON_USEDEP}] |
59 |
+ dev-python/testtools[${PYTHON_USEDEP}] |
60 |
+ dev-python/toml[${PYTHON_USEDEP}] |
61 |
+ ) |
62 |
+" |
63 |
+ |
64 |
+distutils_enable_tests unittest |
65 |
+ |
66 |
+pkg_postinst() { |
67 |
+ optfeature "checking pyproject.toml projects" dev-python/toml |
68 |
+} |