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 16:48:10
Message-Id: 1600188478.e1e0f4b0d487bd191fd23f629544d71abd6131c8.prometheanfire@gentoo
1 commit: e1e0f4b0d487bd191fd23f629544d71abd6131c8
2 Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
3 AuthorDate: Tue Sep 15 16:47:41 2020 +0000
4 Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
5 CommitDate: Tue Sep 15 16:47:58 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1e0f4b0
7
8 app-admin/ansible-base: add ansible-base package
9
10 Package-Manager: Portage-3.0.4, Repoman-3.0.1
11 RepoMan-Options: --force
12 Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org>
13
14 app-admin/ansible-base/Manifest | 1 +
15 app-admin/ansible-base/ansible-base-2.10.0.ebuild | 74 +++++++++++++++++++++++
16 app-admin/ansible-base/metadata.xml | 29 +++++++++
17 3 files changed, 104 insertions(+)
18
19 diff --git a/app-admin/ansible-base/Manifest b/app-admin/ansible-base/Manifest
20 new file mode 100644
21 index 00000000000..4c96f4823ec
22 --- /dev/null
23 +++ b/app-admin/ansible-base/Manifest
24 @@ -0,0 +1 @@
25 +DIST ansible-base-2.10.0.tar.gz 5775091 BLAKE2B 2a087b1a9d675c5218e8700f5b455ff280a5dc6e66b575a47755b9936c54594300e3c22acadbe14acfd335c3be788e3d63f6ad3c5c51650cbc036c77ceec41ef SHA512 f9e9631f9ce77e55b06d01814422cbc0ca170e3fbbbd5886e4f87065b68b4d7eefe1c782f6dce14241cc548192c7b06ef778446636be02a342d4bd112000126e
26
27 diff --git a/app-admin/ansible-base/ansible-base-2.10.0.ebuild b/app-admin/ansible-base/ansible-base-2.10.0.ebuild
28 new file mode 100644
29 index 00000000000..3cc5cd35c7b
30 --- /dev/null
31 +++ b/app-admin/ansible-base/ansible-base-2.10.0.ebuild
32 @@ -0,0 +1,74 @@
33 +# Copyright 1999-2020 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=7
37 +
38 +PYTHON_COMPAT=( python3_{6,7} )
39 +
40 +inherit distutils-r1 eutils
41 +
42 +DESCRIPTION="Model-driven deployment, config management, and command execution framework"
43 +HOMEPAGE="https://ansible.com/"
44 +SRC_URI="https://releases.ansible.com/${PN}/${P}.tar.gz"
45 +
46 +LICENSE="GPL-3"
47 +SLOT="0"
48 +KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86 ~x64-macos"
49 +IUSE="doc test"
50 +RESTRICT="test"
51 +
52 +RDEPEND="
53 + dev-python/paramiko[${PYTHON_USEDEP}]
54 + dev-python/jinja[${PYTHON_USEDEP}]
55 + dev-python/pyyaml[${PYTHON_USEDEP}]
56 + dev-python/setuptools[${PYTHON_USEDEP}]
57 + dev-python/cryptography[${PYTHON_USEDEP}]
58 + dev-python/httplib2[${PYTHON_USEDEP}]
59 + dev-python/six[${PYTHON_USEDEP}]
60 + dev-python/netaddr[${PYTHON_USEDEP}]
61 + dev-python/pexpect[${PYTHON_USEDEP}]
62 + net-misc/sshpass
63 + virtual/ssh
64 +"
65 +DEPEND="
66 + dev-python/setuptools[${PYTHON_USEDEP}]
67 + >=dev-python/packaging-16.6[${PYTHON_USEDEP}]
68 + doc? (
69 + dev-python/sphinx[${PYTHON_USEDEP}]
70 + dev-python/sphinx-notfound-page[${PYTHON_USEDEP}]
71 + >=dev-python/pygments-2.4.0[${PYTHON_USEDEP}]
72 + )
73 + test? (
74 + ${RDEPEND}
75 + dev-python/nose[${PYTHON_USEDEP}]
76 + >=dev-python/mock-1.0.1[${PYTHON_USEDEP}]
77 + dev-python/passlib[${PYTHON_USEDEP}]
78 + dev-python/coverage[${PYTHON_USEDEP}]
79 + dev-python/unittest2[${PYTHON_USEDEP}]
80 + dev-vcs/git
81 + )"
82 +
83 +python_compile() {
84 + # disable version checks on upgrade
85 + export ANSIBLE_SKIP_CONFLICT_CHECK=1
86 + distutils-r1_python_compile
87 +}
88 +
89 +python_compile_all() {
90 + if use doc; then
91 + cd docs/docsite || die
92 + export CPUS=4
93 + emake -f Makefile.sphinx html
94 + fi
95 +}
96 +
97 +python_test() {
98 + nosetests -d -w test/units -v --with-coverage --cover-package=ansible --cover-branches || die
99 +}
100 +
101 +python_install_all() {
102 + use doc && local HTML_DOCS=( docs/docsite/_build/html/. )
103 + distutils-r1_python_install_all
104 +
105 + dodoc -r examples
106 +}
107
108 diff --git a/app-admin/ansible-base/metadata.xml b/app-admin/ansible-base/metadata.xml
109 new file mode 100644
110 index 00000000000..e1e179d4620
111 --- /dev/null
112 +++ b/app-admin/ansible-base/metadata.xml
113 @@ -0,0 +1,29 @@
114 +<?xml version="1.0" encoding="UTF-8"?>
115 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
116 +<pkgmetadata>
117 + <maintainer type="person">
118 + <email>chainsaw@g.o</email>
119 + <name>Tony Vroon</name>
120 + </maintainer>
121 + <maintainer type="person">
122 + <email>prometheanfire@g.o</email>
123 + <name>Matthew Thode</name>
124 + </maintainer>
125 + <maintainer type="person">
126 + <email>calchan@g.o</email>
127 + <name>Denis Dupeyron</name>
128 + </maintainer>
129 + <maintainer type="person">
130 + <email>monsieurp@g.o</email>
131 + <name>Patrice Clement</name>
132 + </maintainer>
133 + <upstream>
134 + <remote-id type="pypi">ansible-base</remote-id>
135 + <remote-id type="github">ansible/ansible</remote-id>
136 + <bugs-to>https://github.com/ansible/ansible/issues</bugs-to>
137 + </upstream>
138 + <longdescription lang="en">
139 +Radically simple deployment, model-driven configuration management, and
140 +command execution framework.
141 +</longdescription>
142 +</pkgmetadata>