1 |
commit: 083ac34670bcc6a7d639cb86d33c15ab7dcc7aac |
2 |
Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Nov 3 07:03:57 2020 +0000 |
4 |
Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Nov 3 07:06:45 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=083ac346 |
7 |
|
8 |
app-admin/ansible-base: 2.10.3 bump |
9 |
|
10 |
Package-Manager: Portage-3.0.8, Repoman-3.0.2 |
11 |
Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org> |
12 |
|
13 |
app-admin/ansible-base/Manifest | 1 + |
14 |
app-admin/ansible-base/ansible-base-2.10.3.ebuild | 77 +++++++++++++++++++++++ |
15 |
2 files changed, 78 insertions(+) |
16 |
|
17 |
diff --git a/app-admin/ansible-base/Manifest b/app-admin/ansible-base/Manifest |
18 |
index 9fddfe32080..43097ea8680 100644 |
19 |
--- a/app-admin/ansible-base/Manifest |
20 |
+++ b/app-admin/ansible-base/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST ansible-base-2.10.2.tar.gz 6023200 BLAKE2B 80abfa3fab56d3f997cbe90b557ffd5004b216709d6ba2c6d50ea0fb7a2e5a2ad49ce83bfc7a17054582e786f53ce29814d8b5a3fc2408a1e729b1647619080c SHA512 2ee60303841e88d3451ddbcc4c18473d3a37253873406b0783816b1bbf9d8404599ebed12bac7c7f32693314048668b84f3a1c593621c7b8c37a7b48687c769b |
23 |
+DIST ansible-base-2.10.3.tar.gz 5836841 BLAKE2B 000ee1e369beb450a9a58680030fc7605f62020a28f0ec4634569be0b12ca54c79d0c36a6022895f93b6f8449b8f8483e07590eeea233383490600bbce600aff SHA512 4da2c79c7d990bbe07e136447643484d947e512693194017623deadd88d6556dac67865069182059ae2daf82a13876600dc5472712d6ab6e0556cb829fce3b5b |
24 |
|
25 |
diff --git a/app-admin/ansible-base/ansible-base-2.10.3.ebuild b/app-admin/ansible-base/ansible-base-2.10.3.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..c30b5bcbb87 |
28 |
--- /dev/null |
29 |
+++ b/app-admin/ansible-base/ansible-base-2.10.3.ebuild |
30 |
@@ -0,0 +1,77 @@ |
31 |
+# Copyright 1999-2020 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+PYTHON_COMPAT=( python3_{6..9} ) |
37 |
+ |
38 |
+inherit distutils-r1 eutils |
39 |
+ |
40 |
+DESCRIPTION="Model-driven deployment, config management, and command execution framework" |
41 |
+HOMEPAGE="https://ansible.com/" |
42 |
+SRC_URI="https://releases.ansible.com/${PN}/${P}.tar.gz" |
43 |
+ |
44 |
+LICENSE="GPL-3" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~x64-macos" |
47 |
+IUSE="doc test" |
48 |
+RESTRICT="test" |
49 |
+ |
50 |
+RDEPEND=" |
51 |
+ dev-python/paramiko[${PYTHON_USEDEP}] |
52 |
+ dev-python/jinja[${PYTHON_USEDEP}] |
53 |
+ dev-python/pyyaml[${PYTHON_USEDEP}] |
54 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
55 |
+ dev-python/cryptography[${PYTHON_USEDEP}] |
56 |
+ dev-python/httplib2[${PYTHON_USEDEP}] |
57 |
+ dev-python/six[${PYTHON_USEDEP}] |
58 |
+ dev-python/netaddr[${PYTHON_USEDEP}] |
59 |
+ dev-python/pexpect[${PYTHON_USEDEP}] |
60 |
+ net-misc/sshpass |
61 |
+ virtual/ssh |
62 |
+ !<app-admin/ansible-2.10 |
63 |
+" |
64 |
+# ansible-2.10 or above is needed for the collections |
65 |
+DEPEND=" |
66 |
+ !<app-admin/ansible-2.10 |
67 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
68 |
+ >=dev-python/packaging-16.6[${PYTHON_USEDEP}] |
69 |
+ doc? ( |
70 |
+ dev-python/sphinx[${PYTHON_USEDEP}] |
71 |
+ dev-python/sphinx-notfound-page[${PYTHON_USEDEP}] |
72 |
+ >=dev-python/pygments-2.4.0[${PYTHON_USEDEP}] |
73 |
+ ) |
74 |
+ test? ( |
75 |
+ ${RDEPEND} |
76 |
+ dev-python/nose[${PYTHON_USEDEP}] |
77 |
+ >=dev-python/mock-1.0.1[${PYTHON_USEDEP}] |
78 |
+ dev-python/passlib[${PYTHON_USEDEP}] |
79 |
+ dev-python/coverage[${PYTHON_USEDEP}] |
80 |
+ dev-python/unittest2[${PYTHON_USEDEP}] |
81 |
+ dev-vcs/git |
82 |
+ )" |
83 |
+ |
84 |
+python_compile() { |
85 |
+ # disable version checks on upgrade |
86 |
+ export ANSIBLE_SKIP_CONFLICT_CHECK=1 |
87 |
+ distutils-r1_python_compile |
88 |
+} |
89 |
+ |
90 |
+python_compile_all() { |
91 |
+ if use doc; then |
92 |
+ cd docs/docsite || die |
93 |
+ export CPUS=4 |
94 |
+ emake -f Makefile.sphinx html |
95 |
+ fi |
96 |
+} |
97 |
+ |
98 |
+python_test() { |
99 |
+ nosetests -d -w test/units -v --with-coverage --cover-package=ansible --cover-branches || die |
100 |
+} |
101 |
+ |
102 |
+python_install_all() { |
103 |
+ use doc && local HTML_DOCS=( docs/docsite/_build/html/. ) |
104 |
+ distutils-r1_python_install_all |
105 |
+ |
106 |
+ dodoc -r examples |
107 |
+} |