1 |
commit: babe596cbc6a0b8b65de5e14d2b29495ee767cfa |
2 |
Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Nov 3 07:06:22 2020 +0000 |
4 |
Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Nov 3 07:06:47 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=babe596c |
7 |
|
8 |
app-admin/ansible: 2.10.1 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/Manifest | 1 + |
14 |
app-admin/ansible/ansible-2.10.1.ebuild | 82 +++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 83 insertions(+) |
16 |
|
17 |
diff --git a/app-admin/ansible/Manifest b/app-admin/ansible/Manifest |
18 |
index 794b8ef5739..7d8b3bc4ebd 100644 |
19 |
--- a/app-admin/ansible/Manifest |
20 |
+++ b/app-admin/ansible/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST ansible-2.10.0.tar.gz 25454980 BLAKE2B 91f930518b90b36aa2c21f553092233059fada86fd1674c9c6e881484b1bd4e68a3eaa05d82e15115906e55da99c43394c3de36a898e26bb222f780b82f8a5bd SHA512 878036f06e1705e4392223bda210b2acae0232069d0cec02a47f13f6b3bc6c9538fb515a2d2dc6003695bcf0915fdd3dfc5b8dc59355e37e2ca8fa48bbd79657 |
23 |
+DIST ansible-2.10.1.tar.gz 25851704 BLAKE2B f9f42ab9f7864a48f0d960b4e8149dfba3ece6c4b01c08db59f9ba5fbcd39771c7b315bf7c9853641d15c2bb6319c9b9ebc791440fc8933780895024c9b74c12 SHA512 46bbbfb22e5c3715df0069d420b174877dffd59f91613779e7057648d15751d528a9cb57357709d0c04a507a60e20c87b109ba1904e1f313441cf5832ba93b5e |
24 |
|
25 |
diff --git a/app-admin/ansible/ansible-2.10.1.ebuild b/app-admin/ansible/ansible-2.10.1.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..e354669aeae |
28 |
--- /dev/null |
29 |
+++ b/app-admin/ansible/ansible-2.10.1.ebuild |
30 |
@@ -0,0 +1,82 @@ |
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 |
+DISTUTILS_USE_SETUPTOOLS=bdepend |
38 |
+ |
39 |
+inherit distutils-r1 eutils |
40 |
+ |
41 |
+DESCRIPTION="Model-driven deployment, config management, and command execution framework" |
42 |
+HOMEPAGE="https://ansible.com/" |
43 |
+ |
44 |
+if [[ ${PV} == 9999 ]]; then |
45 |
+ inherit git-r3 |
46 |
+ EGIT_REPO_URI="https://github.com/ansible/ansible.git" |
47 |
+ EGIT_BRANCH="devel" |
48 |
+ KEYWORDS="" |
49 |
+else |
50 |
+ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
51 |
+ KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~x64-macos" |
52 |
+fi |
53 |
+ |
54 |
+LICENSE="GPL-3" |
55 |
+SLOT="0" |
56 |
+IUSE="doc test" |
57 |
+RESTRICT="test" |
58 |
+ |
59 |
+RDEPEND=" |
60 |
+ dev-python/paramiko[${PYTHON_USEDEP}] |
61 |
+ dev-python/jinja[${PYTHON_USEDEP}] |
62 |
+ dev-python/pyyaml[${PYTHON_USEDEP}] |
63 |
+ dev-python/cryptography[${PYTHON_USEDEP}] |
64 |
+ dev-python/httplib2[${PYTHON_USEDEP}] |
65 |
+ dev-python/six[${PYTHON_USEDEP}] |
66 |
+ dev-python/netaddr[${PYTHON_USEDEP}] |
67 |
+ dev-python/pexpect[${PYTHON_USEDEP}] |
68 |
+ net-misc/sshpass |
69 |
+ virtual/ssh |
70 |
+ app-admin/ansible-base |
71 |
+" |
72 |
+DEPEND=" |
73 |
+ >=dev-python/packaging-16.6[${PYTHON_USEDEP}] |
74 |
+ app-admin/ansible-base |
75 |
+ doc? ( |
76 |
+ dev-python/sphinx[${PYTHON_USEDEP}] |
77 |
+ dev-python/sphinx-notfound-page[${PYTHON_USEDEP}] |
78 |
+ >=dev-python/pygments-2.4.0[${PYTHON_USEDEP}] |
79 |
+ ) |
80 |
+ test? ( |
81 |
+ ${RDEPEND} |
82 |
+ dev-python/nose[${PYTHON_USEDEP}] |
83 |
+ >=dev-python/mock-1.0.1[${PYTHON_USEDEP}] |
84 |
+ dev-python/passlib[${PYTHON_USEDEP}] |
85 |
+ dev-python/coverage[${PYTHON_USEDEP}] |
86 |
+ dev-python/unittest2[${PYTHON_USEDEP}] |
87 |
+ dev-vcs/git |
88 |
+ )" |
89 |
+ |
90 |
+PATCHES=( "${FILESDIR}/ansible-2.10.0-CVE-2020-25635-6.patch" ) |
91 |
+ |
92 |
+python_compile() { |
93 |
+ export ANSIBLE_SKIP_CONFLICT_CHECK=1 |
94 |
+ distutils-r1_python_compile |
95 |
+} |
96 |
+ |
97 |
+python_compile_all() { |
98 |
+ if use doc; then |
99 |
+ cd docs/docsite || die |
100 |
+ export CPUS=4 |
101 |
+ emake -f Makefile.sphinx html |
102 |
+ fi |
103 |
+} |
104 |
+ |
105 |
+python_test() { |
106 |
+ nosetests -d -w test/units -v --with-coverage --cover-package=ansible --cover-branches || die |
107 |
+} |
108 |
+ |
109 |
+python_install_all() { |
110 |
+ use doc && local HTML_DOCS=( docs/docsite/_build/html/. ) |
111 |
+ distutils-r1_python_install_all |
112 |
+} |