Gentoo Archives: gentoo-commits

From: Matthew Thode <prometheanfire@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/ansible-base/
Date: Tue, 15 Sep 2020 20:04:12
Message-Id: 1600200245.75e0303148541a3016f44db596fc90c86e187032.prometheanfire@gentoo
1 commit: 75e0303148541a3016f44db596fc90c86e187032
2 Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
3 AuthorDate: Tue Sep 15 20:02:50 2020 +0000
4 Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
5 CommitDate: Tue Sep 15 20:04:05 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75e03031
7
8 app-admin/ansible-base: 2.10.1 bump
9
10 Package-Manager: Portage-3.0.4, Repoman-3.0.1
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.1.ebuild | 74 +++++++++++++++++++++++
15 2 files changed, 75 insertions(+)
16
17 diff --git a/app-admin/ansible-base/Manifest b/app-admin/ansible-base/Manifest
18 index 4c96f4823ec..bc5fd97adc4 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.0.tar.gz 5775091 BLAKE2B 2a087b1a9d675c5218e8700f5b455ff280a5dc6e66b575a47755b9936c54594300e3c22acadbe14acfd335c3be788e3d63f6ad3c5c51650cbc036c77ceec41ef SHA512 f9e9631f9ce77e55b06d01814422cbc0ca170e3fbbbd5886e4f87065b68b4d7eefe1c782f6dce14241cc548192c7b06ef778446636be02a342d4bd112000126e
23 +DIST ansible-base-2.10.1.tar.gz 5980851 BLAKE2B 478c9ca6ebf423dea98830ed0447201dfb8db24f963f2fc849e0eab395611c1fb923c5060c397e12138c3e98d7118e367c4713f44ad07ca914e20c3044e74bba SHA512 77bc2f3f6b924299add7e3a57beaf4a0517b036027a785c177874ae6a07a06679de65770a296f81ab0022cb0b495f17e2ceb772f906172fbf46fb65609be1ce2
24
25 diff --git a/app-admin/ansible-base/ansible-base-2.10.1.ebuild b/app-admin/ansible-base/ansible-base-2.10.1.ebuild
26 new file mode 100644
27 index 00000000000..4abf588a044
28 --- /dev/null
29 +++ b/app-admin/ansible-base/ansible-base-2.10.1.ebuild
30 @@ -0,0 +1,74 @@
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,7} )
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 +"
63 +DEPEND="
64 + dev-python/setuptools[${PYTHON_USEDEP}]
65 + >=dev-python/packaging-16.6[${PYTHON_USEDEP}]
66 + doc? (
67 + dev-python/sphinx[${PYTHON_USEDEP}]
68 + dev-python/sphinx-notfound-page[${PYTHON_USEDEP}]
69 + >=dev-python/pygments-2.4.0[${PYTHON_USEDEP}]
70 + )
71 + test? (
72 + ${RDEPEND}
73 + dev-python/nose[${PYTHON_USEDEP}]
74 + >=dev-python/mock-1.0.1[${PYTHON_USEDEP}]
75 + dev-python/passlib[${PYTHON_USEDEP}]
76 + dev-python/coverage[${PYTHON_USEDEP}]
77 + dev-python/unittest2[${PYTHON_USEDEP}]
78 + dev-vcs/git
79 + )"
80 +
81 +python_compile() {
82 + # disable version checks on upgrade
83 + export ANSIBLE_SKIP_CONFLICT_CHECK=1
84 + distutils-r1_python_compile
85 +}
86 +
87 +python_compile_all() {
88 + if use doc; then
89 + cd docs/docsite || die
90 + export CPUS=4
91 + emake -f Makefile.sphinx html
92 + fi
93 +}
94 +
95 +python_test() {
96 + nosetests -d -w test/units -v --with-coverage --cover-package=ansible --cover-branches || die
97 +}
98 +
99 +python_install_all() {
100 + use doc && local HTML_DOCS=( docs/docsite/_build/html/. )
101 + distutils-r1_python_install_all
102 +
103 + dodoc -r examples
104 +}