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