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-core/
Date: Tue, 13 Sep 2022 16:36:38
Message-Id: 1663086922.77d6042320fbade5015c407e0cc3af7a667c4e03.prometheanfire@gentoo
1 commit: 77d6042320fbade5015c407e0cc3af7a667c4e03
2 Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
3 AuthorDate: Tue Sep 13 16:35:22 2022 +0000
4 Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
5 CommitDate: Tue Sep 13 16:35:22 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77d60423
7
8 app-admin/ansible-core: add 2.12.9, 2.13.4
9
10 Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org>
11
12 app-admin/ansible-core/Manifest | 2 +
13 app-admin/ansible-core/ansible-core-2.12.9.ebuild | 61 +++++++++++++++++++++++
14 app-admin/ansible-core/ansible-core-2.13.4.ebuild | 53 ++++++++++++++++++++
15 3 files changed, 116 insertions(+)
16
17 diff --git a/app-admin/ansible-core/Manifest b/app-admin/ansible-core/Manifest
18 index 450ba28e8a3f..a501e17698c0 100644
19 --- a/app-admin/ansible-core/Manifest
20 +++ b/app-admin/ansible-core/Manifest
21 @@ -1,5 +1,7 @@
22 DIST ansible-core-2.11.7.tar.gz 7108269 BLAKE2B c5080161bfffc34382db86f3940dbbf1c8194a4413b20ef28b3c15503aec905acfffc864041496b4f6b4b77966fee3221b80e90d4b952e38513ba9ce506ee1ae SHA512 f37c925c5302eff30d17f52a04d4a5311e38ee5c1d6db4fbdb32970afa362e0522d6ec3d07bddf40137b2f5ec5fa03a2b72e7e1ed313c28c207f65490e49af92
23 DIST ansible-core-2.12.7.tar.gz 7756456 BLAKE2B e9c5b446fbd80524572646667875afa26a28cd6f8a0c138383ef2af7fe2e51ba5dcbb19bdbb00e7e367ba78f9667be0b03320f887367dc5cc3d18cfc33ebf89b SHA512 15b29bc52cbcd690d442e4923bad23c2b4db34b1d9af9a7e3a73fbad6b4d775795a44df80c739ad409206767f6bc9efc3d5abdab593fb2abd6ba991ca8cbee67
24 DIST ansible-core-2.12.8.tar.gz 7760983 BLAKE2B 9050033ca76f7f3bb6d5043d58e7a4b2473ee1eb21b5665654e5a571e8ebe408897661ad0f13c4f4b0d1569c1df904434cc4911e1b561b229d8ab16109127930 SHA512 1bb30dba44f11b0655000350b54cae30b85258dccc130d5cd2b1a5c70e0ebe93abd8fe41d5830da34b6fe622276f69f18a0f47bf9d0b0269338a7efbd5820e44
25 +DIST ansible-core-2.12.9.tar.gz 7758384 BLAKE2B ed32d1ae9b82e96fe9a2ba2175e2a90961d3a6bb20baecd405e6c0bd1384ac61b9a1f1a1b7bd9f290d89d89c4451129f9049dd9c1dd7897a6d96f1730de4e423 SHA512 da88489c81293e8361067a17891f9330582b3d21c88584e3268f84511811364ce93c4e1b88b3796faea11274c76c64aa8af74608fce9a074fcc8fc3760d2b90b
26 DIST ansible-core-2.13.2.tar.gz 13332205 BLAKE2B 446421a6ab86e1edd1087506c48b8d7eceaaa594a0c866fc3639c4b5a3809b4e5a7d39feb94a56be112dda585994291e07194f7e3392d0dbe6e088cf7327b9be SHA512 a57cf0388c0866b30513a84733208b85b5d352755e884021ec5120f32b5b76d751f9f03320336744d925f69f6b35064eb58081029f49f7987b9a877913c3c29b
27 DIST ansible-core-2.13.3.tar.gz 13924100 BLAKE2B aabb87a327f2cd4b3a8f8a30d00b09d50ddf05bbd8720e446275004ba98e87bc1de513dfaedf9ee617c77235c92f171b590295ca8a92d03f47829eacf39e7cb8 SHA512 9be80d0dcd10d012c871b5c95b2357430dfa6809bff794158a4ae06a40761c01db60a966115d7a9141028c96d79a1d99d6bfb191788dc1c467dd0107dba7058c
28 +DIST ansible-core-2.13.4.tar.gz 13929408 BLAKE2B 17e27afebf9ce47d49fe9d171549cc46eca13604474545feb1c6e30432334d38a50e76a2fed71e978ebf44dad925ea66d63142599e07f78cbae8a2d25e923d02 SHA512 62678ad80b2073552070f154c55707c1b89bcb9d2d56235d76bb4701344e387d250590a931340cb676a605677cf69ab56b1b15b30d75859de4b294662dc50ee0
29
30 diff --git a/app-admin/ansible-core/ansible-core-2.12.9.ebuild b/app-admin/ansible-core/ansible-core-2.12.9.ebuild
31 new file mode 100644
32 index 000000000000..10e608c937a9
33 --- /dev/null
34 +++ b/app-admin/ansible-core/ansible-core-2.12.9.ebuild
35 @@ -0,0 +1,61 @@
36 +# Copyright 1999-2022 Gentoo Authors
37 +# Distributed under the terms of the GNU General Public License v2
38 +
39 +EAPI=8
40 +
41 +PYTHON_COMPAT=( python3_{8..10} )
42 +DISTUTILS_USE_SETUPTOOLS=bdepend
43 +
44 +inherit distutils-r1
45 +
46 +DESCRIPTION="Model-driven deployment, config management, and command execution framework"
47 +HOMEPAGE="https://www.ansible.com/"
48 +
49 +if [[ ${PV} == 9999 ]]; then
50 + inherit git-r3
51 + EGIT_REPO_URI="https://github.com/ansible/ansible.git"
52 + EGIT_BRANCH="devel"
53 +else
54 + SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
55 + KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86 ~x64-macos"
56 +fi
57 +
58 +LICENSE="GPL-3"
59 +SLOT="0"
60 +IUSE="test"
61 +RESTRICT="test"
62 +
63 +RDEPEND="
64 + dev-python/paramiko[${PYTHON_USEDEP}]
65 + dev-python/jinja[${PYTHON_USEDEP}]
66 + dev-python/pyyaml[${PYTHON_USEDEP}]
67 + dev-python/cryptography[${PYTHON_USEDEP}]
68 + dev-python/httplib2[${PYTHON_USEDEP}]
69 + dev-python/six[${PYTHON_USEDEP}]
70 + dev-python/netaddr[${PYTHON_USEDEP}]
71 + dev-python/pexpect[${PYTHON_USEDEP}]
72 + >=dev-python/resolvelib-0.5.3[${PYTHON_USEDEP}]
73 + <dev-python/resolvelib-0.6.0[${PYTHON_USEDEP}]
74 + net-misc/sshpass
75 + virtual/ssh
76 +"
77 +DEPEND="
78 + >=dev-python/packaging-16.6[${PYTHON_USEDEP}]
79 + test? (
80 + ${RDEPEND}
81 + dev-python/bcrypt[${PYTHON_USEDEP}]
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-vcs/git
87 + )"
88 +
89 +python_compile() {
90 + export ANSIBLE_SKIP_CONFLICT_CHECK=1
91 + distutils-r1_python_compile
92 +}
93 +
94 +python_test() {
95 + nosetests -d -w test/units -v --with-coverage --cover-package=ansible --cover-branches || die
96 +}
97
98 diff --git a/app-admin/ansible-core/ansible-core-2.13.4.ebuild b/app-admin/ansible-core/ansible-core-2.13.4.ebuild
99 new file mode 100644
100 index 000000000000..3655837bc68d
101 --- /dev/null
102 +++ b/app-admin/ansible-core/ansible-core-2.13.4.ebuild
103 @@ -0,0 +1,53 @@
104 +# Copyright 1999-2022 Gentoo Authors
105 +# Distributed under the terms of the GNU General Public License v2
106 +
107 +EAPI=8
108 +
109 +PYTHON_COMPAT=( python3_{8..11} )
110 +DISTUTILS_USE_SETUPTOOLS=bdepend
111 +
112 +inherit distutils-r1
113 +
114 +DESCRIPTION="Model-driven deployment, config management, and command execution framework"
115 +HOMEPAGE="https://www.ansible.com/"
116 +
117 +if [[ ${PV} == 9999 ]]; then
118 + inherit git-r3
119 + EGIT_REPO_URI="https://github.com/ansible/ansible.git"
120 + EGIT_BRANCH="devel"
121 +else
122 + SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
123 + KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86 ~x64-macos"
124 +fi
125 +
126 +LICENSE="GPL-3"
127 +SLOT="0"
128 +RESTRICT="test"
129 +
130 +RDEPEND="
131 + dev-python/paramiko[${PYTHON_USEDEP}]
132 + dev-python/jinja[${PYTHON_USEDEP}]
133 + dev-python/pyyaml[${PYTHON_USEDEP}]
134 + dev-python/cryptography[${PYTHON_USEDEP}]
135 + dev-python/httplib2[${PYTHON_USEDEP}]
136 + dev-python/six[${PYTHON_USEDEP}]
137 + dev-python/netaddr[${PYTHON_USEDEP}]
138 + dev-python/pexpect[${PYTHON_USEDEP}]
139 + >=dev-python/resolvelib-0.5.3[${PYTHON_USEDEP}]
140 + <dev-python/resolvelib-0.9.0[${PYTHON_USEDEP}]
141 + net-misc/sshpass
142 + virtual/ssh
143 +"
144 +BDEPEND="
145 + >=dev-python/packaging-16.6[${PYTHON_USEDEP}]
146 + test? (
147 + dev-python/botocore[${PYTHON_USEDEP}]
148 + dev-python/pytz[${PYTHON_USEDEP}]
149 + )"
150 +
151 +distutils_enable_tests pytest
152 +
153 +python_compile() {
154 + export ANSIBLE_SKIP_CONFLICT_CHECK=1
155 + distutils-r1_python_compile
156 +}