1 |
commit: 1e77158c0ccfec4f005ee9955e54b3fb23f26c70 |
2 |
Author: Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com> |
3 |
AuthorDate: Tue Sep 8 19:46:02 2020 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Sep 17 20:22:17 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e77158c |
7 |
|
8 |
dev-python/doit: update to 0.33.1 |
9 |
|
10 |
Package-Manager: Portage-3.0.4, Repoman-3.0.1 |
11 |
Signed-off-by: Azamat H. Hackimov <azamat.hackimov <AT> gmail.com> |
12 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
13 |
|
14 |
dev-python/doit/Manifest | 1 + |
15 |
dev-python/doit/doit-0.33.1.ebuild | 49 ++++++++++++++++++++++++++++++++++++++ |
16 |
2 files changed, 50 insertions(+) |
17 |
|
18 |
diff --git a/dev-python/doit/Manifest b/dev-python/doit/Manifest |
19 |
index eacb778f78b..92bee65c44e 100644 |
20 |
--- a/dev-python/doit/Manifest |
21 |
+++ b/dev-python/doit/Manifest |
22 |
@@ -1 +1,2 @@ |
23 |
DIST doit-0.32.0.tar.gz 1437939 BLAKE2B 39134341582cd964630a1667c78b0e44eeb32406a06e3567123b820fb61cbee0f6a7c8879a84eed750860a365aa4c792e461bb1534c66e4f20a6289522dc8183 SHA512 d5c28a0c6a38648aeef58027b2246fc26360e133e91933f2244bd484f70d6d26110acbfec19c74d53c796e0bbae07a4bf6d76542d45e8b1a6b503c186bf2a68a |
24 |
+DIST doit-0.33.1.tar.gz 1436620 BLAKE2B be294246447d36011274d57b5300b4451847751f228622bcd5a45f91367371ed5dd9c40a2476e558be8137b16fefda4bf6f1795108d0c982990abc62db5560e6 SHA512 852efa3b770ec5de7def1fad1167b8cdce1de7435b2ba5e4af43a84c84df0cbf960d8d5c4c9f526f303d19c7536f745c2c7700daaced984ec86fb4202f894170 |
25 |
|
26 |
diff --git a/dev-python/doit/doit-0.33.1.ebuild b/dev-python/doit/doit-0.33.1.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..b32d380528b |
29 |
--- /dev/null |
30 |
+++ b/dev-python/doit/doit-0.33.1.ebuild |
31 |
@@ -0,0 +1,49 @@ |
32 |
+# Copyright 1999-2020 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+PYTHON_COMPAT=( python3_{6,7,8} ) |
38 |
+DISTUTILS_USE_SETUPTOOLS=rdepend |
39 |
+ |
40 |
+inherit bash-completion-r1 distutils-r1 |
41 |
+ |
42 |
+DESCRIPTION="Automation tool" |
43 |
+HOMEPAGE="https://pydoit.org/ https://pypi.org/project/doit/" |
44 |
+SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz" |
45 |
+ |
46 |
+LICENSE="MIT" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~amd64 ~x86" |
49 |
+ |
50 |
+RDEPEND=" |
51 |
+ dev-python/cloudpickle[${PYTHON_USEDEP}] |
52 |
+ dev-python/pyinotify[${PYTHON_USEDEP}] |
53 |
+ dev-python/six[${PYTHON_USEDEP}]" |
54 |
+DEPEND=" |
55 |
+ test? ( |
56 |
+ ${RDEPEND} |
57 |
+ $(python_gen_impl_dep sqlite) |
58 |
+ dev-python/mock[${PYTHON_USEDEP}] |
59 |
+ dev-python/pyflakes[${PYTHON_USEDEP}] |
60 |
+ >=dev-python/pytest-5.4[${PYTHON_USEDEP}] |
61 |
+ )" |
62 |
+PDEPEND=">=dev-python/doit-py-0.4.0[${PYTHON_USEDEP}]" |
63 |
+ |
64 |
+distutils_enable_tests pytest |
65 |
+distutils_enable_sphinx doc dev-python/sphinx_rtd_theme |
66 |
+ |
67 |
+src_prepare() { |
68 |
+ default |
69 |
+ # Replace custom theme with builtin for documentation |
70 |
+ sed -i -e "s:'press':'sphinx_rtd_theme':" doc/conf.py || die |
71 |
+ # Disable test failing due to impact on PATH run in a sandbox |
72 |
+ sed -i -e "s:test_target:_&:" tests/test_cmd_strace.py || die |
73 |
+} |
74 |
+ |
75 |
+src_install() { |
76 |
+ distutils-r1_src_install |
77 |
+ newbashcomp bash_completion_doit ${PN} |
78 |
+ insinto /usr/share/zsh/site-functions |
79 |
+ newins zsh_completion_doit _${PN} |
80 |
+} |