Gentoo Archives: gentoo-commits

From: Patrick McLean <chutzpah@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/salt/
Date: Wed, 29 Apr 2020 04:21:25
Message-Id: 1588134075.76fe9531c2aff80f35dc8a14809b97f7300a929a.chutzpah@gentoo
1 commit: 76fe9531c2aff80f35dc8a14809b97f7300a929a
2 Author: Patrick McLean <patrick.mclean <AT> sony <DOT> com>
3 AuthorDate: Wed Apr 29 04:21:05 2020 +0000
4 Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
5 CommitDate: Wed Apr 29 04:21:15 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76fe9531
7
8 app-admin/salt: remove old
9
10 Copyright: Sony Interactive Entertainment Inc.
11 Package-Manager: Portage-2.3.99, Repoman-2.3.22
12 Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>
13
14 app-admin/salt/Manifest | 2 -
15 app-admin/salt/salt-2019.2.0-r1.ebuild | 150 ---------------------------------
16 app-admin/salt/salt-2019.2.2.ebuild | 150 ---------------------------------
17 3 files changed, 302 deletions(-)
18
19 diff --git a/app-admin/salt/Manifest b/app-admin/salt/Manifest
20 index ce151f7de7f..bf06df6f8c2 100644
21 --- a/app-admin/salt/Manifest
22 +++ b/app-admin/salt/Manifest
23 @@ -1,4 +1,2 @@
24 DIST salt-2018.3.4.tar.gz 14404085 BLAKE2B 932b30b1ba60aefd3a6874a8ebe4cb6c469d82e31f6acdbe8a5641d09e3316796b5403ef803a355cec6255c1aede8bac3b66af179bd1bbaa5418c7076229cef9 SHA512 f17e06fdbf4741f231d9e769be57de4f6079e9283881b4bafa0d23928d7626a1f9c02b9f49c654b29c3e6ee8ed3d3ddf42c21baecef158ad63a97dc87895b21b
25 -DIST salt-2019.2.0.tar.gz 14952746 BLAKE2B aa3bba4b7d9548a8d333c242fc0265a743f56ff1a259da7c8618d37b3b022e12f09ac594a09f0ceec80fd9d3a6b6b9ec35b33e879b7a124e6612f2ec2a63a01c SHA512 de5a976213d011c230e423a172952effddb87168367958b8657eaaaf8fd2a8bec8471f547b6ff9e896a17064a13d387dbc12e12c605c8a241062e3238bd19eca
26 -DIST salt-2019.2.2.tar.gz 14420887 BLAKE2B 84e8a0aa72b88a66a1020b695849926669728ee02f8cb51a14853b5e9c2ab692fe65810367e5d53268f7b234c10911f16d063ce665b3761432ab1d9c0aa52d16 SHA512 2bbf9765384f1f6c2336a3f421298c8900cf459e6d1ebc7fb89284014ef8db9f5215a68de2bb06dfa3404983160a0c4c589ffa3dc046611dd5409bd502938677
27 DIST salt-2019.2.3.tar.gz 14572686 BLAKE2B 770b815f43ca8651408c1c057377b02c8037e673584c719e0a9b5c56c13c8db2db0e2c8641a17323f2b890d4a69d1508b0090624c7067869d9fa84303c2f8585 SHA512 cd694ca19696a84e3370e39c61da180e508592253713d99dd6dd5342b57c2814fee22e46bade30d7604f5730d9e1a736e59c3a512161f744d3f097f74a2836c5
28
29 diff --git a/app-admin/salt/salt-2019.2.0-r1.ebuild b/app-admin/salt/salt-2019.2.0-r1.ebuild
30 deleted file mode 100644
31 index dc4a1c91f8a..00000000000
32 --- a/app-admin/salt/salt-2019.2.0-r1.ebuild
33 +++ /dev/null
34 @@ -1,150 +0,0 @@
35 -# Copyright 1999-2020 Gentoo Authors
36 -# Distributed under the terms of the GNU General Public License v2
37 -
38 -EAPI=7
39 -PYTHON_COMPAT=( python3_6 )
40 -
41 -inherit eutils systemd distutils-r1
42 -
43 -DESCRIPTION="Salt is a remote execution and configuration manager"
44 -HOMEPAGE="https://www.saltstack.com/resources/community/
45 - https://github.com/saltstack"
46 -
47 -if [[ ${PV} == 9999* ]]; then
48 - inherit git-r3
49 - EGIT_REPO_URI="git://github.com/${PN}stack/${PN}.git"
50 - EGIT_BRANCH="develop"
51 - SRC_URI=""
52 - KEYWORDS=""
53 -else
54 - SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
55 - KEYWORDS="~amd64 ~x86"
56 -fi
57 -
58 -LICENSE="Apache-2.0"
59 -SLOT="0"
60 -IUSE="cherrypy ldap libcloud libvirt gnupg keyring mako mongodb neutron nova"
61 -IUSE+=" openssl portage profile redis selinux test raet +zeromq vim-syntax"
62 -
63 -RDEPEND="sys-apps/pciutils
64 - dev-python/jinja[${PYTHON_USEDEP}]
65 - dev-python/libnacl[${PYTHON_USEDEP}]
66 - >=dev-python/msgpack-0.3[${PYTHON_USEDEP}]
67 - dev-python/pyyaml[${PYTHON_USEDEP}]
68 - dev-python/markupsafe[${PYTHON_USEDEP}]
69 - >=dev-python/requests-1.0.0[${PYTHON_USEDEP}]
70 - dev-python/setuptools[${PYTHON_USEDEP}]
71 - >=www-servers/tornado-4.2.1[${PYTHON_USEDEP}]
72 - <www-servers/tornado-5.0[${PYTHON_USEDEP}]
73 - libcloud? ( >=dev-python/libcloud-0.14.0[${PYTHON_USEDEP}] )
74 - mako? ( dev-python/mako[${PYTHON_USEDEP}] )
75 - ldap? ( dev-python/python-ldap[${PYTHON_USEDEP}] )
76 - libvirt? ( dev-python/libvirt-python[${PYTHON_USEDEP}] )
77 - openssl? (
78 - dev-libs/openssl:0=[-bindist]
79 - dev-python/pyopenssl[${PYTHON_USEDEP}]
80 - )
81 - raet? (
82 - >=dev-python/libnacl-1.0.0[${PYTHON_USEDEP}]
83 - >=dev-python/ioflo-1.1.7[${PYTHON_USEDEP}]
84 - >=dev-python/raet-0.6.0[${PYTHON_USEDEP}]
85 - )
86 - zeromq? (
87 - >=dev-python/pyzmq-2.2.0[${PYTHON_USEDEP}]
88 - dev-python/pycryptodome[${PYTHON_USEDEP}]
89 - )
90 - cherrypy? ( >=dev-python/cherrypy-3.2.2[${PYTHON_USEDEP}] )
91 - mongodb? ( dev-python/pymongo[${PYTHON_USEDEP}] )
92 - portage? ( sys-apps/portage[${PYTHON_USEDEP}] )
93 - keyring? ( dev-python/keyring[${PYTHON_USEDEP}] )
94 - redis? ( dev-python/redis-py[${PYTHON_USEDEP}] )
95 - selinux? ( sec-policy/selinux-salt )
96 - nova? ( >=dev-python/python-novaclient-2.17.0[${PYTHON_USEDEP}] )
97 - neutron? ( >=dev-python/python-neutronclient-2.3.6[${PYTHON_USEDEP}] )
98 - gnupg? ( dev-python/python-gnupg[${PYTHON_USEDEP}] )
99 - profile? ( dev-python/yappi[${PYTHON_USEDEP}] )
100 - vim-syntax? ( app-vim/salt-vim )"
101 -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
102 - test? (
103 - >=dev-python/pytest-salt-2018.12.8[${PYTHON_USEDEP}]
104 - dev-python/pytest-helpers-namespace[${PYTHON_USEDEP}]
105 - dev-python/psutil[${PYTHON_USEDEP}]
106 - dev-python/pytest[${PYTHON_USEDEP}]
107 - dev-python/pytest-catchlog[${PYTHON_USEDEP}]
108 - dev-python/pip[${PYTHON_USEDEP}]
109 - dev-python/virtualenv[${PYTHON_USEDEP}]
110 - >=dev-python/mock-2.0.0[${PYTHON_USEDEP}]
111 - >=dev-python/boto-2.32.1[${PYTHON_USEDEP}]
112 - !x86? ( >=dev-python/boto3-1.2.1[${PYTHON_USEDEP}] )
113 - >=dev-python/moto-0.3.6[${PYTHON_USEDEP}]
114 - >=dev-python/SaltTesting-2016.5.11[${PYTHON_USEDEP}]
115 - >=dev-python/libcloud-0.14.0[${PYTHON_USEDEP}]
116 - ${RDEPEND}
117 - )"
118 -
119 -DOCS=( README.rst AUTHORS )
120 -
121 -REQUIRED_USE="|| ( raet zeromq )"
122 -RESTRICT="!test? ( test ) x86? ( test )"
123 -
124 -PATCHES=(
125 - "${FILESDIR}/salt-2017.7.0-dont-realpath-tmpdir.patch"
126 - "${FILESDIR}/salt-2019.2.0-tests.patch"
127 - "${FILESDIR}/salt-2018.3.2-skip-zeromq-test-that-hangs.patch"
128 - "${FILESDIR}/salt-2019.2.0-skip-tests-that-oom-machine.patch"
129 - "${FILESDIR}/salt-2019.2.0-newer-deps.patch"
130 -)
131 -
132 -python_prepare() {
133 - # remove tests with external dependencies that may not be available
134 - rm tests/unit/{test_zypp_plugins.py,utils/test_extend.py} || die
135 - rm tests/unit/modules/test_{file,boto_{vpc,secgroup,elb}}.py || die
136 - rm tests/unit/states/test_boto_vpc.py || die
137 - rm tests/unit/modules/test_{kubernetes,vsphere}.py || die
138 -
139 - # allow the use of the renamed msgpack
140 - sed -i '/^msgpack/d' requirements/base.txt || die
141 -}
142 -
143 -python_install_all() {
144 - local svc
145 - USE_SETUPTOOLS=1 distutils-r1_python_install_all
146 -
147 - for svc in minion master syndic api; do
148 - newinitd "${FILESDIR}"/${svc}-initd-4 salt-${svc}
149 - newconfd "${FILESDIR}"/${svc}-confd-1 salt-${svc}
150 - systemd_dounit "${FILESDIR}"/salt-${svc}.service
151 - done
152 -
153 - insinto /etc/${PN}
154 - doins -r conf/*
155 -}
156 -
157 -python_test() {
158 - local tempdir
159 - # testsuite likes lots of files
160 - ulimit -n 3072 || die
161 -
162 - # ${T} is too long a path for the tests to work
163 - tempdir="$(mktemp -du --tmpdir=/tmp salt-XXX)"
164 - mkdir "${T}/$(basename "${tempdir}")"
165 - mkdir "${BUILD_DIR}"/../{templates,conf/cloud.{providers,profiles,maps}.d} || die
166 -
167 - (
168 - cleanup() {
169 - rm -f "${tempdir}"
170 - rmdir "${BUILD_DIR}"/../{templates,conf/cloud.{providers,profiles,maps}.d} || die
171 - }
172 -
173 - trap cleanup EXIT
174 -
175 - addwrite "${tempdir}"
176 - ln -s "$(realpath --relative-to=/tmp "${T}/$(basename "${tempdir}")")" "${tempdir}"
177 -
178 - USE_SETUPTOOLS=1 SHELL="/bin/bash" \
179 - TMPDIR="${tempdir}" \
180 - ${EPYTHON} tests/runtests.py \
181 - --unit-tests --no-report --verbose
182 -
183 - ) || die "testing failed"
184 -}
185
186 diff --git a/app-admin/salt/salt-2019.2.2.ebuild b/app-admin/salt/salt-2019.2.2.ebuild
187 deleted file mode 100644
188 index c6961f4ebef..00000000000
189 --- a/app-admin/salt/salt-2019.2.2.ebuild
190 +++ /dev/null
191 @@ -1,150 +0,0 @@
192 -# Copyright 1999-2020 Gentoo Authors
193 -# Distributed under the terms of the GNU General Public License v2
194 -
195 -EAPI=7
196 -PYTHON_COMPAT=( python3_6 )
197 -
198 -inherit eutils systemd distutils-r1
199 -
200 -DESCRIPTION="Salt is a remote execution and configuration manager"
201 -HOMEPAGE="https://www.saltstack.com/resources/community/
202 - https://github.com/saltstack"
203 -
204 -if [[ ${PV} == 9999* ]]; then
205 - inherit git-r3
206 - EGIT_REPO_URI="git://github.com/${PN}stack/${PN}.git"
207 - EGIT_BRANCH="develop"
208 - SRC_URI=""
209 - KEYWORDS=""
210 -else
211 - SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
212 - KEYWORDS="~amd64 ~x86"
213 -fi
214 -
215 -LICENSE="Apache-2.0"
216 -SLOT="0"
217 -IUSE="cherrypy ldap libcloud libvirt gnupg keyring mako mongodb neutron nova"
218 -IUSE+=" openssl portage profile redis selinux test raet +zeromq vim-syntax"
219 -
220 -RDEPEND="sys-apps/pciutils
221 - dev-python/jinja[${PYTHON_USEDEP}]
222 - dev-python/libnacl[${PYTHON_USEDEP}]
223 - >=dev-python/msgpack-0.3[${PYTHON_USEDEP}]
224 - dev-python/pyyaml[${PYTHON_USEDEP}]
225 - dev-python/markupsafe[${PYTHON_USEDEP}]
226 - >=dev-python/requests-1.0.0[${PYTHON_USEDEP}]
227 - dev-python/setuptools[${PYTHON_USEDEP}]
228 - >=www-servers/tornado-4.2.1[${PYTHON_USEDEP}]
229 - <www-servers/tornado-5.0[${PYTHON_USEDEP}]
230 - libcloud? ( >=dev-python/libcloud-0.14.0[${PYTHON_USEDEP}] )
231 - mako? ( dev-python/mako[${PYTHON_USEDEP}] )
232 - ldap? ( dev-python/python-ldap[${PYTHON_USEDEP}] )
233 - libvirt? ( dev-python/libvirt-python[${PYTHON_USEDEP}] )
234 - openssl? (
235 - dev-libs/openssl:0=[-bindist]
236 - dev-python/pyopenssl[${PYTHON_USEDEP}]
237 - )
238 - raet? (
239 - >=dev-python/libnacl-1.0.0[${PYTHON_USEDEP}]
240 - >=dev-python/ioflo-1.1.7[${PYTHON_USEDEP}]
241 - >=dev-python/raet-0.6.0[${PYTHON_USEDEP}]
242 - )
243 - zeromq? (
244 - >=dev-python/pyzmq-2.2.0[${PYTHON_USEDEP}]
245 - dev-python/pycryptodome[${PYTHON_USEDEP}]
246 - )
247 - cherrypy? ( >=dev-python/cherrypy-3.2.2[${PYTHON_USEDEP}] )
248 - mongodb? ( dev-python/pymongo[${PYTHON_USEDEP}] )
249 - portage? ( sys-apps/portage[${PYTHON_USEDEP}] )
250 - keyring? ( dev-python/keyring[${PYTHON_USEDEP}] )
251 - redis? ( dev-python/redis-py[${PYTHON_USEDEP}] )
252 - selinux? ( sec-policy/selinux-salt )
253 - nova? ( >=dev-python/python-novaclient-2.17.0[${PYTHON_USEDEP}] )
254 - neutron? ( >=dev-python/python-neutronclient-2.3.6[${PYTHON_USEDEP}] )
255 - gnupg? ( dev-python/python-gnupg[${PYTHON_USEDEP}] )
256 - profile? ( dev-python/yappi[${PYTHON_USEDEP}] )
257 - vim-syntax? ( app-vim/salt-vim )"
258 -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
259 - test? (
260 - >=dev-python/pytest-salt-2018.12.8[${PYTHON_USEDEP}]
261 - >=dev-python/jsonschema-3.0[${PYTHON_USEDEP}]
262 - dev-python/pytest-helpers-namespace[${PYTHON_USEDEP}]
263 - dev-python/psutil[${PYTHON_USEDEP}]
264 - dev-python/pytest[${PYTHON_USEDEP}]
265 - dev-python/pytest-catchlog[${PYTHON_USEDEP}]
266 - dev-python/pip[${PYTHON_USEDEP}]
267 - dev-python/virtualenv[${PYTHON_USEDEP}]
268 - >=dev-python/mock-2.0.0[${PYTHON_USEDEP}]
269 - >=dev-python/boto-2.32.1[${PYTHON_USEDEP}]
270 - !x86? ( >=dev-python/boto3-1.2.1[${PYTHON_USEDEP}] )
271 - >=dev-python/moto-0.3.6[${PYTHON_USEDEP}]
272 - >=dev-python/SaltTesting-2016.5.11[${PYTHON_USEDEP}]
273 - >=dev-python/libcloud-0.14.0[${PYTHON_USEDEP}]
274 - ${RDEPEND}
275 - )"
276 -
277 -DOCS=( README.rst AUTHORS )
278 -
279 -REQUIRED_USE="|| ( raet zeromq )"
280 -RESTRICT="!test? ( test ) x86? ( test )"
281 -
282 -PATCHES=(
283 - "${FILESDIR}/salt-2017.7.0-dont-realpath-tmpdir.patch"
284 - "${FILESDIR}/salt-2019.2.0-tests.patch"
285 - "${FILESDIR}/salt-2019.2.0-skip-tests-that-oom-machine.patch"
286 - "${FILESDIR}/salt-2019.2.2-newer-deps.patch"
287 - "${FILESDIR}/salt-2019.2.2-workaround-broken-mock-on-py2.patch"
288 -)
289 -
290 -python_prepare() {
291 - # remove tests with external dependencies that may not be available
292 - rm tests/unit/{test_zypp_plugins.py,utils/test_extend.py} || die
293 - rm tests/unit/modules/test_{file,boto_{vpc,secgroup,elb}}.py || die
294 - rm tests/unit/states/test_boto_vpc.py || die
295 -
296 - # allow the use of the renamed msgpack
297 - sed -i '/^msgpack/d' requirements/base.txt || die
298 -}
299 -
300 -python_install_all() {
301 - local svc
302 - USE_SETUPTOOLS=1 distutils-r1_python_install_all
303 -
304 - for svc in minion master syndic api; do
305 - newinitd "${FILESDIR}"/${svc}-initd-4 salt-${svc}
306 - newconfd "${FILESDIR}"/${svc}-confd-1 salt-${svc}
307 - systemd_dounit "${FILESDIR}"/salt-${svc}.service
308 - done
309 -
310 - insinto /etc/${PN}
311 - doins -r conf/*
312 -}
313 -
314 -python_test() {
315 - local tempdir
316 - # testsuite likes lots of files
317 - ulimit -n 3072 || die
318 -
319 - # ${T} is too long a path for the tests to work
320 - tempdir="$(mktemp -du --tmpdir=/tmp salt-XXX)"
321 - mkdir "${T}/$(basename "${tempdir}")"
322 - mkdir "${BUILD_DIR}"/../{templates,conf/cloud.{providers,profiles,maps}.d} || die
323 -
324 - (
325 - cleanup() {
326 - rm -f "${tempdir}"
327 - rmdir "${BUILD_DIR}"/../{templates,conf/cloud.{providers,profiles,maps}.d} || die
328 - }
329 -
330 - trap cleanup EXIT
331 -
332 - addwrite "${tempdir}"
333 - ln -s "$(realpath --relative-to=/tmp "${T}/$(basename "${tempdir}")")" "${tempdir}"
334 -
335 - USE_SETUPTOOLS=1 SHELL="/bin/bash" \
336 - TMPDIR="${tempdir}" \
337 - ${EPYTHON} tests/runtests.py \
338 - --unit-tests --no-report --verbose
339 -
340 - ) || die "testing failed"
341 -}