Gentoo Archives: gentoo-commits

From: Arthur Zamarin <arthurzam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/buildbot-worker/
Date: Sun, 30 Jan 2022 18:47:33
Message-Id: 1643568434.85de87a2081409a627a8d9bd18d9de9ed5a4296b.arthurzam@gentoo
1 commit: 85de87a2081409a627a8d9bd18d9de9ed5a4296b
2 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jan 30 18:34:46 2022 +0000
4 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 30 18:47:14 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85de87a2
7
8 dev-util/buildbot-worker: drop versions
9
10 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
11
12 dev-util/buildbot-worker/Manifest | 9 --
13 .../buildbot-worker/buildbot-worker-2.10.0.ebuild | 126 ---------------------
14 .../buildbot-worker/buildbot-worker-2.10.1.ebuild | 126 ---------------------
15 .../buildbot-worker/buildbot-worker-2.8.2.ebuild | 126 ---------------------
16 .../buildbot-worker/buildbot-worker-2.8.4.ebuild | 126 ---------------------
17 .../buildbot-worker/buildbot-worker-3.0.2.ebuild | 126 ---------------------
18 .../buildbot-worker/buildbot-worker-3.1.0.ebuild | 126 ---------------------
19 .../buildbot-worker/buildbot-worker-3.1.1.ebuild | 126 ---------------------
20 .../buildbot-worker/buildbot-worker-3.2.0.ebuild | 126 ---------------------
21 .../buildbot-worker/buildbot-worker-3.3.0.ebuild | 126 ---------------------
22 10 files changed, 1143 deletions(-)
23
24 diff --git a/dev-util/buildbot-worker/Manifest b/dev-util/buildbot-worker/Manifest
25 index bd0177bf8ae4..2143d4df82fc 100644
26 --- a/dev-util/buildbot-worker/Manifest
27 +++ b/dev-util/buildbot-worker/Manifest
28 @@ -1,10 +1 @@
29 -DIST buildbot-worker-2.10.0.tar.gz 107279 BLAKE2B 415b950b81862ac4c08ca00217e27351152b74c19e0395451e6cb965a039ccc8d16d3a63534053c15783cb904c279e8c80354f8b33d956cd3c45c5d5c1f5c1f4 SHA512 94b96abdad97d306998b995409f5220c967b0f7a2e33d1310fc99723bb3d54aa055e0ae2e6b771cd53340b132eb95515c266f08bf08e10bede29e2a93fe72b0a
30 -DIST buildbot-worker-2.10.1.tar.gz 107656 BLAKE2B 8b94ecacc18f1e1f2e58d64f223f77af31454a3b199de9ee4c5a174b2cb645a970614674f5917415c4ab6d1ee0180ff99fbf4f121339eb05fcd80b363bfad3c0 SHA512 93f684c36e7c07c90e24a666084734df33d30376436b50db74ae8bd3b3a5e306799d15bd03d93b02f723bdf878adbfe17bbc59fd9f49f43431aea90612113ed7
31 -DIST buildbot-worker-2.8.2.tar.gz 101707 BLAKE2B 451dff979c6934bf6dd4e1579abbe18e9cf43551c906bd516c788a6a5f6170650a5468927bec0a8d4ab242e5886247406b2e098e1908a8d9b5777744982c7be6 SHA512 0628825ac023a66cd249dc6b42ff2f3ad3b5c0cb97561fd332ce4775abaa5368a8b7b636115259ab4aa842c811178c9b641ef4453b06167315eb81117ffef815
32 -DIST buildbot-worker-2.8.4.tar.gz 101175 BLAKE2B 23077305d26ab282eaa4c633ebee7ca7c502285862604ecafe25d6b666ce802729c5478d676e6834bf9a2e27ccf48e1ad0e69449e55532aa81b0dcd3c6780011 SHA512 16ad9a0e5e9c875f90383fc90c359ee843e0b82a7878f87f2ac9e7091d8d907707c69210876f25b4fdf7148bcaafab10d10a8a0a8865c73808db707320757107
33 -DIST buildbot-worker-3.0.2.tar.gz 96923 BLAKE2B 720d265381c0dc4f876ba1c87df893d8adbb153fef8dd78f6d84b24cbf43d7637fb2f58fd4e312724e9fab3318c2ba6fb6bd7a881989790edc1e9aa02095543d SHA512 d970568bdec9d201699350383dfbcf9e915a75d2cc5f69c0af9db009ce1bf5dbed83302bcc6c7e34fdcc2aa739675a7bd14fda686900b05a32ae83cca6a2da10
34 -DIST buildbot-worker-3.1.0.tar.gz 97938 BLAKE2B a886656ad099a849731307ce5db4eea0990b46bbae3aef8f931cbbfbaac0c8ac69d81fde1c1f6791a489e6dd1abe8b09f90615c658a31d8fb8cf3a0eb0cb6cb1 SHA512 eca2a32c67822adc0dd258ba991205525024ee1543e218337835393ad9bd948d5f48dd4348976c64eb4c6812a16a7e951f4114ef81982a49a0d80da485567f98
35 -DIST buildbot-worker-3.1.1.tar.gz 98239 BLAKE2B e73abcdd0fb067da0e77bf8382f8d4d54c0db63e3cf04d003599dc68dfe5c742758ba2c3e39368413a45e8c5beb913a4cf5571e229c3ce5084066790702fb4e8 SHA512 9bf969aadf0f2ccea726365b1e250ebd0c0d0146b4fb1b49ae675e0db555a0b50a87ceb455c25f987b75605d72ab50306f5af9247978fe93270d2c97b8ed04dd
36 -DIST buildbot-worker-3.2.0.tar.gz 99401 BLAKE2B e50ee76f667aab2a07647df3bd1dfd2016827bc5bf96be5f2f6e90158790c3b908f0c5b88fead59bf9977dc15adbe275c7ba81829c56fde3c1c318084633624f SHA512 c7822c16761052f2b45b809de3d3ff910f40679d885213541aa87f54a3490e9a092152f9cbb8c4ab25d1e5b2c9597e87b202f0db62c79f35e8fec2cfcc797653
37 -DIST buildbot-worker-3.3.0.tar.gz 99996 BLAKE2B 4e2bbe6467fc58a9f8c597939cdcfd4538712445580ab7f2c0e1ce3415cc1f8c60ce2b3cba4c16f341d8c19e1b99a91e799c7d3ff2343af0fffa0a1740960588 SHA512 e75a7a91a5b2c418dae65abdd1dde2b840a840e5b9cc1a218007a9e33e1cd58288bc708ec43ecfd9ec74a257809a59f65923ec8dc8aee1ef28cfaf82314964e3
38 DIST buildbot-worker-3.4.0.tar.gz 102910 BLAKE2B c38a806e8d0475a8c18176310f628b829fc359f013b315e82715e71071213fe4a0cdf38273ad7df39a66675f4ebc9fb1881fb990290f2bbedf4c8777ec93d4dc SHA512 411a2bf496622c2b9a3e0dea1ea8a71b347566010086c57ffc5d1114546cc5052af39a8ff7b10ffe6e7afdb6fc8ff73a9ffba23b96a76ff1cc0e3eff81cc59a7
39
40 diff --git a/dev-util/buildbot-worker/buildbot-worker-2.10.0.ebuild b/dev-util/buildbot-worker/buildbot-worker-2.10.0.ebuild
41 deleted file mode 100644
42 index 06d672daee8f..000000000000
43 --- a/dev-util/buildbot-worker/buildbot-worker-2.10.0.ebuild
44 +++ /dev/null
45 @@ -1,126 +0,0 @@
46 -# Copyright 1999-2021 Gentoo Authors
47 -# Distributed under the terms of the GNU General Public License v2
48 -
49 -EAPI="7"
50 -PYTHON_COMPAT=( python3_{7,8} )
51 -
52 -DISTUTILS_USE_SETUPTOOLS="rdepend"
53 -
54 -inherit readme.gentoo-r1 distutils-r1
55 -
56 -DESCRIPTION="BuildBot Worker (slave) Daemon"
57 -HOMEPAGE="https://buildbot.net/ https://github.com/buildbot/buildbot https://pypi.org/project/buildbot-worker/"
58 -
59 -MY_V="${PV/_p/.post}"
60 -MY_P="${PN}-${MY_V}"
61 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz"
62 -
63 -LICENSE="GPL-2"
64 -SLOT="0"
65 -KEYWORDS="~amd64"
66 -
67 -IUSE="test"
68 -RESTRICT="!test? ( test )"
69 -
70 -RDEPEND="
71 - acct-user/buildbot
72 - >=dev-python/twisted-17.9.0[${PYTHON_USEDEP}]
73 - dev-python/future[${PYTHON_USEDEP}]
74 - !<dev-util/buildbot-1.0.0
75 -"
76 -DEPEND="${RDEPEND}
77 - test? (
78 - dev-python/mock[${PYTHON_USEDEP}]
79 - dev-python/setuptools_trial[${PYTHON_USEDEP}]
80 - )
81 -"
82 -
83 -S="${WORKDIR}/${MY_P}"
84 -
85 -pkg_setup() {
86 - DOC_CONTENTS="The \"buildbot\" user and the \"buildbot_worker\" init script has been added
87 - to support starting buildbot_worker through Gentoo's init system. To use this,
88 - execute \"emerge --config =${CATEGORY}/${PF}\" to create a new instance.
89 - Set up your build worker following the documentation, make sure the
90 - resulting directories are owned by the \"buildbot\" user and point
91 - \"${ROOT}/etc/conf.d/buildbot_worker.myinstance\" at the right location.
92 - The scripts can run as a different user if desired."
93 -}
94 -
95 -distutils_enable_tests setup.py
96 -
97 -python_install_all() {
98 - distutils-r1_python_install_all
99 -
100 - doman docs/buildbot-worker.1
101 -
102 - newconfd "${FILESDIR}/buildbot_worker.confd2" buildbot_worker
103 - newinitd "${FILESDIR}/buildbot_worker.initd2" buildbot_worker
104 -
105 - dodir /var/lib/buildbot_worker
106 - cp "${FILESDIR}/buildbot.tac.sample" "${D}/var/lib/buildbot_worker"|| die "Install failed!"
107 -
108 - readme.gentoo_create_doc
109 -}
110 -
111 -pkg_postinst() {
112 - readme.gentoo_print_elog
113 -
114 - if [[ -n ${REPLACING_VERSIONS} ]]; then
115 - ewarn
116 - ewarn "More than one instance of a buildbot_worker can be run simultaneously."
117 - ewarn " Note that \"BASEDIR\" in the buildbot_worker configuration file"
118 - ewarn "is now the common base directory for all instances. If you are migrating from an older"
119 - ewarn "version, make sure that you copy the current contents of \"BASEDIR\" to a subdirectory."
120 - ewarn "The name of the subdirectory corresponds to the name of the buildbot_worker instance."
121 - ewarn "In order to start the service running OpenRC-based systems need to link to the init file:"
122 - ewarn " ln --symbolic --relative /etc/init.d/buildbot_worker /etc/init.d/buildbot_worker.myinstance"
123 - ewarn " rc-update add buildbot_worker.myinstance default"
124 - ewarn " /etc/init.d/buildbot_worker.myinstance start"
125 - ewarn "Systems using systemd can do the following:"
126 - ewarn " systemctl enable buildbot_worker@××××××××××.service"
127 - ewarn " systemctl enable buildbot_worker.target"
128 - ewarn " systemctl start buildbot_worker.target"
129 - fi
130 -}
131 -
132 -pkg_config() {
133 - local buildworker_path="/var/lib/buildbot_worker"
134 - local log_path="/var/log/buildbot_worker"
135 -
136 - einfo "This will prepare a new buildbot_worker instance in ${buildworker_path}."
137 - einfo "Press Control-C to abort."
138 -
139 - einfo "Enter the name for the new instance: "
140 - read instance_name
141 - [[ -z "${instance_name}" ]] && die "Invalid instance name"
142 -
143 - local instance_path="${buildworker_path}/${instance_name}"
144 - local instance_log_path="${log_path}/${instance_name}"
145 -
146 - if [[ -e "${instance_path}" ]]; then
147 - eerror "The instance with the specified name already exists:"
148 - eerror "${instance_path}"
149 - die "Instance already exists"
150 - fi
151 -
152 - if [[ ! -d "${instance_path}" ]]; then
153 - mkdir --parents "${instance_path}" || die "Unable to create directory ${buildworker_path}"
154 - fi
155 - chown --recursive buildbot:buildbot "${instance_path}" || die "Setting permissions for instance failed"
156 - cp "${buildworker_path}/buildbot.tac.sample" "${instance_path}/buildbot.tac" \
157 - || die "Moving sample configuration failed"
158 - ln --symbolic --relative "/etc/init.d/buildbot_worker" "/etc/init.d/buildbot_worker.${instance_name}" \
159 - || die "Unable to create link to init file"
160 -
161 - if [[ ! -d "${instance_log_path}" ]]; then
162 - mkdir --parents "${instance_log_path}" || die "Unable to create directory ${instance_log_path}"
163 - chown --recursive buildbot:buildbot "${instance_log_path}" \
164 - || die "Setting permissions for instance failed"
165 - fi
166 - ln --symbolic --relative "${instance_log_path}/twistd.log" "${instance_path}/twistd.log" \
167 - || die "Unable to create link to log file"
168 -
169 - einfo "Successfully created a buildbot_worker instance at ${instance_path}."
170 - einfo "To change the default settings edit the buildbot.tac file in this directory."
171 -}
172
173 diff --git a/dev-util/buildbot-worker/buildbot-worker-2.10.1.ebuild b/dev-util/buildbot-worker/buildbot-worker-2.10.1.ebuild
174 deleted file mode 100644
175 index 06d672daee8f..000000000000
176 --- a/dev-util/buildbot-worker/buildbot-worker-2.10.1.ebuild
177 +++ /dev/null
178 @@ -1,126 +0,0 @@
179 -# Copyright 1999-2021 Gentoo Authors
180 -# Distributed under the terms of the GNU General Public License v2
181 -
182 -EAPI="7"
183 -PYTHON_COMPAT=( python3_{7,8} )
184 -
185 -DISTUTILS_USE_SETUPTOOLS="rdepend"
186 -
187 -inherit readme.gentoo-r1 distutils-r1
188 -
189 -DESCRIPTION="BuildBot Worker (slave) Daemon"
190 -HOMEPAGE="https://buildbot.net/ https://github.com/buildbot/buildbot https://pypi.org/project/buildbot-worker/"
191 -
192 -MY_V="${PV/_p/.post}"
193 -MY_P="${PN}-${MY_V}"
194 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz"
195 -
196 -LICENSE="GPL-2"
197 -SLOT="0"
198 -KEYWORDS="~amd64"
199 -
200 -IUSE="test"
201 -RESTRICT="!test? ( test )"
202 -
203 -RDEPEND="
204 - acct-user/buildbot
205 - >=dev-python/twisted-17.9.0[${PYTHON_USEDEP}]
206 - dev-python/future[${PYTHON_USEDEP}]
207 - !<dev-util/buildbot-1.0.0
208 -"
209 -DEPEND="${RDEPEND}
210 - test? (
211 - dev-python/mock[${PYTHON_USEDEP}]
212 - dev-python/setuptools_trial[${PYTHON_USEDEP}]
213 - )
214 -"
215 -
216 -S="${WORKDIR}/${MY_P}"
217 -
218 -pkg_setup() {
219 - DOC_CONTENTS="The \"buildbot\" user and the \"buildbot_worker\" init script has been added
220 - to support starting buildbot_worker through Gentoo's init system. To use this,
221 - execute \"emerge --config =${CATEGORY}/${PF}\" to create a new instance.
222 - Set up your build worker following the documentation, make sure the
223 - resulting directories are owned by the \"buildbot\" user and point
224 - \"${ROOT}/etc/conf.d/buildbot_worker.myinstance\" at the right location.
225 - The scripts can run as a different user if desired."
226 -}
227 -
228 -distutils_enable_tests setup.py
229 -
230 -python_install_all() {
231 - distutils-r1_python_install_all
232 -
233 - doman docs/buildbot-worker.1
234 -
235 - newconfd "${FILESDIR}/buildbot_worker.confd2" buildbot_worker
236 - newinitd "${FILESDIR}/buildbot_worker.initd2" buildbot_worker
237 -
238 - dodir /var/lib/buildbot_worker
239 - cp "${FILESDIR}/buildbot.tac.sample" "${D}/var/lib/buildbot_worker"|| die "Install failed!"
240 -
241 - readme.gentoo_create_doc
242 -}
243 -
244 -pkg_postinst() {
245 - readme.gentoo_print_elog
246 -
247 - if [[ -n ${REPLACING_VERSIONS} ]]; then
248 - ewarn
249 - ewarn "More than one instance of a buildbot_worker can be run simultaneously."
250 - ewarn " Note that \"BASEDIR\" in the buildbot_worker configuration file"
251 - ewarn "is now the common base directory for all instances. If you are migrating from an older"
252 - ewarn "version, make sure that you copy the current contents of \"BASEDIR\" to a subdirectory."
253 - ewarn "The name of the subdirectory corresponds to the name of the buildbot_worker instance."
254 - ewarn "In order to start the service running OpenRC-based systems need to link to the init file:"
255 - ewarn " ln --symbolic --relative /etc/init.d/buildbot_worker /etc/init.d/buildbot_worker.myinstance"
256 - ewarn " rc-update add buildbot_worker.myinstance default"
257 - ewarn " /etc/init.d/buildbot_worker.myinstance start"
258 - ewarn "Systems using systemd can do the following:"
259 - ewarn " systemctl enable buildbot_worker@××××××××××.service"
260 - ewarn " systemctl enable buildbot_worker.target"
261 - ewarn " systemctl start buildbot_worker.target"
262 - fi
263 -}
264 -
265 -pkg_config() {
266 - local buildworker_path="/var/lib/buildbot_worker"
267 - local log_path="/var/log/buildbot_worker"
268 -
269 - einfo "This will prepare a new buildbot_worker instance in ${buildworker_path}."
270 - einfo "Press Control-C to abort."
271 -
272 - einfo "Enter the name for the new instance: "
273 - read instance_name
274 - [[ -z "${instance_name}" ]] && die "Invalid instance name"
275 -
276 - local instance_path="${buildworker_path}/${instance_name}"
277 - local instance_log_path="${log_path}/${instance_name}"
278 -
279 - if [[ -e "${instance_path}" ]]; then
280 - eerror "The instance with the specified name already exists:"
281 - eerror "${instance_path}"
282 - die "Instance already exists"
283 - fi
284 -
285 - if [[ ! -d "${instance_path}" ]]; then
286 - mkdir --parents "${instance_path}" || die "Unable to create directory ${buildworker_path}"
287 - fi
288 - chown --recursive buildbot:buildbot "${instance_path}" || die "Setting permissions for instance failed"
289 - cp "${buildworker_path}/buildbot.tac.sample" "${instance_path}/buildbot.tac" \
290 - || die "Moving sample configuration failed"
291 - ln --symbolic --relative "/etc/init.d/buildbot_worker" "/etc/init.d/buildbot_worker.${instance_name}" \
292 - || die "Unable to create link to init file"
293 -
294 - if [[ ! -d "${instance_log_path}" ]]; then
295 - mkdir --parents "${instance_log_path}" || die "Unable to create directory ${instance_log_path}"
296 - chown --recursive buildbot:buildbot "${instance_log_path}" \
297 - || die "Setting permissions for instance failed"
298 - fi
299 - ln --symbolic --relative "${instance_log_path}/twistd.log" "${instance_path}/twistd.log" \
300 - || die "Unable to create link to log file"
301 -
302 - einfo "Successfully created a buildbot_worker instance at ${instance_path}."
303 - einfo "To change the default settings edit the buildbot.tac file in this directory."
304 -}
305
306 diff --git a/dev-util/buildbot-worker/buildbot-worker-2.8.2.ebuild b/dev-util/buildbot-worker/buildbot-worker-2.8.2.ebuild
307 deleted file mode 100644
308 index bd9c309e10b7..000000000000
309 --- a/dev-util/buildbot-worker/buildbot-worker-2.8.2.ebuild
310 +++ /dev/null
311 @@ -1,126 +0,0 @@
312 -# Copyright 1999-2020 Gentoo Authors
313 -# Distributed under the terms of the GNU General Public License v2
314 -
315 -EAPI="7"
316 -PYTHON_COMPAT=( python3_{7,8} )
317 -
318 -DISTUTILS_USE_SETUPTOOLS="rdepend"
319 -
320 -inherit readme.gentoo-r1 distutils-r1
321 -
322 -DESCRIPTION="BuildBot Worker (slave) Daemon"
323 -HOMEPAGE="https://buildbot.net/ https://github.com/buildbot/buildbot https://pypi.org/project/buildbot-worker/"
324 -
325 -MY_V="${PV/_p/.post}"
326 -MY_P="${PN}-${MY_V}"
327 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz"
328 -
329 -LICENSE="GPL-2"
330 -SLOT="0"
331 -KEYWORDS="~amd64"
332 -
333 -IUSE="test"
334 -RESTRICT="!test? ( test )"
335 -
336 -RDEPEND="
337 - acct-user/buildbot
338 - >=dev-python/twisted-17.9.0[${PYTHON_USEDEP}]
339 - dev-python/future[${PYTHON_USEDEP}]
340 - !<dev-util/buildbot-1.0.0
341 -"
342 -DEPEND="${RDEPEND}
343 - test? (
344 - dev-python/mock[${PYTHON_USEDEP}]
345 - dev-python/setuptools_trial[${PYTHON_USEDEP}]
346 - )
347 -"
348 -
349 -S="${WORKDIR}/${MY_P}"
350 -
351 -pkg_setup() {
352 - DOC_CONTENTS="The \"buildbot\" user and the \"buildbot_worker\" init script has been added
353 - to support starting buildbot_worker through Gentoo's init system. To use this,
354 - execute \"emerge --config =${CATEGORY}/${PF}\" to create a new instance.
355 - Set up your build worker following the documentation, make sure the
356 - resulting directories are owned by the \"buildbot\" user and point
357 - \"${ROOT}/etc/conf.d/buildbot_worker.myinstance\" at the right location.
358 - The scripts can run as a different user if desired."
359 -}
360 -
361 -distutils_enable_tests setup.py
362 -
363 -python_install_all() {
364 - distutils-r1_python_install_all
365 -
366 - doman docs/buildbot-worker.1
367 -
368 - newconfd "${FILESDIR}/buildbot_worker.confd2" buildbot_worker
369 - newinitd "${FILESDIR}/buildbot_worker.initd2" buildbot_worker
370 -
371 - dodir /var/lib/buildbot_worker
372 - cp "${FILESDIR}/buildbot.tac.sample" "${D}/var/lib/buildbot_worker"|| die "Install failed!"
373 -
374 - readme.gentoo_create_doc
375 -}
376 -
377 -pkg_postinst() {
378 - readme.gentoo_print_elog
379 -
380 - if [[ -n ${REPLACING_VERSIONS} ]]; then
381 - ewarn
382 - ewarn "More than one instance of a buildbot_worker can be run simultaneously."
383 - ewarn " Note that \"BASEDIR\" in the buildbot_worker configuration file"
384 - ewarn "is now the common base directory for all instances. If you are migrating from an older"
385 - ewarn "version, make sure that you copy the current contents of \"BASEDIR\" to a subdirectory."
386 - ewarn "The name of the subdirectory corresponds to the name of the buildbot_worker instance."
387 - ewarn "In order to start the service running OpenRC-based systems need to link to the init file:"
388 - ewarn " ln --symbolic --relative /etc/init.d/buildbot_worker /etc/init.d/buildbot_worker.myinstance"
389 - ewarn " rc-update add buildbot_worker.myinstance default"
390 - ewarn " /etc/init.d/buildbot_worker.myinstance start"
391 - ewarn "Systems using systemd can do the following:"
392 - ewarn " systemctl enable buildbot_worker@××××××××××.service"
393 - ewarn " systemctl enable buildbot_worker.target"
394 - ewarn " systemctl start buildbot_worker.target"
395 - fi
396 -}
397 -
398 -pkg_config() {
399 - local buildworker_path="/var/lib/buildbot_worker"
400 - local log_path="/var/log/buildbot_worker"
401 -
402 - einfo "This will prepare a new buildbot_worker instance in ${buildworker_path}."
403 - einfo "Press Control-C to abort."
404 -
405 - einfo "Enter the name for the new instance: "
406 - read instance_name
407 - [[ -z "${instance_name}" ]] && die "Invalid instance name"
408 -
409 - local instance_path="${buildworker_path}/${instance_name}"
410 - local instance_log_path="${log_path}/${instance_name}"
411 -
412 - if [[ -e "${instance_path}" ]]; then
413 - eerror "The instance with the specified name already exists:"
414 - eerror "${instance_path}"
415 - die "Instance already exists"
416 - fi
417 -
418 - if [[ ! -d "${instance_path}" ]]; then
419 - mkdir --parents "${instance_path}" || die "Unable to create directory ${buildworker_path}"
420 - fi
421 - chown --recursive buildbot:buildbot "${instance_path}" || die "Setting permissions for instance failed"
422 - cp "${buildworker_path}/buildbot.tac.sample" "${instance_path}/buildbot.tac" \
423 - || die "Moving sample configuration failed"
424 - ln --symbolic --relative "/etc/init.d/buildbot_worker" "/etc/init.d/buildbot_worker.${instance_name}" \
425 - || die "Unable to create link to init file"
426 -
427 - if [[ ! -d "${instance_log_path}" ]]; then
428 - mkdir --parents "${instance_log_path}" || die "Unable to create directory ${instance_log_path}"
429 - chown --recursive buildbot:buildbot "${instance_log_path}" \
430 - || die "Setting permissions for instance failed"
431 - fi
432 - ln --symbolic --relative "${instance_log_path}/twistd.log" "${instance_path}/twistd.log" \
433 - || die "Unable to create link to log file"
434 -
435 - einfo "Successfully created a buildbot_worker instance at ${instance_path}."
436 - einfo "To change the default settings edit the buildbot.tac file in this directory."
437 -}
438
439 diff --git a/dev-util/buildbot-worker/buildbot-worker-2.8.4.ebuild b/dev-util/buildbot-worker/buildbot-worker-2.8.4.ebuild
440 deleted file mode 100644
441 index bd9c309e10b7..000000000000
442 --- a/dev-util/buildbot-worker/buildbot-worker-2.8.4.ebuild
443 +++ /dev/null
444 @@ -1,126 +0,0 @@
445 -# Copyright 1999-2020 Gentoo Authors
446 -# Distributed under the terms of the GNU General Public License v2
447 -
448 -EAPI="7"
449 -PYTHON_COMPAT=( python3_{7,8} )
450 -
451 -DISTUTILS_USE_SETUPTOOLS="rdepend"
452 -
453 -inherit readme.gentoo-r1 distutils-r1
454 -
455 -DESCRIPTION="BuildBot Worker (slave) Daemon"
456 -HOMEPAGE="https://buildbot.net/ https://github.com/buildbot/buildbot https://pypi.org/project/buildbot-worker/"
457 -
458 -MY_V="${PV/_p/.post}"
459 -MY_P="${PN}-${MY_V}"
460 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz"
461 -
462 -LICENSE="GPL-2"
463 -SLOT="0"
464 -KEYWORDS="~amd64"
465 -
466 -IUSE="test"
467 -RESTRICT="!test? ( test )"
468 -
469 -RDEPEND="
470 - acct-user/buildbot
471 - >=dev-python/twisted-17.9.0[${PYTHON_USEDEP}]
472 - dev-python/future[${PYTHON_USEDEP}]
473 - !<dev-util/buildbot-1.0.0
474 -"
475 -DEPEND="${RDEPEND}
476 - test? (
477 - dev-python/mock[${PYTHON_USEDEP}]
478 - dev-python/setuptools_trial[${PYTHON_USEDEP}]
479 - )
480 -"
481 -
482 -S="${WORKDIR}/${MY_P}"
483 -
484 -pkg_setup() {
485 - DOC_CONTENTS="The \"buildbot\" user and the \"buildbot_worker\" init script has been added
486 - to support starting buildbot_worker through Gentoo's init system. To use this,
487 - execute \"emerge --config =${CATEGORY}/${PF}\" to create a new instance.
488 - Set up your build worker following the documentation, make sure the
489 - resulting directories are owned by the \"buildbot\" user and point
490 - \"${ROOT}/etc/conf.d/buildbot_worker.myinstance\" at the right location.
491 - The scripts can run as a different user if desired."
492 -}
493 -
494 -distutils_enable_tests setup.py
495 -
496 -python_install_all() {
497 - distutils-r1_python_install_all
498 -
499 - doman docs/buildbot-worker.1
500 -
501 - newconfd "${FILESDIR}/buildbot_worker.confd2" buildbot_worker
502 - newinitd "${FILESDIR}/buildbot_worker.initd2" buildbot_worker
503 -
504 - dodir /var/lib/buildbot_worker
505 - cp "${FILESDIR}/buildbot.tac.sample" "${D}/var/lib/buildbot_worker"|| die "Install failed!"
506 -
507 - readme.gentoo_create_doc
508 -}
509 -
510 -pkg_postinst() {
511 - readme.gentoo_print_elog
512 -
513 - if [[ -n ${REPLACING_VERSIONS} ]]; then
514 - ewarn
515 - ewarn "More than one instance of a buildbot_worker can be run simultaneously."
516 - ewarn " Note that \"BASEDIR\" in the buildbot_worker configuration file"
517 - ewarn "is now the common base directory for all instances. If you are migrating from an older"
518 - ewarn "version, make sure that you copy the current contents of \"BASEDIR\" to a subdirectory."
519 - ewarn "The name of the subdirectory corresponds to the name of the buildbot_worker instance."
520 - ewarn "In order to start the service running OpenRC-based systems need to link to the init file:"
521 - ewarn " ln --symbolic --relative /etc/init.d/buildbot_worker /etc/init.d/buildbot_worker.myinstance"
522 - ewarn " rc-update add buildbot_worker.myinstance default"
523 - ewarn " /etc/init.d/buildbot_worker.myinstance start"
524 - ewarn "Systems using systemd can do the following:"
525 - ewarn " systemctl enable buildbot_worker@××××××××××.service"
526 - ewarn " systemctl enable buildbot_worker.target"
527 - ewarn " systemctl start buildbot_worker.target"
528 - fi
529 -}
530 -
531 -pkg_config() {
532 - local buildworker_path="/var/lib/buildbot_worker"
533 - local log_path="/var/log/buildbot_worker"
534 -
535 - einfo "This will prepare a new buildbot_worker instance in ${buildworker_path}."
536 - einfo "Press Control-C to abort."
537 -
538 - einfo "Enter the name for the new instance: "
539 - read instance_name
540 - [[ -z "${instance_name}" ]] && die "Invalid instance name"
541 -
542 - local instance_path="${buildworker_path}/${instance_name}"
543 - local instance_log_path="${log_path}/${instance_name}"
544 -
545 - if [[ -e "${instance_path}" ]]; then
546 - eerror "The instance with the specified name already exists:"
547 - eerror "${instance_path}"
548 - die "Instance already exists"
549 - fi
550 -
551 - if [[ ! -d "${instance_path}" ]]; then
552 - mkdir --parents "${instance_path}" || die "Unable to create directory ${buildworker_path}"
553 - fi
554 - chown --recursive buildbot:buildbot "${instance_path}" || die "Setting permissions for instance failed"
555 - cp "${buildworker_path}/buildbot.tac.sample" "${instance_path}/buildbot.tac" \
556 - || die "Moving sample configuration failed"
557 - ln --symbolic --relative "/etc/init.d/buildbot_worker" "/etc/init.d/buildbot_worker.${instance_name}" \
558 - || die "Unable to create link to init file"
559 -
560 - if [[ ! -d "${instance_log_path}" ]]; then
561 - mkdir --parents "${instance_log_path}" || die "Unable to create directory ${instance_log_path}"
562 - chown --recursive buildbot:buildbot "${instance_log_path}" \
563 - || die "Setting permissions for instance failed"
564 - fi
565 - ln --symbolic --relative "${instance_log_path}/twistd.log" "${instance_path}/twistd.log" \
566 - || die "Unable to create link to log file"
567 -
568 - einfo "Successfully created a buildbot_worker instance at ${instance_path}."
569 - einfo "To change the default settings edit the buildbot.tac file in this directory."
570 -}
571
572 diff --git a/dev-util/buildbot-worker/buildbot-worker-3.0.2.ebuild b/dev-util/buildbot-worker/buildbot-worker-3.0.2.ebuild
573 deleted file mode 100644
574 index 6f105d83f93e..000000000000
575 --- a/dev-util/buildbot-worker/buildbot-worker-3.0.2.ebuild
576 +++ /dev/null
577 @@ -1,126 +0,0 @@
578 -# Copyright 1999-2021 Gentoo Authors
579 -# Distributed under the terms of the GNU General Public License v2
580 -
581 -EAPI="7"
582 -PYTHON_COMPAT=( python3_{7,8,9} )
583 -
584 -DISTUTILS_USE_SETUPTOOLS="rdepend"
585 -
586 -inherit readme.gentoo-r1 distutils-r1
587 -
588 -DESCRIPTION="BuildBot Worker (slave) Daemon"
589 -HOMEPAGE="https://buildbot.net/ https://github.com/buildbot/buildbot https://pypi.org/project/buildbot-worker/"
590 -
591 -MY_V="${PV/_p/.post}"
592 -MY_P="${PN}-${MY_V}"
593 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz"
594 -
595 -LICENSE="GPL-2"
596 -SLOT="0"
597 -KEYWORDS="~amd64"
598 -
599 -IUSE="test"
600 -RESTRICT="!test? ( test )"
601 -
602 -RDEPEND="
603 - acct-user/buildbot
604 - >=dev-python/twisted-17.9.0[${PYTHON_USEDEP}]
605 - dev-python/future[${PYTHON_USEDEP}]
606 - !<dev-util/buildbot-1.0.0
607 -"
608 -DEPEND="${RDEPEND}
609 - test? (
610 - dev-python/mock[${PYTHON_USEDEP}]
611 - dev-python/setuptools_trial[${PYTHON_USEDEP}]
612 - )
613 -"
614 -
615 -S="${WORKDIR}/${MY_P}"
616 -
617 -pkg_setup() {
618 - DOC_CONTENTS="The \"buildbot\" user and the \"buildbot_worker\" init script has been added
619 - to support starting buildbot_worker through Gentoo's init system. To use this,
620 - execute \"emerge --config =${CATEGORY}/${PF}\" to create a new instance.
621 - Set up your build worker following the documentation, make sure the
622 - resulting directories are owned by the \"buildbot\" user and point
623 - \"${ROOT}/etc/conf.d/buildbot_worker.myinstance\" at the right location.
624 - The scripts can run as a different user if desired."
625 -}
626 -
627 -distutils_enable_tests setup.py
628 -
629 -python_install_all() {
630 - distutils-r1_python_install_all
631 -
632 - doman docs/buildbot-worker.1
633 -
634 - newconfd "${FILESDIR}/buildbot_worker.confd2" buildbot_worker
635 - newinitd "${FILESDIR}/buildbot_worker.initd2" buildbot_worker
636 -
637 - dodir /var/lib/buildbot_worker
638 - cp "${FILESDIR}/buildbot.tac.sample" "${D}/var/lib/buildbot_worker"|| die "Install failed!"
639 -
640 - readme.gentoo_create_doc
641 -}
642 -
643 -pkg_postinst() {
644 - readme.gentoo_print_elog
645 -
646 - if [[ -n ${REPLACING_VERSIONS} ]]; then
647 - ewarn
648 - ewarn "More than one instance of a buildbot_worker can be run simultaneously."
649 - ewarn " Note that \"BASEDIR\" in the buildbot_worker configuration file"
650 - ewarn "is now the common base directory for all instances. If you are migrating from an older"
651 - ewarn "version, make sure that you copy the current contents of \"BASEDIR\" to a subdirectory."
652 - ewarn "The name of the subdirectory corresponds to the name of the buildbot_worker instance."
653 - ewarn "In order to start the service running OpenRC-based systems need to link to the init file:"
654 - ewarn " ln --symbolic --relative /etc/init.d/buildbot_worker /etc/init.d/buildbot_worker.myinstance"
655 - ewarn " rc-update add buildbot_worker.myinstance default"
656 - ewarn " /etc/init.d/buildbot_worker.myinstance start"
657 - ewarn "Systems using systemd can do the following:"
658 - ewarn " systemctl enable buildbot_worker@××××××××××.service"
659 - ewarn " systemctl enable buildbot_worker.target"
660 - ewarn " systemctl start buildbot_worker.target"
661 - fi
662 -}
663 -
664 -pkg_config() {
665 - local buildworker_path="/var/lib/buildbot_worker"
666 - local log_path="/var/log/buildbot_worker"
667 -
668 - einfo "This will prepare a new buildbot_worker instance in ${buildworker_path}."
669 - einfo "Press Control-C to abort."
670 -
671 - einfo "Enter the name for the new instance: "
672 - read instance_name
673 - [[ -z "${instance_name}" ]] && die "Invalid instance name"
674 -
675 - local instance_path="${buildworker_path}/${instance_name}"
676 - local instance_log_path="${log_path}/${instance_name}"
677 -
678 - if [[ -e "${instance_path}" ]]; then
679 - eerror "The instance with the specified name already exists:"
680 - eerror "${instance_path}"
681 - die "Instance already exists"
682 - fi
683 -
684 - if [[ ! -d "${instance_path}" ]]; then
685 - mkdir --parents "${instance_path}" || die "Unable to create directory ${buildworker_path}"
686 - fi
687 - chown --recursive buildbot:buildbot "${instance_path}" || die "Setting permissions for instance failed"
688 - cp "${buildworker_path}/buildbot.tac.sample" "${instance_path}/buildbot.tac" \
689 - || die "Moving sample configuration failed"
690 - ln --symbolic --relative "/etc/init.d/buildbot_worker" "/etc/init.d/buildbot_worker.${instance_name}" \
691 - || die "Unable to create link to init file"
692 -
693 - if [[ ! -d "${instance_log_path}" ]]; then
694 - mkdir --parents "${instance_log_path}" || die "Unable to create directory ${instance_log_path}"
695 - chown --recursive buildbot:buildbot "${instance_log_path}" \
696 - || die "Setting permissions for instance failed"
697 - fi
698 - ln --symbolic --relative "${instance_log_path}/twistd.log" "${instance_path}/twistd.log" \
699 - || die "Unable to create link to log file"
700 -
701 - einfo "Successfully created a buildbot_worker instance at ${instance_path}."
702 - einfo "To change the default settings edit the buildbot.tac file in this directory."
703 -}
704
705 diff --git a/dev-util/buildbot-worker/buildbot-worker-3.1.0.ebuild b/dev-util/buildbot-worker/buildbot-worker-3.1.0.ebuild
706 deleted file mode 100644
707 index 6ccf06830ba8..000000000000
708 --- a/dev-util/buildbot-worker/buildbot-worker-3.1.0.ebuild
709 +++ /dev/null
710 @@ -1,126 +0,0 @@
711 -# Copyright 1999-2021 Gentoo Authors
712 -# Distributed under the terms of the GNU General Public License v2
713 -
714 -EAPI="7"
715 -PYTHON_COMPAT=( python3_{7,8,9} )
716 -
717 -DISTUTILS_USE_SETUPTOOLS="rdepend"
718 -
719 -inherit readme.gentoo-r1 distutils-r1
720 -
721 -DESCRIPTION="BuildBot Worker (slave) Daemon"
722 -HOMEPAGE="https://buildbot.net/ https://github.com/buildbot/buildbot https://pypi.org/project/buildbot-worker/"
723 -
724 -MY_V="${PV/_p/.post}"
725 -MY_P="${PN}-${MY_V}"
726 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz"
727 -
728 -LICENSE="GPL-2"
729 -SLOT="0"
730 -KEYWORDS="~amd64 ~arm64"
731 -
732 -IUSE="test"
733 -RESTRICT="!test? ( test )"
734 -
735 -RDEPEND="
736 - acct-user/buildbot
737 - >=dev-python/twisted-17.9.0[${PYTHON_USEDEP}]
738 - dev-python/future[${PYTHON_USEDEP}]
739 - !<dev-util/buildbot-1.0.0
740 -"
741 -DEPEND="${RDEPEND}
742 - test? (
743 - dev-python/mock[${PYTHON_USEDEP}]
744 - dev-python/setuptools_trial[${PYTHON_USEDEP}]
745 - )
746 -"
747 -
748 -S="${WORKDIR}/${MY_P}"
749 -
750 -pkg_setup() {
751 - DOC_CONTENTS="The \"buildbot\" user and the \"buildbot_worker\" init script has been added
752 - to support starting buildbot_worker through Gentoo's init system. To use this,
753 - execute \"emerge --config =${CATEGORY}/${PF}\" to create a new instance.
754 - Set up your build worker following the documentation, make sure the
755 - resulting directories are owned by the \"buildbot\" user and point
756 - \"${ROOT}/etc/conf.d/buildbot_worker.myinstance\" at the right location.
757 - The scripts can run as a different user if desired."
758 -}
759 -
760 -distutils_enable_tests setup.py
761 -
762 -python_install_all() {
763 - distutils-r1_python_install_all
764 -
765 - doman docs/buildbot-worker.1
766 -
767 - newconfd "${FILESDIR}/buildbot_worker.confd2" buildbot_worker
768 - newinitd "${FILESDIR}/buildbot_worker.initd2" buildbot_worker
769 -
770 - dodir /var/lib/buildbot_worker
771 - cp "${FILESDIR}/buildbot.tac.sample" "${D}/var/lib/buildbot_worker"|| die "Install failed!"
772 -
773 - readme.gentoo_create_doc
774 -}
775 -
776 -pkg_postinst() {
777 - readme.gentoo_print_elog
778 -
779 - if [[ -n ${REPLACING_VERSIONS} ]]; then
780 - ewarn
781 - ewarn "More than one instance of a buildbot_worker can be run simultaneously."
782 - ewarn " Note that \"BASEDIR\" in the buildbot_worker configuration file"
783 - ewarn "is now the common base directory for all instances. If you are migrating from an older"
784 - ewarn "version, make sure that you copy the current contents of \"BASEDIR\" to a subdirectory."
785 - ewarn "The name of the subdirectory corresponds to the name of the buildbot_worker instance."
786 - ewarn "In order to start the service running OpenRC-based systems need to link to the init file:"
787 - ewarn " ln --symbolic --relative /etc/init.d/buildbot_worker /etc/init.d/buildbot_worker.myinstance"
788 - ewarn " rc-update add buildbot_worker.myinstance default"
789 - ewarn " /etc/init.d/buildbot_worker.myinstance start"
790 - ewarn "Systems using systemd can do the following:"
791 - ewarn " systemctl enable buildbot_worker@××××××××××.service"
792 - ewarn " systemctl enable buildbot_worker.target"
793 - ewarn " systemctl start buildbot_worker.target"
794 - fi
795 -}
796 -
797 -pkg_config() {
798 - local buildworker_path="/var/lib/buildbot_worker"
799 - local log_path="/var/log/buildbot_worker"
800 -
801 - einfo "This will prepare a new buildbot_worker instance in ${buildworker_path}."
802 - einfo "Press Control-C to abort."
803 -
804 - einfo "Enter the name for the new instance: "
805 - read instance_name
806 - [[ -z "${instance_name}" ]] && die "Invalid instance name"
807 -
808 - local instance_path="${buildworker_path}/${instance_name}"
809 - local instance_log_path="${log_path}/${instance_name}"
810 -
811 - if [[ -e "${instance_path}" ]]; then
812 - eerror "The instance with the specified name already exists:"
813 - eerror "${instance_path}"
814 - die "Instance already exists"
815 - fi
816 -
817 - if [[ ! -d "${instance_path}" ]]; then
818 - mkdir --parents "${instance_path}" || die "Unable to create directory ${buildworker_path}"
819 - fi
820 - chown --recursive buildbot:buildbot "${instance_path}" || die "Setting permissions for instance failed"
821 - cp "${buildworker_path}/buildbot.tac.sample" "${instance_path}/buildbot.tac" \
822 - || die "Moving sample configuration failed"
823 - ln --symbolic --relative "/etc/init.d/buildbot_worker" "/etc/init.d/buildbot_worker.${instance_name}" \
824 - || die "Unable to create link to init file"
825 -
826 - if [[ ! -d "${instance_log_path}" ]]; then
827 - mkdir --parents "${instance_log_path}" || die "Unable to create directory ${instance_log_path}"
828 - chown --recursive buildbot:buildbot "${instance_log_path}" \
829 - || die "Setting permissions for instance failed"
830 - fi
831 - ln --symbolic --relative "${instance_log_path}/twistd.log" "${instance_path}/twistd.log" \
832 - || die "Unable to create link to log file"
833 -
834 - einfo "Successfully created a buildbot_worker instance at ${instance_path}."
835 - einfo "To change the default settings edit the buildbot.tac file in this directory."
836 -}
837
838 diff --git a/dev-util/buildbot-worker/buildbot-worker-3.1.1.ebuild b/dev-util/buildbot-worker/buildbot-worker-3.1.1.ebuild
839 deleted file mode 100644
840 index e66c92ea2278..000000000000
841 --- a/dev-util/buildbot-worker/buildbot-worker-3.1.1.ebuild
842 +++ /dev/null
843 @@ -1,126 +0,0 @@
844 -# Copyright 1999-2021 Gentoo Authors
845 -# Distributed under the terms of the GNU General Public License v2
846 -
847 -EAPI="7"
848 -PYTHON_COMPAT=( python3_{7,8,9} )
849 -
850 -DISTUTILS_USE_SETUPTOOLS="rdepend"
851 -
852 -inherit readme.gentoo-r1 distutils-r1
853 -
854 -DESCRIPTION="BuildBot Worker (slave) Daemon"
855 -HOMEPAGE="https://buildbot.net/ https://github.com/buildbot/buildbot https://pypi.org/project/buildbot-worker/"
856 -
857 -MY_V="${PV/_p/.post}"
858 -MY_P="${PN}-${MY_V}"
859 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz"
860 -
861 -LICENSE="GPL-2"
862 -SLOT="0"
863 -KEYWORDS="~amd64 ~arm64 ~amd64-linux ~x86-linux"
864 -
865 -IUSE="test"
866 -RESTRICT="!test? ( test )"
867 -
868 -RDEPEND="
869 - acct-user/buildbot
870 - >=dev-python/twisted-17.9.0[${PYTHON_USEDEP}]
871 - dev-python/future[${PYTHON_USEDEP}]
872 - !<dev-util/buildbot-1.0.0
873 -"
874 -DEPEND="${RDEPEND}
875 - test? (
876 - dev-python/mock[${PYTHON_USEDEP}]
877 - dev-python/setuptools_trial[${PYTHON_USEDEP}]
878 - )
879 -"
880 -
881 -S="${WORKDIR}/${MY_P}"
882 -
883 -pkg_setup() {
884 - DOC_CONTENTS="The \"buildbot\" user and the \"buildbot_worker\" init script has been added
885 - to support starting buildbot_worker through Gentoo's init system. To use this,
886 - execute \"emerge --config =${CATEGORY}/${PF}\" to create a new instance.
887 - Set up your build worker following the documentation, make sure the
888 - resulting directories are owned by the \"buildbot\" user and point
889 - \"${ROOT}/etc/conf.d/buildbot_worker.myinstance\" at the right location.
890 - The scripts can run as a different user if desired."
891 -}
892 -
893 -distutils_enable_tests setup.py
894 -
895 -python_install_all() {
896 - distutils-r1_python_install_all
897 -
898 - doman docs/buildbot-worker.1
899 -
900 - newconfd "${FILESDIR}/buildbot_worker.confd2" buildbot_worker
901 - newinitd "${FILESDIR}/buildbot_worker.initd2" buildbot_worker
902 -
903 - dodir /var/lib/buildbot_worker
904 - cp "${FILESDIR}/buildbot.tac.sample" "${D}/var/lib/buildbot_worker"|| die "Install failed!"
905 -
906 - readme.gentoo_create_doc
907 -}
908 -
909 -pkg_postinst() {
910 - readme.gentoo_print_elog
911 -
912 - if [[ -n ${REPLACING_VERSIONS} ]]; then
913 - ewarn
914 - ewarn "More than one instance of a buildbot_worker can be run simultaneously."
915 - ewarn " Note that \"BASEDIR\" in the buildbot_worker configuration file"
916 - ewarn "is now the common base directory for all instances. If you are migrating from an older"
917 - ewarn "version, make sure that you copy the current contents of \"BASEDIR\" to a subdirectory."
918 - ewarn "The name of the subdirectory corresponds to the name of the buildbot_worker instance."
919 - ewarn "In order to start the service running OpenRC-based systems need to link to the init file:"
920 - ewarn " ln --symbolic --relative /etc/init.d/buildbot_worker /etc/init.d/buildbot_worker.myinstance"
921 - ewarn " rc-update add buildbot_worker.myinstance default"
922 - ewarn " /etc/init.d/buildbot_worker.myinstance start"
923 - ewarn "Systems using systemd can do the following:"
924 - ewarn " systemctl enable buildbot_worker@××××××××××.service"
925 - ewarn " systemctl enable buildbot_worker.target"
926 - ewarn " systemctl start buildbot_worker.target"
927 - fi
928 -}
929 -
930 -pkg_config() {
931 - local buildworker_path="/var/lib/buildbot_worker"
932 - local log_path="/var/log/buildbot_worker"
933 -
934 - einfo "This will prepare a new buildbot_worker instance in ${buildworker_path}."
935 - einfo "Press Control-C to abort."
936 -
937 - einfo "Enter the name for the new instance: "
938 - read instance_name
939 - [[ -z "${instance_name}" ]] && die "Invalid instance name"
940 -
941 - local instance_path="${buildworker_path}/${instance_name}"
942 - local instance_log_path="${log_path}/${instance_name}"
943 -
944 - if [[ -e "${instance_path}" ]]; then
945 - eerror "The instance with the specified name already exists:"
946 - eerror "${instance_path}"
947 - die "Instance already exists"
948 - fi
949 -
950 - if [[ ! -d "${instance_path}" ]]; then
951 - mkdir --parents "${instance_path}" || die "Unable to create directory ${buildworker_path}"
952 - fi
953 - chown --recursive buildbot:buildbot "${instance_path}" || die "Setting permissions for instance failed"
954 - cp "${buildworker_path}/buildbot.tac.sample" "${instance_path}/buildbot.tac" \
955 - || die "Moving sample configuration failed"
956 - ln --symbolic --relative "/etc/init.d/buildbot_worker" "/etc/init.d/buildbot_worker.${instance_name}" \
957 - || die "Unable to create link to init file"
958 -
959 - if [[ ! -d "${instance_log_path}" ]]; then
960 - mkdir --parents "${instance_log_path}" || die "Unable to create directory ${instance_log_path}"
961 - chown --recursive buildbot:buildbot "${instance_log_path}" \
962 - || die "Setting permissions for instance failed"
963 - fi
964 - ln --symbolic --relative "${instance_log_path}/twistd.log" "${instance_path}/twistd.log" \
965 - || die "Unable to create link to log file"
966 -
967 - einfo "Successfully created a buildbot_worker instance at ${instance_path}."
968 - einfo "To change the default settings edit the buildbot.tac file in this directory."
969 -}
970
971 diff --git a/dev-util/buildbot-worker/buildbot-worker-3.2.0.ebuild b/dev-util/buildbot-worker/buildbot-worker-3.2.0.ebuild
972 deleted file mode 100644
973 index e66c92ea2278..000000000000
974 --- a/dev-util/buildbot-worker/buildbot-worker-3.2.0.ebuild
975 +++ /dev/null
976 @@ -1,126 +0,0 @@
977 -# Copyright 1999-2021 Gentoo Authors
978 -# Distributed under the terms of the GNU General Public License v2
979 -
980 -EAPI="7"
981 -PYTHON_COMPAT=( python3_{7,8,9} )
982 -
983 -DISTUTILS_USE_SETUPTOOLS="rdepend"
984 -
985 -inherit readme.gentoo-r1 distutils-r1
986 -
987 -DESCRIPTION="BuildBot Worker (slave) Daemon"
988 -HOMEPAGE="https://buildbot.net/ https://github.com/buildbot/buildbot https://pypi.org/project/buildbot-worker/"
989 -
990 -MY_V="${PV/_p/.post}"
991 -MY_P="${PN}-${MY_V}"
992 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz"
993 -
994 -LICENSE="GPL-2"
995 -SLOT="0"
996 -KEYWORDS="~amd64 ~arm64 ~amd64-linux ~x86-linux"
997 -
998 -IUSE="test"
999 -RESTRICT="!test? ( test )"
1000 -
1001 -RDEPEND="
1002 - acct-user/buildbot
1003 - >=dev-python/twisted-17.9.0[${PYTHON_USEDEP}]
1004 - dev-python/future[${PYTHON_USEDEP}]
1005 - !<dev-util/buildbot-1.0.0
1006 -"
1007 -DEPEND="${RDEPEND}
1008 - test? (
1009 - dev-python/mock[${PYTHON_USEDEP}]
1010 - dev-python/setuptools_trial[${PYTHON_USEDEP}]
1011 - )
1012 -"
1013 -
1014 -S="${WORKDIR}/${MY_P}"
1015 -
1016 -pkg_setup() {
1017 - DOC_CONTENTS="The \"buildbot\" user and the \"buildbot_worker\" init script has been added
1018 - to support starting buildbot_worker through Gentoo's init system. To use this,
1019 - execute \"emerge --config =${CATEGORY}/${PF}\" to create a new instance.
1020 - Set up your build worker following the documentation, make sure the
1021 - resulting directories are owned by the \"buildbot\" user and point
1022 - \"${ROOT}/etc/conf.d/buildbot_worker.myinstance\" at the right location.
1023 - The scripts can run as a different user if desired."
1024 -}
1025 -
1026 -distutils_enable_tests setup.py
1027 -
1028 -python_install_all() {
1029 - distutils-r1_python_install_all
1030 -
1031 - doman docs/buildbot-worker.1
1032 -
1033 - newconfd "${FILESDIR}/buildbot_worker.confd2" buildbot_worker
1034 - newinitd "${FILESDIR}/buildbot_worker.initd2" buildbot_worker
1035 -
1036 - dodir /var/lib/buildbot_worker
1037 - cp "${FILESDIR}/buildbot.tac.sample" "${D}/var/lib/buildbot_worker"|| die "Install failed!"
1038 -
1039 - readme.gentoo_create_doc
1040 -}
1041 -
1042 -pkg_postinst() {
1043 - readme.gentoo_print_elog
1044 -
1045 - if [[ -n ${REPLACING_VERSIONS} ]]; then
1046 - ewarn
1047 - ewarn "More than one instance of a buildbot_worker can be run simultaneously."
1048 - ewarn " Note that \"BASEDIR\" in the buildbot_worker configuration file"
1049 - ewarn "is now the common base directory for all instances. If you are migrating from an older"
1050 - ewarn "version, make sure that you copy the current contents of \"BASEDIR\" to a subdirectory."
1051 - ewarn "The name of the subdirectory corresponds to the name of the buildbot_worker instance."
1052 - ewarn "In order to start the service running OpenRC-based systems need to link to the init file:"
1053 - ewarn " ln --symbolic --relative /etc/init.d/buildbot_worker /etc/init.d/buildbot_worker.myinstance"
1054 - ewarn " rc-update add buildbot_worker.myinstance default"
1055 - ewarn " /etc/init.d/buildbot_worker.myinstance start"
1056 - ewarn "Systems using systemd can do the following:"
1057 - ewarn " systemctl enable buildbot_worker@××××××××××.service"
1058 - ewarn " systemctl enable buildbot_worker.target"
1059 - ewarn " systemctl start buildbot_worker.target"
1060 - fi
1061 -}
1062 -
1063 -pkg_config() {
1064 - local buildworker_path="/var/lib/buildbot_worker"
1065 - local log_path="/var/log/buildbot_worker"
1066 -
1067 - einfo "This will prepare a new buildbot_worker instance in ${buildworker_path}."
1068 - einfo "Press Control-C to abort."
1069 -
1070 - einfo "Enter the name for the new instance: "
1071 - read instance_name
1072 - [[ -z "${instance_name}" ]] && die "Invalid instance name"
1073 -
1074 - local instance_path="${buildworker_path}/${instance_name}"
1075 - local instance_log_path="${log_path}/${instance_name}"
1076 -
1077 - if [[ -e "${instance_path}" ]]; then
1078 - eerror "The instance with the specified name already exists:"
1079 - eerror "${instance_path}"
1080 - die "Instance already exists"
1081 - fi
1082 -
1083 - if [[ ! -d "${instance_path}" ]]; then
1084 - mkdir --parents "${instance_path}" || die "Unable to create directory ${buildworker_path}"
1085 - fi
1086 - chown --recursive buildbot:buildbot "${instance_path}" || die "Setting permissions for instance failed"
1087 - cp "${buildworker_path}/buildbot.tac.sample" "${instance_path}/buildbot.tac" \
1088 - || die "Moving sample configuration failed"
1089 - ln --symbolic --relative "/etc/init.d/buildbot_worker" "/etc/init.d/buildbot_worker.${instance_name}" \
1090 - || die "Unable to create link to init file"
1091 -
1092 - if [[ ! -d "${instance_log_path}" ]]; then
1093 - mkdir --parents "${instance_log_path}" || die "Unable to create directory ${instance_log_path}"
1094 - chown --recursive buildbot:buildbot "${instance_log_path}" \
1095 - || die "Setting permissions for instance failed"
1096 - fi
1097 - ln --symbolic --relative "${instance_log_path}/twistd.log" "${instance_path}/twistd.log" \
1098 - || die "Unable to create link to log file"
1099 -
1100 - einfo "Successfully created a buildbot_worker instance at ${instance_path}."
1101 - einfo "To change the default settings edit the buildbot.tac file in this directory."
1102 -}
1103
1104 diff --git a/dev-util/buildbot-worker/buildbot-worker-3.3.0.ebuild b/dev-util/buildbot-worker/buildbot-worker-3.3.0.ebuild
1105 deleted file mode 100644
1106 index e66c92ea2278..000000000000
1107 --- a/dev-util/buildbot-worker/buildbot-worker-3.3.0.ebuild
1108 +++ /dev/null
1109 @@ -1,126 +0,0 @@
1110 -# Copyright 1999-2021 Gentoo Authors
1111 -# Distributed under the terms of the GNU General Public License v2
1112 -
1113 -EAPI="7"
1114 -PYTHON_COMPAT=( python3_{7,8,9} )
1115 -
1116 -DISTUTILS_USE_SETUPTOOLS="rdepend"
1117 -
1118 -inherit readme.gentoo-r1 distutils-r1
1119 -
1120 -DESCRIPTION="BuildBot Worker (slave) Daemon"
1121 -HOMEPAGE="https://buildbot.net/ https://github.com/buildbot/buildbot https://pypi.org/project/buildbot-worker/"
1122 -
1123 -MY_V="${PV/_p/.post}"
1124 -MY_P="${PN}-${MY_V}"
1125 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz"
1126 -
1127 -LICENSE="GPL-2"
1128 -SLOT="0"
1129 -KEYWORDS="~amd64 ~arm64 ~amd64-linux ~x86-linux"
1130 -
1131 -IUSE="test"
1132 -RESTRICT="!test? ( test )"
1133 -
1134 -RDEPEND="
1135 - acct-user/buildbot
1136 - >=dev-python/twisted-17.9.0[${PYTHON_USEDEP}]
1137 - dev-python/future[${PYTHON_USEDEP}]
1138 - !<dev-util/buildbot-1.0.0
1139 -"
1140 -DEPEND="${RDEPEND}
1141 - test? (
1142 - dev-python/mock[${PYTHON_USEDEP}]
1143 - dev-python/setuptools_trial[${PYTHON_USEDEP}]
1144 - )
1145 -"
1146 -
1147 -S="${WORKDIR}/${MY_P}"
1148 -
1149 -pkg_setup() {
1150 - DOC_CONTENTS="The \"buildbot\" user and the \"buildbot_worker\" init script has been added
1151 - to support starting buildbot_worker through Gentoo's init system. To use this,
1152 - execute \"emerge --config =${CATEGORY}/${PF}\" to create a new instance.
1153 - Set up your build worker following the documentation, make sure the
1154 - resulting directories are owned by the \"buildbot\" user and point
1155 - \"${ROOT}/etc/conf.d/buildbot_worker.myinstance\" at the right location.
1156 - The scripts can run as a different user if desired."
1157 -}
1158 -
1159 -distutils_enable_tests setup.py
1160 -
1161 -python_install_all() {
1162 - distutils-r1_python_install_all
1163 -
1164 - doman docs/buildbot-worker.1
1165 -
1166 - newconfd "${FILESDIR}/buildbot_worker.confd2" buildbot_worker
1167 - newinitd "${FILESDIR}/buildbot_worker.initd2" buildbot_worker
1168 -
1169 - dodir /var/lib/buildbot_worker
1170 - cp "${FILESDIR}/buildbot.tac.sample" "${D}/var/lib/buildbot_worker"|| die "Install failed!"
1171 -
1172 - readme.gentoo_create_doc
1173 -}
1174 -
1175 -pkg_postinst() {
1176 - readme.gentoo_print_elog
1177 -
1178 - if [[ -n ${REPLACING_VERSIONS} ]]; then
1179 - ewarn
1180 - ewarn "More than one instance of a buildbot_worker can be run simultaneously."
1181 - ewarn " Note that \"BASEDIR\" in the buildbot_worker configuration file"
1182 - ewarn "is now the common base directory for all instances. If you are migrating from an older"
1183 - ewarn "version, make sure that you copy the current contents of \"BASEDIR\" to a subdirectory."
1184 - ewarn "The name of the subdirectory corresponds to the name of the buildbot_worker instance."
1185 - ewarn "In order to start the service running OpenRC-based systems need to link to the init file:"
1186 - ewarn " ln --symbolic --relative /etc/init.d/buildbot_worker /etc/init.d/buildbot_worker.myinstance"
1187 - ewarn " rc-update add buildbot_worker.myinstance default"
1188 - ewarn " /etc/init.d/buildbot_worker.myinstance start"
1189 - ewarn "Systems using systemd can do the following:"
1190 - ewarn " systemctl enable buildbot_worker@××××××××××.service"
1191 - ewarn " systemctl enable buildbot_worker.target"
1192 - ewarn " systemctl start buildbot_worker.target"
1193 - fi
1194 -}
1195 -
1196 -pkg_config() {
1197 - local buildworker_path="/var/lib/buildbot_worker"
1198 - local log_path="/var/log/buildbot_worker"
1199 -
1200 - einfo "This will prepare a new buildbot_worker instance in ${buildworker_path}."
1201 - einfo "Press Control-C to abort."
1202 -
1203 - einfo "Enter the name for the new instance: "
1204 - read instance_name
1205 - [[ -z "${instance_name}" ]] && die "Invalid instance name"
1206 -
1207 - local instance_path="${buildworker_path}/${instance_name}"
1208 - local instance_log_path="${log_path}/${instance_name}"
1209 -
1210 - if [[ -e "${instance_path}" ]]; then
1211 - eerror "The instance with the specified name already exists:"
1212 - eerror "${instance_path}"
1213 - die "Instance already exists"
1214 - fi
1215 -
1216 - if [[ ! -d "${instance_path}" ]]; then
1217 - mkdir --parents "${instance_path}" || die "Unable to create directory ${buildworker_path}"
1218 - fi
1219 - chown --recursive buildbot:buildbot "${instance_path}" || die "Setting permissions for instance failed"
1220 - cp "${buildworker_path}/buildbot.tac.sample" "${instance_path}/buildbot.tac" \
1221 - || die "Moving sample configuration failed"
1222 - ln --symbolic --relative "/etc/init.d/buildbot_worker" "/etc/init.d/buildbot_worker.${instance_name}" \
1223 - || die "Unable to create link to init file"
1224 -
1225 - if [[ ! -d "${instance_log_path}" ]]; then
1226 - mkdir --parents "${instance_log_path}" || die "Unable to create directory ${instance_log_path}"
1227 - chown --recursive buildbot:buildbot "${instance_log_path}" \
1228 - || die "Setting permissions for instance failed"
1229 - fi
1230 - ln --symbolic --relative "${instance_log_path}/twistd.log" "${instance_path}/twistd.log" \
1231 - || die "Unable to create link to log file"
1232 -
1233 - einfo "Successfully created a buildbot_worker instance at ${instance_path}."
1234 - einfo "To change the default settings edit the buildbot.tac file in this directory."
1235 -}