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/
Date: Sun, 30 Jan 2022 18:47:32
Message-Id: 1643568434.741d05a929738a14c1801e236eeb3a30b721dcc6.arthurzam@gentoo
1 commit: 741d05a929738a14c1801e236eeb3a30b721dcc6
2 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jan 30 18:34:27 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=741d05a9
7
8 dev-util/buildbot: drop versions
9
10 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
11
12 dev-util/buildbot/Manifest | 10 --
13 dev-util/buildbot/buildbot-2.10.0.ebuild | 198 ----------------------------
14 dev-util/buildbot/buildbot-2.10.1.ebuild | 198 ----------------------------
15 dev-util/buildbot/buildbot-2.8.2-r1.ebuild | 203 ----------------------------
16 dev-util/buildbot/buildbot-2.8.4.ebuild | 204 -----------------------------
17 dev-util/buildbot/buildbot-3.0.2.ebuild | 200 ----------------------------
18 dev-util/buildbot/buildbot-3.1.0.ebuild | 201 ----------------------------
19 dev-util/buildbot/buildbot-3.1.1.ebuild | 201 ----------------------------
20 dev-util/buildbot/buildbot-3.2.0.ebuild | 200 ----------------------------
21 dev-util/buildbot/buildbot-3.3.0.ebuild | 200 ----------------------------
22 10 files changed, 1815 deletions(-)
23
24 diff --git a/dev-util/buildbot/Manifest b/dev-util/buildbot/Manifest
25 index fc618f8f8586..3107d5d2b7f8 100644
26 --- a/dev-util/buildbot/Manifest
27 +++ b/dev-util/buildbot/Manifest
28 @@ -1,11 +1 @@
29 -DIST buildbot-2.10.0.tar.gz 2270072 BLAKE2B 467c774bb50076e16731edeced969366b3960a8032da2ebed56baf2c7de8affa730482878e45aca1523ff4b7e16b6bd913bb83e3cded274faeb75148f2b6fb8f SHA512 086864dd67b883a11ba565ae3e6530c1f396e35fcb8d4346f751c05de684bc3bfd7e709a428781be79e7e6a2e0eda1eefcd7140efd529d85ed336acfb398b262
30 -DIST buildbot-2.10.1.tar.gz 2271357 BLAKE2B 8320f12137b938b1a795857c2cc1e7427a19ebbb8fcd84f22142d2a37e92cf8211aa67afe42ec9f53ea2da3db621ababddb95794bdf5a0795de231a58f256cbb SHA512 6dd0bfb0d4747f3953cfbf73de6079f6fe5a75f4d7d072161f4de1209549df7732e216c859f7df69d6155e2df7c09c1667453973607ce3c8d0524c0433832873
31 -DIST buildbot-2.8.0-fakedb.tar.xz 16204 BLAKE2B 741676e2c9117b1ab174ce49747bdfcd07766ad3e471e308398dff476f167fd231b7772c2f02002cbafb27e2ef535242d84d5aa84f4bc8942d4d216b2d5bf1f6 SHA512 c2b00d8621b3a1e521f6c17e902ae331b606dda3d319187895f26629dbdaf50caefc5d49fb150fb780e682ae431515c7ded4950d62448e8a73b8efba821c0fa1
32 -DIST buildbot-2.8.2.tar.gz 3181035 BLAKE2B 40a3e424cc03c982549f25993a4abd2fe04bdc089ad22288af4d25724972f9f3541ef32549d2761c808845df44a972b00cf631adfc564bf4852c4b6b6ab14404 SHA512 7d7f15becc7fc1803ae4e9f1906d547c89dfe1efaa51e8fda0674a3d9b060bafbaae4cb671ec844750313247edb73f17c9014c545bce58070df0ca322a0fd9a2
33 -DIST buildbot-2.8.4.tar.gz 3134447 BLAKE2B 67052a060c9951e584a5e94f36b92262b9a1956c22efbce7ac17d83f93edde3d9443b00a7bc3afc5918006d68cc023ea0ae913e7bbf0e7cede0d9345992f83ae SHA512 45a6e6116ab5fec18b9b3a6d54886bcf86d3a821a79fd151f9311c8c3646c61051a194250395e203f02b9aa0161e12a9ca54b623897c74eee6133df752f1742c
34 -DIST buildbot-3.0.2.tar.gz 2221373 BLAKE2B 7f7e08375f0eb6eb0187dc734f0eefda5bc24c9bdce543cc6d094d67a211e909bff93d3a956b57cb14e800c52b7f05a2f823173becac37bd0a52790dfe158e1a SHA512 137ac6fdb7e1b67542c0a5b1d5c4736ebf9b6b7ffd5a2c18795eeec3a132abcad972252baabbf585efc3ed4bb14e61d8552c4d21ceff9c71823cca42613c6f5b
35 -DIST buildbot-3.1.0.tar.gz 2229027 BLAKE2B 27eaed470f18c4fe8cae1730ca92918352518263a5cc7c3affea070dc3c9890e88db81e2f0d70b1071da89a4df7fd34091ac9dd08b8d6933e568365859640c4e SHA512 2eb08af4c59b5268fb9d5dd3e5c6c4889542c39b7034aee7bb6151d4e24ce99a9c0a83ec303ca4110a55e8f7daa562ddc0debee83499984a3d9fa0fad965740c
36 -DIST buildbot-3.1.1.tar.gz 2229124 BLAKE2B c384b897a5f8816b7d6a52070cb1cce7e9b70d41a5837990af3474d3063a4906600f82c1bc6e6c48d826ac1f95dc36dcc15ebca10c9249615d25f547e0216dad SHA512 4f4194fab83bb80cff15366fb6461624b75c5a2d0e473ac9cb6a8abb372ccd7ee9208a944f198d874e8cd1a87358239ba3e8314d54ef35a641ff83510c48de37
37 -DIST buildbot-3.2.0.tar.gz 2245261 BLAKE2B ccb1dc5e6a6bf5c9e06a7b05cc1baa605b09cf65ad4f9beff2a40e9f52a3065363960a990c288ed181cc5cc5cf5af1ce06dd4df561ddfe9819165ebe32760887 SHA512 5730126786880eb48da140cbbaaac2df95e6d04d22268fb305c1a228969bd096cd18959779f6101af73c41fecb07a7c1e2bb276271bede53989323a46fb06962
38 -DIST buildbot-3.3.0.tar.gz 2255464 BLAKE2B 9b4cfdd948bdf4b183dc45973f26b41ec5b390740c92f3b29c460c8fba4f35b71eaf848b026b21e1ba1e213b18d6d91e3736b69aa8c3e6dbb847b04b644e2c54 SHA512 da0d26257964df40a470b00e2cd0f3f2230d3224bf8ae7c2b896fc8ec739e5d3ce7988ab07f6c66dcb13b0d4b6916e839f53a025cac637ccd4bcd3f442e12b1d
39 DIST buildbot-3.4.0.tar.gz 2446868 BLAKE2B a58b268fd4569105f1c0ba48c9ed86210a3fee4725f167d6b6847960bbb56a092d0c0db427ecf5932a91d44065da8843fbb4046d289800a019b0b1d8b1f53fea SHA512 92e5085862ac37a6c3c059870a3998fbaac2019c48384295f3e209788ea14bddff6704f1b987a8f3b1550c1b0255d228f8a0b2a20b5cb760b22a513db465863b
40
41 diff --git a/dev-util/buildbot/buildbot-2.10.0.ebuild b/dev-util/buildbot/buildbot-2.10.0.ebuild
42 deleted file mode 100644
43 index c7c1f74b4a1c..000000000000
44 --- a/dev-util/buildbot/buildbot-2.10.0.ebuild
45 +++ /dev/null
46 @@ -1,198 +0,0 @@
47 -# Copyright 1999-2021 Gentoo Authors
48 -# Distributed under the terms of the GNU General Public License v2
49 -
50 -EAPI="7"
51 -PYTHON_REQ_USE="sqlite"
52 -PYTHON_COMPAT=( python3_{7,8} )
53 -
54 -DISTUTILS_USE_SETUPTOOLS="rdepend"
55 -
56 -inherit readme.gentoo-r1 systemd distutils-r1
57 -
58 -MY_PV="${PV/_p/.post}"
59 -MY_P="${PN}-${MY_PV}"
60 -
61 -DESCRIPTION="BuildBot build automation system"
62 -HOMEPAGE="https://buildbot.net/ https://github.com/buildbot/buildbot https://pypi.org/project/buildbot/"
63 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz
64 - https://dev.gentoo.org/~dolsen/distfiles/buildbot-2.8.0-fakedb.tar.xz
65 -"
66 -
67 -LICENSE="GPL-2"
68 -SLOT="0"
69 -KEYWORDS="~amd64 ~amd64-linux ~x86-linux"
70 -
71 -IUSE="crypt doc docker examples irc test"
72 -RESTRICT="!test? ( test )"
73 -
74 -RDEPEND="
75 - acct-user/buildbot
76 - >=dev-python/jinja-2.1[${PYTHON_USEDEP}]
77 - >=dev-python/twisted-17.9.0[${PYTHON_USEDEP},crypt?]
78 - >=dev-python/autobahn-0.16.0[${PYTHON_USEDEP}]
79 - >=dev-python/sqlalchemy-1.2.0[${PYTHON_USEDEP}]
80 - >=dev-python/sqlalchemy-migrate-0.13[${PYTHON_USEDEP}]
81 - >=dev-python/python-dateutil-1.5[${PYTHON_USEDEP}]
82 - >=dev-python/txaio-2.2.2[${PYTHON_USEDEP}]
83 - dev-python/pyjwt[${PYTHON_USEDEP}]
84 - dev-python/pyyaml[${PYTHON_USEDEP}]
85 - >=dev-python/zope-interface-4.1.1[${PYTHON_USEDEP}]
86 - ~dev-util/buildbot-worker-${PV}[${PYTHON_USEDEP}]
87 - crypt? (
88 - >=dev-python/pyopenssl-16.0.0[${PYTHON_USEDEP}]
89 - dev-python/idna[${PYTHON_USEDEP}]
90 - dev-python/service_identity[${PYTHON_USEDEP}]
91 - )
92 - irc? (
93 - dev-python/txrequests[${PYTHON_USEDEP}]
94 - )
95 - docker? (
96 - >=dev-python/docker-py-2.2.0[${PYTHON_USEDEP}]
97 - dev-python/requests[${PYTHON_USEDEP}]
98 - )
99 -"
100 -DEPEND="${RDEPEND}
101 - doc? (
102 - >=dev-python/sphinx-3.2.0[${PYTHON_USEDEP}]
103 - dev-python/sphinxcontrib-blockdiag[${PYTHON_USEDEP}]
104 - dev-python/sphinxcontrib-spelling[${PYTHON_USEDEP}]
105 - dev-python/sphinxcontrib-websupport[${PYTHON_USEDEP}]
106 - dev-python/pyenchant[${PYTHON_USEDEP}]
107 - dev-python/docutils[${PYTHON_USEDEP}]
108 - dev-python/sphinx-jinja[${PYTHON_USEDEP}]
109 - dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]
110 - )
111 - test? (
112 - >=dev-python/mock-2.0.0[${PYTHON_USEDEP}]
113 - dev-python/moto[${PYTHON_USEDEP}]
114 - >=dev-python/boto3-1.12.48[${PYTHON_USEDEP}]
115 - dev-python/parameterized[${PYTHON_USEDEP}]
116 - dev-python/pypugjs[${PYTHON_USEDEP}]
117 - dev-python/txrequests[${PYTHON_USEDEP}]
118 - dev-python/lz4[${PYTHON_USEDEP}]
119 - dev-python/treq[${PYTHON_USEDEP}]
120 - dev-python/setuptools_trial[${PYTHON_USEDEP}]
121 - ~dev-util/buildbot-pkg-${PV}[${PYTHON_USEDEP}]
122 - ~dev-util/buildbot-worker-${PV}[${PYTHON_USEDEP}]
123 - ~dev-util/buildbot-www-${PV}[${PYTHON_USEDEP}]
124 - )"
125 -
126 -S=${WORKDIR}/${MY_P}
127 -
128 -distutils_enable_tests setup.py
129 -
130 -pkg_setup() {
131 - DOC_CONTENTS="The \"buildbot\" user and the \"buildmaster\" init script has been added
132 - to support starting buildbot through Gentoo's init system. To use this,
133 - execute \"emerge --config =${CATEGORY}/${PF}\" to create a new instance.
134 - The scripts can run as a different user if desired."
135 -}
136 -
137 -src_compile() {
138 - distutils-r1_src_compile
139 -
140 - # missing files, so skip building
141 - if use doc; then
142 - einfo "Generation of documentation"
143 - pushd docs > /dev/null || die
144 - #'man' target is currently broken
145 - emake html
146 - popd > /dev/null || die
147 - fi
148 -}
149 -
150 -src_install() {
151 - distutils-r1_src_install
152 -
153 - doman docs/buildbot.1
154 -
155 - if use doc; then
156 - HTML_DOCS=( docs/_build/html/ )
157 - fi
158 -
159 - if use examples; then
160 - insinto /usr/share/doc/${PF}
161 - doins -r docs/examples
162 - fi
163 -
164 - newconfd "${FILESDIR}/buildmaster.confd" buildmaster
165 - newinitd "${FILESDIR}/buildmaster.initd" buildmaster
166 - systemd_dounit "${FILESDIR}/buildmaster.target"
167 - systemd_newunit "${FILESDIR}/buildmaster_at.service" "buildmaster@.service"
168 - systemd_install_serviced "${FILESDIR}/buildmaster_at.service.conf" "buildmaster@.service"
169 -
170 - readme.gentoo_create_doc
171 -}
172 -
173 -pkg_postinst() {
174 - readme.gentoo_print_elog
175 -
176 - if [[ -n ${REPLACING_VERSIONS} ]]; then
177 - ewarn
178 - ewarn "Starting with buildbot-0.8.12-r2, more than one instance of buildmaster"
179 - ewarn "can be run simultaneously. Note that \"BASEDIR\" in the buildbot configuration file"
180 - ewarn "is now the common base directory for all instances. If you are migrating from an older"
181 - ewarn "version, make sure that you copy the current contents of \"BASEDIR\" to a subdirectory."
182 - ewarn "The name of the subdirectory corresponds to the name of the buildmaster instance."
183 - ewarn "In order to start the service running OpenRC-based systems need to link to the init file:"
184 - ewarn " ln --symbolic --relative /etc/init.d/buildmaster /etc/init.d/buildmaster.myinstance"
185 - ewarn " rc-update add buildmaster.myinstance default"
186 - ewarn " /etc/init.d/buildmaster.myinstance start"
187 - ewarn "Systems using systemd can do the following:"
188 - ewarn " systemctl enable buildmaster@××××××××××.service"
189 - ewarn " systemctl enable buildmaster.target"
190 - ewarn " systemctl start buildmaster.target"
191 - elog
192 - elog "Upstream recommends the following when upgrading:"
193 - elog "Each time you install a new version of Buildbot, you should run the"
194 - elog "\"buildbot upgrade-master\" command on each of your pre-existing build masters."
195 - elog "This will add files and fix (or at least detect) incompatibilities between"
196 - elog "your old config and the new code."
197 - fi
198 - elog
199 - elog "In order to create a new instance of buildmaster, execute:"
200 - elog " emerge --config =${CATEGORY}/${PF}"
201 -}
202 -
203 -pkg_config() {
204 - local buildmaster_path="/var/lib/buildmaster"
205 - local log_path="/var/log/buildmaster"
206 -
207 - einfo "This will prepare a new buildmaster instance in ${buildmaster_path}."
208 - einfo "Press Control-C to abort."
209 -
210 - einfo "Enter the name for the new instance: "
211 - read instance_name
212 - [[ -z "${instance_name}" ]] && die "Invalid instance name"
213 -
214 - local instance_path="${buildmaster_path}/${instance_name}"
215 - local instance_log_path="${log_path}/${instance_name}"
216 -
217 - if [[ -e "${instance_path}" ]]; then
218 - eerror "The instance with the specified name already exists:"
219 - eerror "${instance_path}"
220 - die "Instance already exists"
221 - fi
222 -
223 - local buildbot="/usr/bin/buildbot"
224 - if [[ ! -d "${buildmaster_path}" ]]; then
225 - mkdir --parents "${buildmaster_path}" || die "Unable to create directory ${buildmaster_path}"
226 - fi
227 - "${buildbot}" create-master "${instance_path}" &>/dev/null || die "Creating instance failed"
228 - chown --recursive buildbot:buildbot "${instance_path}" || die "Setting permissions for instance failed"
229 - mv "${instance_path}/master.cfg.sample" "${instance_path}/master.cfg" \
230 - || die "Moving sample configuration failed"
231 - ln --symbolic --relative "/etc/init.d/buildmaster" "/etc/init.d/buildmaster.${instance_name}" \
232 - || die "Unable to create link to init file"
233 -
234 - if [[ ! -d "${instance_log_path}" ]]; then
235 - mkdir --parents "${instance_log_path}" || die "Unable to create directory ${instance_log_path}"
236 - chown --recursive buildbot:buildbot "${instance_log_path}" \
237 - || die "Setting permissions for instance failed"
238 - fi
239 - ln --symbolic --relative "${instance_log_path}/twistd.log" "${instance_path}/twistd.log" \
240 - || die "Unable to create link to log file"
241 -
242 - einfo "Successfully created a buildmaster instance at ${instance_path}."
243 - einfo "To change the default settings edit the master.cfg file in this directory."
244 -}
245
246 diff --git a/dev-util/buildbot/buildbot-2.10.1.ebuild b/dev-util/buildbot/buildbot-2.10.1.ebuild
247 deleted file mode 100644
248 index c7c1f74b4a1c..000000000000
249 --- a/dev-util/buildbot/buildbot-2.10.1.ebuild
250 +++ /dev/null
251 @@ -1,198 +0,0 @@
252 -# Copyright 1999-2021 Gentoo Authors
253 -# Distributed under the terms of the GNU General Public License v2
254 -
255 -EAPI="7"
256 -PYTHON_REQ_USE="sqlite"
257 -PYTHON_COMPAT=( python3_{7,8} )
258 -
259 -DISTUTILS_USE_SETUPTOOLS="rdepend"
260 -
261 -inherit readme.gentoo-r1 systemd distutils-r1
262 -
263 -MY_PV="${PV/_p/.post}"
264 -MY_P="${PN}-${MY_PV}"
265 -
266 -DESCRIPTION="BuildBot build automation system"
267 -HOMEPAGE="https://buildbot.net/ https://github.com/buildbot/buildbot https://pypi.org/project/buildbot/"
268 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz
269 - https://dev.gentoo.org/~dolsen/distfiles/buildbot-2.8.0-fakedb.tar.xz
270 -"
271 -
272 -LICENSE="GPL-2"
273 -SLOT="0"
274 -KEYWORDS="~amd64 ~amd64-linux ~x86-linux"
275 -
276 -IUSE="crypt doc docker examples irc test"
277 -RESTRICT="!test? ( test )"
278 -
279 -RDEPEND="
280 - acct-user/buildbot
281 - >=dev-python/jinja-2.1[${PYTHON_USEDEP}]
282 - >=dev-python/twisted-17.9.0[${PYTHON_USEDEP},crypt?]
283 - >=dev-python/autobahn-0.16.0[${PYTHON_USEDEP}]
284 - >=dev-python/sqlalchemy-1.2.0[${PYTHON_USEDEP}]
285 - >=dev-python/sqlalchemy-migrate-0.13[${PYTHON_USEDEP}]
286 - >=dev-python/python-dateutil-1.5[${PYTHON_USEDEP}]
287 - >=dev-python/txaio-2.2.2[${PYTHON_USEDEP}]
288 - dev-python/pyjwt[${PYTHON_USEDEP}]
289 - dev-python/pyyaml[${PYTHON_USEDEP}]
290 - >=dev-python/zope-interface-4.1.1[${PYTHON_USEDEP}]
291 - ~dev-util/buildbot-worker-${PV}[${PYTHON_USEDEP}]
292 - crypt? (
293 - >=dev-python/pyopenssl-16.0.0[${PYTHON_USEDEP}]
294 - dev-python/idna[${PYTHON_USEDEP}]
295 - dev-python/service_identity[${PYTHON_USEDEP}]
296 - )
297 - irc? (
298 - dev-python/txrequests[${PYTHON_USEDEP}]
299 - )
300 - docker? (
301 - >=dev-python/docker-py-2.2.0[${PYTHON_USEDEP}]
302 - dev-python/requests[${PYTHON_USEDEP}]
303 - )
304 -"
305 -DEPEND="${RDEPEND}
306 - doc? (
307 - >=dev-python/sphinx-3.2.0[${PYTHON_USEDEP}]
308 - dev-python/sphinxcontrib-blockdiag[${PYTHON_USEDEP}]
309 - dev-python/sphinxcontrib-spelling[${PYTHON_USEDEP}]
310 - dev-python/sphinxcontrib-websupport[${PYTHON_USEDEP}]
311 - dev-python/pyenchant[${PYTHON_USEDEP}]
312 - dev-python/docutils[${PYTHON_USEDEP}]
313 - dev-python/sphinx-jinja[${PYTHON_USEDEP}]
314 - dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]
315 - )
316 - test? (
317 - >=dev-python/mock-2.0.0[${PYTHON_USEDEP}]
318 - dev-python/moto[${PYTHON_USEDEP}]
319 - >=dev-python/boto3-1.12.48[${PYTHON_USEDEP}]
320 - dev-python/parameterized[${PYTHON_USEDEP}]
321 - dev-python/pypugjs[${PYTHON_USEDEP}]
322 - dev-python/txrequests[${PYTHON_USEDEP}]
323 - dev-python/lz4[${PYTHON_USEDEP}]
324 - dev-python/treq[${PYTHON_USEDEP}]
325 - dev-python/setuptools_trial[${PYTHON_USEDEP}]
326 - ~dev-util/buildbot-pkg-${PV}[${PYTHON_USEDEP}]
327 - ~dev-util/buildbot-worker-${PV}[${PYTHON_USEDEP}]
328 - ~dev-util/buildbot-www-${PV}[${PYTHON_USEDEP}]
329 - )"
330 -
331 -S=${WORKDIR}/${MY_P}
332 -
333 -distutils_enable_tests setup.py
334 -
335 -pkg_setup() {
336 - DOC_CONTENTS="The \"buildbot\" user and the \"buildmaster\" init script has been added
337 - to support starting buildbot through Gentoo's init system. To use this,
338 - execute \"emerge --config =${CATEGORY}/${PF}\" to create a new instance.
339 - The scripts can run as a different user if desired."
340 -}
341 -
342 -src_compile() {
343 - distutils-r1_src_compile
344 -
345 - # missing files, so skip building
346 - if use doc; then
347 - einfo "Generation of documentation"
348 - pushd docs > /dev/null || die
349 - #'man' target is currently broken
350 - emake html
351 - popd > /dev/null || die
352 - fi
353 -}
354 -
355 -src_install() {
356 - distutils-r1_src_install
357 -
358 - doman docs/buildbot.1
359 -
360 - if use doc; then
361 - HTML_DOCS=( docs/_build/html/ )
362 - fi
363 -
364 - if use examples; then
365 - insinto /usr/share/doc/${PF}
366 - doins -r docs/examples
367 - fi
368 -
369 - newconfd "${FILESDIR}/buildmaster.confd" buildmaster
370 - newinitd "${FILESDIR}/buildmaster.initd" buildmaster
371 - systemd_dounit "${FILESDIR}/buildmaster.target"
372 - systemd_newunit "${FILESDIR}/buildmaster_at.service" "buildmaster@.service"
373 - systemd_install_serviced "${FILESDIR}/buildmaster_at.service.conf" "buildmaster@.service"
374 -
375 - readme.gentoo_create_doc
376 -}
377 -
378 -pkg_postinst() {
379 - readme.gentoo_print_elog
380 -
381 - if [[ -n ${REPLACING_VERSIONS} ]]; then
382 - ewarn
383 - ewarn "Starting with buildbot-0.8.12-r2, more than one instance of buildmaster"
384 - ewarn "can be run simultaneously. Note that \"BASEDIR\" in the buildbot configuration file"
385 - ewarn "is now the common base directory for all instances. If you are migrating from an older"
386 - ewarn "version, make sure that you copy the current contents of \"BASEDIR\" to a subdirectory."
387 - ewarn "The name of the subdirectory corresponds to the name of the buildmaster instance."
388 - ewarn "In order to start the service running OpenRC-based systems need to link to the init file:"
389 - ewarn " ln --symbolic --relative /etc/init.d/buildmaster /etc/init.d/buildmaster.myinstance"
390 - ewarn " rc-update add buildmaster.myinstance default"
391 - ewarn " /etc/init.d/buildmaster.myinstance start"
392 - ewarn "Systems using systemd can do the following:"
393 - ewarn " systemctl enable buildmaster@××××××××××.service"
394 - ewarn " systemctl enable buildmaster.target"
395 - ewarn " systemctl start buildmaster.target"
396 - elog
397 - elog "Upstream recommends the following when upgrading:"
398 - elog "Each time you install a new version of Buildbot, you should run the"
399 - elog "\"buildbot upgrade-master\" command on each of your pre-existing build masters."
400 - elog "This will add files and fix (or at least detect) incompatibilities between"
401 - elog "your old config and the new code."
402 - fi
403 - elog
404 - elog "In order to create a new instance of buildmaster, execute:"
405 - elog " emerge --config =${CATEGORY}/${PF}"
406 -}
407 -
408 -pkg_config() {
409 - local buildmaster_path="/var/lib/buildmaster"
410 - local log_path="/var/log/buildmaster"
411 -
412 - einfo "This will prepare a new buildmaster instance in ${buildmaster_path}."
413 - einfo "Press Control-C to abort."
414 -
415 - einfo "Enter the name for the new instance: "
416 - read instance_name
417 - [[ -z "${instance_name}" ]] && die "Invalid instance name"
418 -
419 - local instance_path="${buildmaster_path}/${instance_name}"
420 - local instance_log_path="${log_path}/${instance_name}"
421 -
422 - if [[ -e "${instance_path}" ]]; then
423 - eerror "The instance with the specified name already exists:"
424 - eerror "${instance_path}"
425 - die "Instance already exists"
426 - fi
427 -
428 - local buildbot="/usr/bin/buildbot"
429 - if [[ ! -d "${buildmaster_path}" ]]; then
430 - mkdir --parents "${buildmaster_path}" || die "Unable to create directory ${buildmaster_path}"
431 - fi
432 - "${buildbot}" create-master "${instance_path}" &>/dev/null || die "Creating instance failed"
433 - chown --recursive buildbot:buildbot "${instance_path}" || die "Setting permissions for instance failed"
434 - mv "${instance_path}/master.cfg.sample" "${instance_path}/master.cfg" \
435 - || die "Moving sample configuration failed"
436 - ln --symbolic --relative "/etc/init.d/buildmaster" "/etc/init.d/buildmaster.${instance_name}" \
437 - || die "Unable to create link to init file"
438 -
439 - if [[ ! -d "${instance_log_path}" ]]; then
440 - mkdir --parents "${instance_log_path}" || die "Unable to create directory ${instance_log_path}"
441 - chown --recursive buildbot:buildbot "${instance_log_path}" \
442 - || die "Setting permissions for instance failed"
443 - fi
444 - ln --symbolic --relative "${instance_log_path}/twistd.log" "${instance_path}/twistd.log" \
445 - || die "Unable to create link to log file"
446 -
447 - einfo "Successfully created a buildmaster instance at ${instance_path}."
448 - einfo "To change the default settings edit the master.cfg file in this directory."
449 -}
450
451 diff --git a/dev-util/buildbot/buildbot-2.8.2-r1.ebuild b/dev-util/buildbot/buildbot-2.8.2-r1.ebuild
452 deleted file mode 100644
453 index b0700a3d10e5..000000000000
454 --- a/dev-util/buildbot/buildbot-2.8.2-r1.ebuild
455 +++ /dev/null
456 @@ -1,203 +0,0 @@
457 -# Copyright 1999-2021 Gentoo Authors
458 -# Distributed under the terms of the GNU General Public License v2
459 -
460 -EAPI="7"
461 -PYTHON_REQ_USE="sqlite"
462 -PYTHON_COMPAT=( python3_{7,8} )
463 -
464 -DISTUTILS_USE_SETUPTOOLS="rdepend"
465 -
466 -inherit readme.gentoo-r1 systemd distutils-r1
467 -
468 -MY_PV="${PV/_p/.post}"
469 -MY_P="${PN}-${MY_PV}"
470 -
471 -DESCRIPTION="BuildBot build automation system"
472 -HOMEPAGE="https://buildbot.net/ https://github.com/buildbot/buildbot https://pypi.org/project/buildbot/"
473 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz
474 - https://dev.gentoo.org/~dolsen/distfiles/buildbot-2.8.0-fakedb.tar.xz
475 -"
476 -
477 -LICENSE="GPL-2"
478 -SLOT="0"
479 -KEYWORDS="~amd64 ~amd64-linux ~x86-linux"
480 -
481 -IUSE="crypt doc docker examples irc test"
482 -RESTRICT="!test? ( test )"
483 -
484 -RDEPEND="
485 - acct-user/buildbot
486 - >=dev-python/jinja-2.1[${PYTHON_USEDEP}]
487 - >=dev-python/twisted-17.9.0[${PYTHON_USEDEP},crypt?]
488 - >=dev-python/autobahn-0.16.0[${PYTHON_USEDEP}]
489 - >=dev-python/sqlalchemy-0.8[${PYTHON_USEDEP}]
490 - >=dev-python/sqlalchemy-migrate-0.9[${PYTHON_USEDEP}]
491 - dev-python/future[${PYTHON_USEDEP}]
492 - >=dev-python/python-dateutil-1.5[${PYTHON_USEDEP}]
493 - >=dev-python/txaio-2.2.2[${PYTHON_USEDEP}]
494 - dev-python/pyjwt[${PYTHON_USEDEP}]
495 - dev-python/pyyaml[${PYTHON_USEDEP}]
496 - >=dev-python/zope-interface-4.1.1[${PYTHON_USEDEP}]
497 - ~dev-util/buildbot-worker-${PV}[${PYTHON_USEDEP}]
498 - crypt? (
499 - >=dev-python/pyopenssl-16.0.0[${PYTHON_USEDEP}]
500 - dev-python/idna[${PYTHON_USEDEP}]
501 - dev-python/service_identity[${PYTHON_USEDEP}]
502 - )
503 - irc? (
504 - dev-python/txrequests[${PYTHON_USEDEP}]
505 - )
506 - docker? (
507 - >=dev-python/docker-py-2.2.0[${PYTHON_USEDEP}]
508 - dev-python/requests[${PYTHON_USEDEP}]
509 - )
510 -"
511 -DEPEND="${RDEPEND}
512 - doc? (
513 - >=dev-python/sphinx-1.4.3[${PYTHON_USEDEP}]
514 - <dev-python/sphinx-2.1.0[${PYTHON_USEDEP}]
515 - dev-python/sphinxcontrib-blockdiag[${PYTHON_USEDEP}]
516 - dev-python/sphinxcontrib-spelling[${PYTHON_USEDEP}]
517 - dev-python/pyenchant[${PYTHON_USEDEP}]
518 - dev-python/docutils[${PYTHON_USEDEP}]
519 - dev-python/sphinx-jinja[${PYTHON_USEDEP}]
520 - dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]
521 - )
522 - test? (
523 - >=dev-python/mock-2.0.0[${PYTHON_USEDEP}]
524 - dev-python/moto[${PYTHON_USEDEP}]
525 - >=dev-python/boto3-1.12.48[${PYTHON_USEDEP}]
526 - dev-python/parameterized[${PYTHON_USEDEP}]
527 - dev-python/pypugjs[${PYTHON_USEDEP}]
528 - dev-python/txrequests[${PYTHON_USEDEP}]
529 - dev-python/lz4[${PYTHON_USEDEP}]
530 - dev-python/treq[${PYTHON_USEDEP}]
531 - dev-python/setuptools_trial[${PYTHON_USEDEP}]
532 - ~dev-util/buildbot-pkg-${PV}[${PYTHON_USEDEP}]
533 - ~dev-util/buildbot-worker-${PV}[${PYTHON_USEDEP}]
534 - ~dev-util/buildbot-www-${PV}[${PYTHON_USEDEP}]
535 - )"
536 -
537 -S=${WORKDIR}/${MY_P}
538 -
539 -distutils_enable_tests setup.py
540 -
541 -PATCHES=(
542 - "${FILESDIR}/pypugjs-2.8.0.patch"
543 -)
544 -
545 -pkg_setup() {
546 - DOC_CONTENTS="The \"buildbot\" user and the \"buildmaster\" init script has been added
547 - to support starting buildbot through Gentoo's init system. To use this,
548 - execute \"emerge --config =${CATEGORY}/${PF}\" to create a new instance.
549 - The scripts can run as a different user if desired."
550 -}
551 -
552 -src_compile() {
553 - distutils-r1_src_compile
554 -
555 - if use doc; then
556 - einfo "Generation of documentation"
557 - pushd docs > /dev/null || die
558 - #'man' target is currently broken
559 - emake html
560 - popd > /dev/null || die
561 - fi
562 -}
563 -
564 -src_install() {
565 - distutils-r1_src_install
566 -
567 - doman docs/buildbot.1
568 -
569 - if use doc; then
570 - HTML_DOCS=( docs/_build/html/ )
571 - # TODO: install man pages
572 - fi
573 -
574 - if use examples; then
575 - insinto /usr/share/doc/${PF}
576 - doins -r docs/examples
577 - fi
578 -
579 - newconfd "${FILESDIR}/buildmaster.confd" buildmaster
580 - newinitd "${FILESDIR}/buildmaster.initd" buildmaster
581 - systemd_dounit "${FILESDIR}/buildmaster.target"
582 - systemd_newunit "${FILESDIR}/buildmaster_at.service" "buildmaster@.service"
583 - systemd_install_serviced "${FILESDIR}/buildmaster_at.service.conf" "buildmaster@.service"
584 -
585 - readme.gentoo_create_doc
586 -}
587 -
588 -pkg_postinst() {
589 - readme.gentoo_print_elog
590 -
591 - if [[ -n ${REPLACING_VERSIONS} ]]; then
592 - ewarn
593 - ewarn "Starting with buildbot-0.8.12-r2, more than one instance of buildmaster"
594 - ewarn "can be run simultaneously. Note that \"BASEDIR\" in the buildbot configuration file"
595 - ewarn "is now the common base directory for all instances. If you are migrating from an older"
596 - ewarn "version, make sure that you copy the current contents of \"BASEDIR\" to a subdirectory."
597 - ewarn "The name of the subdirectory corresponds to the name of the buildmaster instance."
598 - ewarn "In order to start the service running OpenRC-based systems need to link to the init file:"
599 - ewarn " ln --symbolic --relative /etc/init.d/buildmaster /etc/init.d/buildmaster.myinstance"
600 - ewarn " rc-update add buildmaster.myinstance default"
601 - ewarn " /etc/init.d/buildmaster.myinstance start"
602 - ewarn "Systems using systemd can do the following:"
603 - ewarn " systemctl enable buildmaster@××××××××××.service"
604 - ewarn " systemctl enable buildmaster.target"
605 - ewarn " systemctl start buildmaster.target"
606 - elog
607 - elog "Upstream recommends the following when upgrading:"
608 - elog "Each time you install a new version of Buildbot, you should run the"
609 - elog "\"buildbot upgrade-master\" command on each of your pre-existing build masters."
610 - elog "This will add files and fix (or at least detect) incompatibilities between"
611 - elog "your old config and the new code."
612 - fi
613 - elog
614 - elog "In order to create a new instance of buildmaster, execute:"
615 - elog " emerge --config =${CATEGORY}/${PF}"
616 -}
617 -
618 -pkg_config() {
619 - local buildmaster_path="/var/lib/buildmaster"
620 - local log_path="/var/log/buildmaster"
621 -
622 - einfo "This will prepare a new buildmaster instance in ${buildmaster_path}."
623 - einfo "Press Control-C to abort."
624 -
625 - einfo "Enter the name for the new instance: "
626 - read instance_name
627 - [[ -z "${instance_name}" ]] && die "Invalid instance name"
628 -
629 - local instance_path="${buildmaster_path}/${instance_name}"
630 - local instance_log_path="${log_path}/${instance_name}"
631 -
632 - if [[ -e "${instance_path}" ]]; then
633 - eerror "The instance with the specified name already exists:"
634 - eerror "${instance_path}"
635 - die "Instance already exists"
636 - fi
637 -
638 - local buildbot="/usr/bin/buildbot"
639 - if [[ ! -d "${buildmaster_path}" ]]; then
640 - mkdir --parents "${buildmaster_path}" || die "Unable to create directory ${buildmaster_path}"
641 - fi
642 - "${buildbot}" create-master "${instance_path}" &>/dev/null || die "Creating instance failed"
643 - chown --recursive buildbot:buildbot "${instance_path}" || die "Setting permissions for instance failed"
644 - mv "${instance_path}/master.cfg.sample" "${instance_path}/master.cfg" \
645 - || die "Moving sample configuration failed"
646 - ln --symbolic --relative "/etc/init.d/buildmaster" "/etc/init.d/buildmaster.${instance_name}" \
647 - || die "Unable to create link to init file"
648 -
649 - if [[ ! -d "${instance_log_path}" ]]; then
650 - mkdir --parents "${instance_log_path}" || die "Unable to create directory ${instance_log_path}"
651 - chown --recursive buildbot:buildbot "${instance_log_path}" \
652 - || die "Setting permissions for instance failed"
653 - fi
654 - ln --symbolic --relative "${instance_log_path}/twistd.log" "${instance_path}/twistd.log" \
655 - || die "Unable to create link to log file"
656 -
657 - einfo "Successfully created a buildmaster instance at ${instance_path}."
658 - einfo "To change the default settings edit the master.cfg file in this directory."
659 -}
660
661 diff --git a/dev-util/buildbot/buildbot-2.8.4.ebuild b/dev-util/buildbot/buildbot-2.8.4.ebuild
662 deleted file mode 100644
663 index e9d0a330e1ec..000000000000
664 --- a/dev-util/buildbot/buildbot-2.8.4.ebuild
665 +++ /dev/null
666 @@ -1,204 +0,0 @@
667 -# Copyright 1999-2021 Gentoo Authors
668 -# Distributed under the terms of the GNU General Public License v2
669 -
670 -EAPI="7"
671 -PYTHON_REQ_USE="sqlite"
672 -PYTHON_COMPAT=( python3_{7,8} )
673 -
674 -DISTUTILS_USE_SETUPTOOLS="rdepend"
675 -
676 -inherit readme.gentoo-r1 systemd distutils-r1
677 -
678 -MY_PV="${PV/_p/.post}"
679 -MY_P="${PN}-${MY_PV}"
680 -
681 -DESCRIPTION="BuildBot build automation system"
682 -HOMEPAGE="https://buildbot.net/ https://github.com/buildbot/buildbot https://pypi.org/project/buildbot/"
683 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz
684 - https://dev.gentoo.org/~dolsen/distfiles/buildbot-2.8.0-fakedb.tar.xz
685 -"
686 -
687 -LICENSE="GPL-2"
688 -SLOT="0"
689 -KEYWORDS="~amd64 ~amd64-linux ~x86-linux"
690 -
691 -IUSE="crypt doc docker examples irc test"
692 -RESTRICT="!test? ( test )"
693 -
694 -RDEPEND="
695 - acct-user/buildbot
696 - >=dev-python/jinja-2.1[${PYTHON_USEDEP}]
697 - >=dev-python/twisted-17.9.0[${PYTHON_USEDEP},crypt?]
698 - >=dev-python/autobahn-0.16.0[${PYTHON_USEDEP}]
699 - >=dev-python/sqlalchemy-0.8[${PYTHON_USEDEP}]
700 - >=dev-python/sqlalchemy-migrate-0.9[${PYTHON_USEDEP}]
701 - dev-python/future[${PYTHON_USEDEP}]
702 - >=dev-python/python-dateutil-1.5[${PYTHON_USEDEP}]
703 - >=dev-python/txaio-2.2.2[${PYTHON_USEDEP}]
704 - dev-python/pyjwt[${PYTHON_USEDEP}]
705 - dev-python/pyyaml[${PYTHON_USEDEP}]
706 - >=dev-python/zope-interface-4.1.1[${PYTHON_USEDEP}]
707 - ~dev-util/buildbot-worker-${PV}[${PYTHON_USEDEP}]
708 - crypt? (
709 - >=dev-python/pyopenssl-16.0.0[${PYTHON_USEDEP}]
710 - dev-python/idna[${PYTHON_USEDEP}]
711 - dev-python/service_identity[${PYTHON_USEDEP}]
712 - )
713 - irc? (
714 - dev-python/txrequests[${PYTHON_USEDEP}]
715 - )
716 - docker? (
717 - >=dev-python/docker-py-2.2.0[${PYTHON_USEDEP}]
718 - dev-python/requests[${PYTHON_USEDEP}]
719 - )
720 -"
721 -DEPEND="${RDEPEND}
722 - doc? (
723 - >=dev-python/sphinx-1.4.3[${PYTHON_USEDEP}]
724 - <dev-python/sphinx-2.1.0[${PYTHON_USEDEP}]
725 - dev-python/sphinxcontrib-blockdiag[${PYTHON_USEDEP}]
726 - dev-python/sphinxcontrib-spelling[${PYTHON_USEDEP}]
727 - dev-python/sphinxcontrib-websupport[${PYTHON_USEDEP}]
728 - dev-python/pyenchant[${PYTHON_USEDEP}]
729 - dev-python/docutils[${PYTHON_USEDEP}]
730 - dev-python/sphinx-jinja[${PYTHON_USEDEP}]
731 - dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]
732 - )
733 - test? (
734 - >=dev-python/mock-2.0.0[${PYTHON_USEDEP}]
735 - dev-python/moto[${PYTHON_USEDEP}]
736 - >=dev-python/boto3-1.12.48[${PYTHON_USEDEP}]
737 - dev-python/parameterized[${PYTHON_USEDEP}]
738 - dev-python/pypugjs[${PYTHON_USEDEP}]
739 - dev-python/txrequests[${PYTHON_USEDEP}]
740 - dev-python/lz4[${PYTHON_USEDEP}]
741 - dev-python/treq[${PYTHON_USEDEP}]
742 - dev-python/setuptools_trial[${PYTHON_USEDEP}]
743 - ~dev-util/buildbot-pkg-${PV}[${PYTHON_USEDEP}]
744 - ~dev-util/buildbot-worker-${PV}[${PYTHON_USEDEP}]
745 - ~dev-util/buildbot-www-${PV}[${PYTHON_USEDEP}]
746 - )"
747 -
748 -S=${WORKDIR}/${MY_P}
749 -
750 -distutils_enable_tests setup.py
751 -
752 -PATCHES=(
753 - "${FILESDIR}/pypugjs-2.8.0.patch"
754 -)
755 -
756 -pkg_setup() {
757 - DOC_CONTENTS="The \"buildbot\" user and the \"buildmaster\" init script has been added
758 - to support starting buildbot through Gentoo's init system. To use this,
759 - execute \"emerge --config =${CATEGORY}/${PF}\" to create a new instance.
760 - The scripts can run as a different user if desired."
761 -}
762 -
763 -src_compile() {
764 - distutils-r1_src_compile
765 -
766 - # missing files, so skip building
767 - if use doc; then
768 - einfo "Generation of documentation"
769 - pushd docs > /dev/null || die
770 - #'man' target is currently broken
771 - emake html
772 - popd > /dev/null || die
773 - fi
774 -}
775 -
776 -src_install() {
777 - distutils-r1_src_install
778 -
779 - doman docs/buildbot.1
780 -
781 - if use doc; then
782 - HTML_DOCS=( docs/_build/html/ )
783 - fi
784 -
785 - if use examples; then
786 - insinto /usr/share/doc/${PF}
787 - doins -r docs/examples
788 - fi
789 -
790 - newconfd "${FILESDIR}/buildmaster.confd" buildmaster
791 - newinitd "${FILESDIR}/buildmaster.initd" buildmaster
792 - systemd_dounit "${FILESDIR}/buildmaster.target"
793 - systemd_newunit "${FILESDIR}/buildmaster_at.service" "buildmaster@.service"
794 - systemd_install_serviced "${FILESDIR}/buildmaster_at.service.conf" "buildmaster@.service"
795 -
796 - readme.gentoo_create_doc
797 -}
798 -
799 -pkg_postinst() {
800 - readme.gentoo_print_elog
801 -
802 - if [[ -n ${REPLACING_VERSIONS} ]]; then
803 - ewarn
804 - ewarn "Starting with buildbot-0.8.12-r2, more than one instance of buildmaster"
805 - ewarn "can be run simultaneously. Note that \"BASEDIR\" in the buildbot configuration file"
806 - ewarn "is now the common base directory for all instances. If you are migrating from an older"
807 - ewarn "version, make sure that you copy the current contents of \"BASEDIR\" to a subdirectory."
808 - ewarn "The name of the subdirectory corresponds to the name of the buildmaster instance."
809 - ewarn "In order to start the service running OpenRC-based systems need to link to the init file:"
810 - ewarn " ln --symbolic --relative /etc/init.d/buildmaster /etc/init.d/buildmaster.myinstance"
811 - ewarn " rc-update add buildmaster.myinstance default"
812 - ewarn " /etc/init.d/buildmaster.myinstance start"
813 - ewarn "Systems using systemd can do the following:"
814 - ewarn " systemctl enable buildmaster@××××××××××.service"
815 - ewarn " systemctl enable buildmaster.target"
816 - ewarn " systemctl start buildmaster.target"
817 - elog
818 - elog "Upstream recommends the following when upgrading:"
819 - elog "Each time you install a new version of Buildbot, you should run the"
820 - elog "\"buildbot upgrade-master\" command on each of your pre-existing build masters."
821 - elog "This will add files and fix (or at least detect) incompatibilities between"
822 - elog "your old config and the new code."
823 - fi
824 - elog
825 - elog "In order to create a new instance of buildmaster, execute:"
826 - elog " emerge --config =${CATEGORY}/${PF}"
827 -}
828 -
829 -pkg_config() {
830 - local buildmaster_path="/var/lib/buildmaster"
831 - local log_path="/var/log/buildmaster"
832 -
833 - einfo "This will prepare a new buildmaster instance in ${buildmaster_path}."
834 - einfo "Press Control-C to abort."
835 -
836 - einfo "Enter the name for the new instance: "
837 - read instance_name
838 - [[ -z "${instance_name}" ]] && die "Invalid instance name"
839 -
840 - local instance_path="${buildmaster_path}/${instance_name}"
841 - local instance_log_path="${log_path}/${instance_name}"
842 -
843 - if [[ -e "${instance_path}" ]]; then
844 - eerror "The instance with the specified name already exists:"
845 - eerror "${instance_path}"
846 - die "Instance already exists"
847 - fi
848 -
849 - local buildbot="/usr/bin/buildbot"
850 - if [[ ! -d "${buildmaster_path}" ]]; then
851 - mkdir --parents "${buildmaster_path}" || die "Unable to create directory ${buildmaster_path}"
852 - fi
853 - "${buildbot}" create-master "${instance_path}" &>/dev/null || die "Creating instance failed"
854 - chown --recursive buildbot:buildbot "${instance_path}" || die "Setting permissions for instance failed"
855 - mv "${instance_path}/master.cfg.sample" "${instance_path}/master.cfg" \
856 - || die "Moving sample configuration failed"
857 - ln --symbolic --relative "/etc/init.d/buildmaster" "/etc/init.d/buildmaster.${instance_name}" \
858 - || die "Unable to create link to init file"
859 -
860 - if [[ ! -d "${instance_log_path}" ]]; then
861 - mkdir --parents "${instance_log_path}" || die "Unable to create directory ${instance_log_path}"
862 - chown --recursive buildbot:buildbot "${instance_log_path}" \
863 - || die "Setting permissions for instance failed"
864 - fi
865 - ln --symbolic --relative "${instance_log_path}/twistd.log" "${instance_path}/twistd.log" \
866 - || die "Unable to create link to log file"
867 -
868 - einfo "Successfully created a buildmaster instance at ${instance_path}."
869 - einfo "To change the default settings edit the master.cfg file in this directory."
870 -}
871
872 diff --git a/dev-util/buildbot/buildbot-3.0.2.ebuild b/dev-util/buildbot/buildbot-3.0.2.ebuild
873 deleted file mode 100644
874 index 36fb6b16cb7b..000000000000
875 --- a/dev-util/buildbot/buildbot-3.0.2.ebuild
876 +++ /dev/null
877 @@ -1,200 +0,0 @@
878 -# Copyright 1999-2021 Gentoo Authors
879 -# Distributed under the terms of the GNU General Public License v2
880 -
881 -EAPI="7"
882 -PYTHON_REQ_USE="sqlite"
883 -PYTHON_COMPAT=( python3_{7,8,9} )
884 -
885 -DISTUTILS_USE_SETUPTOOLS="rdepend"
886 -
887 -inherit readme.gentoo-r1 systemd distutils-r1
888 -
889 -MY_PV="${PV/_p/.post}"
890 -MY_P="${PN}-${MY_PV}"
891 -
892 -DESCRIPTION="BuildBot build automation system"
893 -HOMEPAGE="https://buildbot.net/ https://github.com/buildbot/buildbot https://pypi.org/project/buildbot/"
894 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz
895 - https://dev.gentoo.org/~dolsen/distfiles/buildbot-2.8.0-fakedb.tar.xz
896 -"
897 -
898 -LICENSE="GPL-2"
899 -SLOT="0"
900 -KEYWORDS="~amd64 ~amd64-linux ~x86-linux"
901 -
902 -IUSE="crypt doc docker examples irc test"
903 -RESTRICT="!test? ( test )"
904 -
905 -RDEPEND="
906 - acct-user/buildbot
907 - >=dev-python/jinja-2.1[${PYTHON_USEDEP}]
908 - >=dev-python/twisted-17.9.0[${PYTHON_USEDEP},crypt?]
909 - >=dev-python/autobahn-0.16.0[${PYTHON_USEDEP}]
910 - >=dev-python/sqlalchemy-1.2.0[${PYTHON_USEDEP}]
911 - <dev-python/sqlalchemy-1.4.0[${PYTHON_USEDEP}]
912 - >=dev-python/sqlalchemy-migrate-0.13[${PYTHON_USEDEP}]
913 - >=dev-python/python-dateutil-1.5[${PYTHON_USEDEP}]
914 - >=dev-python/txaio-2.2.2[${PYTHON_USEDEP}]
915 - dev-python/pyjwt[${PYTHON_USEDEP}]
916 - dev-python/pyyaml[${PYTHON_USEDEP}]
917 - >=dev-python/zope-interface-4.1.1[${PYTHON_USEDEP}]
918 - ~dev-util/buildbot-worker-${PV}[${PYTHON_USEDEP}]
919 - crypt? (
920 - >=dev-python/pyopenssl-16.0.0[${PYTHON_USEDEP}]
921 - dev-python/idna[${PYTHON_USEDEP}]
922 - dev-python/service_identity[${PYTHON_USEDEP}]
923 - )
924 - irc? (
925 - dev-python/txrequests[${PYTHON_USEDEP}]
926 - )
927 - docker? (
928 - >=dev-python/docker-py-2.2.0[${PYTHON_USEDEP}]
929 - dev-python/requests[${PYTHON_USEDEP}]
930 - )
931 -"
932 -DEPEND="${RDEPEND}
933 - doc? (
934 - >=dev-python/sphinx-3.2.0[${PYTHON_USEDEP}]
935 - dev-python/sphinxcontrib-blockdiag[${PYTHON_USEDEP}]
936 - dev-python/sphinxcontrib-spelling[${PYTHON_USEDEP}]
937 - dev-python/sphinxcontrib-websupport[${PYTHON_USEDEP}]
938 - dev-python/pyenchant[${PYTHON_USEDEP}]
939 - dev-python/docutils[${PYTHON_USEDEP}]
940 - dev-python/sphinx-jinja[${PYTHON_USEDEP}]
941 - dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]
942 - )
943 - test? (
944 - dev-python/ldap3[${PYTHON_USEDEP}]
945 - >=dev-python/mock-2.0.0[${PYTHON_USEDEP}]
946 - dev-python/moto[${PYTHON_USEDEP}]
947 - >=dev-python/boto3-1.12.48[${PYTHON_USEDEP}]
948 - dev-python/parameterized[${PYTHON_USEDEP}]
949 - dev-python/pypugjs[${PYTHON_USEDEP}]
950 - dev-python/txrequests[${PYTHON_USEDEP}]
951 - dev-python/lz4[${PYTHON_USEDEP}]
952 - dev-python/treq[${PYTHON_USEDEP}]
953 - dev-python/setuptools_trial[${PYTHON_USEDEP}]
954 - ~dev-util/buildbot-pkg-${PV}[${PYTHON_USEDEP}]
955 - ~dev-util/buildbot-worker-${PV}[${PYTHON_USEDEP}]
956 - ~dev-util/buildbot-www-${PV}[${PYTHON_USEDEP}]
957 - )"
958 -
959 -S=${WORKDIR}/${MY_P}
960 -
961 -distutils_enable_tests setup.py
962 -
963 -pkg_setup() {
964 - DOC_CONTENTS="The \"buildbot\" user and the \"buildmaster\" init script has been added
965 - to support starting buildbot through Gentoo's init system. To use this,
966 - execute \"emerge --config =${CATEGORY}/${PF}\" to create a new instance.
967 - The scripts can run as a different user if desired."
968 -}
969 -
970 -src_compile() {
971 - distutils-r1_src_compile
972 -
973 - # missing files, so skip building
974 - if use doc; then
975 - einfo "Generation of documentation"
976 - pushd docs > /dev/null || die
977 - #'man' target is currently broken
978 - emake html
979 - popd > /dev/null || die
980 - fi
981 -}
982 -
983 -src_install() {
984 - distutils-r1_src_install
985 -
986 - doman docs/buildbot.1
987 -
988 - if use doc; then
989 - HTML_DOCS=( docs/_build/html/ )
990 - fi
991 -
992 - if use examples; then
993 - insinto /usr/share/doc/${PF}
994 - doins -r docs/examples
995 - fi
996 -
997 - newconfd "${FILESDIR}/buildmaster.confd" buildmaster
998 - newinitd "${FILESDIR}/buildmaster.initd" buildmaster
999 - systemd_dounit "${FILESDIR}/buildmaster.target"
1000 - systemd_newunit "${FILESDIR}/buildmaster_at.service" "buildmaster@.service"
1001 - systemd_install_serviced "${FILESDIR}/buildmaster_at.service.conf" "buildmaster@.service"
1002 -
1003 - readme.gentoo_create_doc
1004 -}
1005 -
1006 -pkg_postinst() {
1007 - readme.gentoo_print_elog
1008 -
1009 - if [[ -n ${REPLACING_VERSIONS} ]]; then
1010 - ewarn
1011 - ewarn "Starting with buildbot-0.8.12-r2, more than one instance of buildmaster"
1012 - ewarn "can be run simultaneously. Note that \"BASEDIR\" in the buildbot configuration file"
1013 - ewarn "is now the common base directory for all instances. If you are migrating from an older"
1014 - ewarn "version, make sure that you copy the current contents of \"BASEDIR\" to a subdirectory."
1015 - ewarn "The name of the subdirectory corresponds to the name of the buildmaster instance."
1016 - ewarn "In order to start the service running OpenRC-based systems need to link to the init file:"
1017 - ewarn " ln --symbolic --relative /etc/init.d/buildmaster /etc/init.d/buildmaster.myinstance"
1018 - ewarn " rc-update add buildmaster.myinstance default"
1019 - ewarn " /etc/init.d/buildmaster.myinstance start"
1020 - ewarn "Systems using systemd can do the following:"
1021 - ewarn " systemctl enable buildmaster@××××××××××.service"
1022 - ewarn " systemctl enable buildmaster.target"
1023 - ewarn " systemctl start buildmaster.target"
1024 - elog
1025 - elog "Upstream recommends the following when upgrading:"
1026 - elog "Each time you install a new version of Buildbot, you should run the"
1027 - elog "\"buildbot upgrade-master\" command on each of your pre-existing build masters."
1028 - elog "This will add files and fix (or at least detect) incompatibilities between"
1029 - elog "your old config and the new code."
1030 - fi
1031 - elog
1032 - elog "In order to create a new instance of buildmaster, execute:"
1033 - elog " emerge --config =${CATEGORY}/${PF}"
1034 -}
1035 -
1036 -pkg_config() {
1037 - local buildmaster_path="/var/lib/buildmaster"
1038 - local log_path="/var/log/buildmaster"
1039 -
1040 - einfo "This will prepare a new buildmaster instance in ${buildmaster_path}."
1041 - einfo "Press Control-C to abort."
1042 -
1043 - einfo "Enter the name for the new instance: "
1044 - read instance_name
1045 - [[ -z "${instance_name}" ]] && die "Invalid instance name"
1046 -
1047 - local instance_path="${buildmaster_path}/${instance_name}"
1048 - local instance_log_path="${log_path}/${instance_name}"
1049 -
1050 - if [[ -e "${instance_path}" ]]; then
1051 - eerror "The instance with the specified name already exists:"
1052 - eerror "${instance_path}"
1053 - die "Instance already exists"
1054 - fi
1055 -
1056 - local buildbot="/usr/bin/buildbot"
1057 - if [[ ! -d "${buildmaster_path}" ]]; then
1058 - mkdir --parents "${buildmaster_path}" || die "Unable to create directory ${buildmaster_path}"
1059 - fi
1060 - "${buildbot}" create-master "${instance_path}" &>/dev/null || die "Creating instance failed"
1061 - chown --recursive buildbot:buildbot "${instance_path}" || die "Setting permissions for instance failed"
1062 - mv "${instance_path}/master.cfg.sample" "${instance_path}/master.cfg" \
1063 - || die "Moving sample configuration failed"
1064 - ln --symbolic --relative "/etc/init.d/buildmaster" "/etc/init.d/buildmaster.${instance_name}" \
1065 - || die "Unable to create link to init file"
1066 -
1067 - if [[ ! -d "${instance_log_path}" ]]; then
1068 - mkdir --parents "${instance_log_path}" || die "Unable to create directory ${instance_log_path}"
1069 - chown --recursive buildbot:buildbot "${instance_log_path}" \
1070 - || die "Setting permissions for instance failed"
1071 - fi
1072 - ln --symbolic --relative "${instance_log_path}/twistd.log" "${instance_path}/twistd.log" \
1073 - || die "Unable to create link to log file"
1074 -
1075 - einfo "Successfully created a buildmaster instance at ${instance_path}."
1076 - einfo "To change the default settings edit the master.cfg file in this directory."
1077 -}
1078
1079 diff --git a/dev-util/buildbot/buildbot-3.1.0.ebuild b/dev-util/buildbot/buildbot-3.1.0.ebuild
1080 deleted file mode 100644
1081 index 01cb4bce9603..000000000000
1082 --- a/dev-util/buildbot/buildbot-3.1.0.ebuild
1083 +++ /dev/null
1084 @@ -1,201 +0,0 @@
1085 -# Copyright 1999-2021 Gentoo Authors
1086 -# Distributed under the terms of the GNU General Public License v2
1087 -
1088 -EAPI="7"
1089 -PYTHON_REQ_USE="sqlite"
1090 -PYTHON_COMPAT=( python3_{7,8,9} )
1091 -
1092 -DISTUTILS_USE_SETUPTOOLS="rdepend"
1093 -
1094 -inherit readme.gentoo-r1 systemd distutils-r1
1095 -
1096 -MY_PV="${PV/_p/.post}"
1097 -MY_P="${PN}-${MY_PV}"
1098 -
1099 -DESCRIPTION="BuildBot build automation system"
1100 -HOMEPAGE="https://buildbot.net/ https://github.com/buildbot/buildbot https://pypi.org/project/buildbot/"
1101 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz
1102 - https://dev.gentoo.org/~dolsen/distfiles/buildbot-2.8.0-fakedb.tar.xz
1103 -"
1104 -
1105 -LICENSE="GPL-2"
1106 -SLOT="0"
1107 -KEYWORDS="~amd64 ~arm64 ~amd64-linux ~x86-linux"
1108 -
1109 -IUSE="crypt doc docker examples irc test"
1110 -RESTRICT="!test? ( test )"
1111 -
1112 -RDEPEND="
1113 - acct-user/buildbot
1114 - >=dev-python/jinja-2.1[${PYTHON_USEDEP}]
1115 - >=dev-python/twisted-17.9.0[${PYTHON_USEDEP},crypt?]
1116 - >=dev-python/autobahn-0.16.0[${PYTHON_USEDEP}]
1117 - >=dev-python/sqlalchemy-1.2.0[${PYTHON_USEDEP}]
1118 - <dev-python/sqlalchemy-1.4.0[${PYTHON_USEDEP}]
1119 - >=dev-python/sqlalchemy-migrate-0.13[${PYTHON_USEDEP}]
1120 - >=dev-python/python-dateutil-1.5[${PYTHON_USEDEP}]
1121 - >=dev-python/txaio-2.2.2[${PYTHON_USEDEP}]
1122 - dev-python/pyjwt[${PYTHON_USEDEP}]
1123 - dev-python/pyyaml[${PYTHON_USEDEP}]
1124 - dev-python/unidiff[${PYTHON_USEDEP}]
1125 - >=dev-python/zope-interface-4.1.1[${PYTHON_USEDEP}]
1126 - ~dev-util/buildbot-worker-${PV}[${PYTHON_USEDEP}]
1127 - crypt? (
1128 - >=dev-python/pyopenssl-16.0.0[${PYTHON_USEDEP}]
1129 - dev-python/idna[${PYTHON_USEDEP}]
1130 - dev-python/service_identity[${PYTHON_USEDEP}]
1131 - )
1132 - irc? (
1133 - dev-python/txrequests[${PYTHON_USEDEP}]
1134 - )
1135 - docker? (
1136 - >=dev-python/docker-py-2.2.0[${PYTHON_USEDEP}]
1137 - dev-python/requests[${PYTHON_USEDEP}]
1138 - )
1139 -"
1140 -DEPEND="${RDEPEND}
1141 - doc? (
1142 - >=dev-python/sphinx-3.2.0[${PYTHON_USEDEP}]
1143 - dev-python/sphinxcontrib-blockdiag[${PYTHON_USEDEP}]
1144 - dev-python/sphinxcontrib-spelling[${PYTHON_USEDEP}]
1145 - dev-python/sphinxcontrib-websupport[${PYTHON_USEDEP}]
1146 - dev-python/pyenchant[${PYTHON_USEDEP}]
1147 - dev-python/docutils[${PYTHON_USEDEP}]
1148 - dev-python/sphinx-jinja[${PYTHON_USEDEP}]
1149 - dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]
1150 - )
1151 - test? (
1152 - dev-python/ldap3[${PYTHON_USEDEP}]
1153 - >=dev-python/mock-2.0.0[${PYTHON_USEDEP}]
1154 - dev-python/moto[${PYTHON_USEDEP}]
1155 - >=dev-python/boto3-1.12.48[${PYTHON_USEDEP}]
1156 - dev-python/parameterized[${PYTHON_USEDEP}]
1157 - dev-python/pypugjs[${PYTHON_USEDEP}]
1158 - dev-python/txrequests[${PYTHON_USEDEP}]
1159 - dev-python/lz4[${PYTHON_USEDEP}]
1160 - dev-python/treq[${PYTHON_USEDEP}]
1161 - dev-python/setuptools_trial[${PYTHON_USEDEP}]
1162 - ~dev-util/buildbot-pkg-${PV}[${PYTHON_USEDEP}]
1163 - ~dev-util/buildbot-worker-${PV}[${PYTHON_USEDEP}]
1164 - ~dev-util/buildbot-www-${PV}[${PYTHON_USEDEP}]
1165 - )"
1166 -
1167 -S=${WORKDIR}/${MY_P}
1168 -
1169 -distutils_enable_tests setup.py
1170 -
1171 -pkg_setup() {
1172 - DOC_CONTENTS="The \"buildbot\" user and the \"buildmaster\" init script has been added
1173 - to support starting buildbot through Gentoo's init system. To use this,
1174 - execute \"emerge --config =${CATEGORY}/${PF}\" to create a new instance.
1175 - The scripts can run as a different user if desired."
1176 -}
1177 -
1178 -src_compile() {
1179 - distutils-r1_src_compile
1180 -
1181 - # missing files, so skip building
1182 - if use doc; then
1183 - einfo "Generation of documentation"
1184 - pushd docs > /dev/null || die
1185 - #'man' target is currently broken
1186 - emake html
1187 - popd > /dev/null || die
1188 - fi
1189 -}
1190 -
1191 -src_install() {
1192 - distutils-r1_src_install
1193 -
1194 - doman docs/buildbot.1
1195 -
1196 - if use doc; then
1197 - HTML_DOCS=( docs/_build/html/ )
1198 - fi
1199 -
1200 - if use examples; then
1201 - insinto /usr/share/doc/${PF}
1202 - doins -r docs/examples
1203 - fi
1204 -
1205 - newconfd "${FILESDIR}/buildmaster.confd" buildmaster
1206 - newinitd "${FILESDIR}/buildmaster.initd" buildmaster
1207 - systemd_dounit "${FILESDIR}/buildmaster.target"
1208 - systemd_newunit "${FILESDIR}/buildmaster_at.service" "buildmaster@.service"
1209 - systemd_install_serviced "${FILESDIR}/buildmaster_at.service.conf" "buildmaster@.service"
1210 -
1211 - readme.gentoo_create_doc
1212 -}
1213 -
1214 -pkg_postinst() {
1215 - readme.gentoo_print_elog
1216 -
1217 - if [[ -n ${REPLACING_VERSIONS} ]]; then
1218 - ewarn
1219 - ewarn "Starting with buildbot-0.8.12-r2, more than one instance of buildmaster"
1220 - ewarn "can be run simultaneously. Note that \"BASEDIR\" in the buildbot configuration file"
1221 - ewarn "is now the common base directory for all instances. If you are migrating from an older"
1222 - ewarn "version, make sure that you copy the current contents of \"BASEDIR\" to a subdirectory."
1223 - ewarn "The name of the subdirectory corresponds to the name of the buildmaster instance."
1224 - ewarn "In order to start the service running OpenRC-based systems need to link to the init file:"
1225 - ewarn " ln --symbolic --relative /etc/init.d/buildmaster /etc/init.d/buildmaster.myinstance"
1226 - ewarn " rc-update add buildmaster.myinstance default"
1227 - ewarn " /etc/init.d/buildmaster.myinstance start"
1228 - ewarn "Systems using systemd can do the following:"
1229 - ewarn " systemctl enable buildmaster@××××××××××.service"
1230 - ewarn " systemctl enable buildmaster.target"
1231 - ewarn " systemctl start buildmaster.target"
1232 - elog
1233 - elog "Upstream recommends the following when upgrading:"
1234 - elog "Each time you install a new version of Buildbot, you should run the"
1235 - elog "\"buildbot upgrade-master\" command on each of your pre-existing build masters."
1236 - elog "This will add files and fix (or at least detect) incompatibilities between"
1237 - elog "your old config and the new code."
1238 - fi
1239 - elog
1240 - elog "In order to create a new instance of buildmaster, execute:"
1241 - elog " emerge --config =${CATEGORY}/${PF}"
1242 -}
1243 -
1244 -pkg_config() {
1245 - local buildmaster_path="/var/lib/buildmaster"
1246 - local log_path="/var/log/buildmaster"
1247 -
1248 - einfo "This will prepare a new buildmaster instance in ${buildmaster_path}."
1249 - einfo "Press Control-C to abort."
1250 -
1251 - einfo "Enter the name for the new instance: "
1252 - read instance_name
1253 - [[ -z "${instance_name}" ]] && die "Invalid instance name"
1254 -
1255 - local instance_path="${buildmaster_path}/${instance_name}"
1256 - local instance_log_path="${log_path}/${instance_name}"
1257 -
1258 - if [[ -e "${instance_path}" ]]; then
1259 - eerror "The instance with the specified name already exists:"
1260 - eerror "${instance_path}"
1261 - die "Instance already exists"
1262 - fi
1263 -
1264 - local buildbot="/usr/bin/buildbot"
1265 - if [[ ! -d "${buildmaster_path}" ]]; then
1266 - mkdir --parents "${buildmaster_path}" || die "Unable to create directory ${buildmaster_path}"
1267 - fi
1268 - "${buildbot}" create-master "${instance_path}" &>/dev/null || die "Creating instance failed"
1269 - chown --recursive buildbot:buildbot "${instance_path}" || die "Setting permissions for instance failed"
1270 - mv "${instance_path}/master.cfg.sample" "${instance_path}/master.cfg" \
1271 - || die "Moving sample configuration failed"
1272 - ln --symbolic --relative "/etc/init.d/buildmaster" "/etc/init.d/buildmaster.${instance_name}" \
1273 - || die "Unable to create link to init file"
1274 -
1275 - if [[ ! -d "${instance_log_path}" ]]; then
1276 - mkdir --parents "${instance_log_path}" || die "Unable to create directory ${instance_log_path}"
1277 - chown --recursive buildbot:buildbot "${instance_log_path}" \
1278 - || die "Setting permissions for instance failed"
1279 - fi
1280 - ln --symbolic --relative "${instance_log_path}/twistd.log" "${instance_path}/twistd.log" \
1281 - || die "Unable to create link to log file"
1282 -
1283 - einfo "Successfully created a buildmaster instance at ${instance_path}."
1284 - einfo "To change the default settings edit the master.cfg file in this directory."
1285 -}
1286
1287 diff --git a/dev-util/buildbot/buildbot-3.1.1.ebuild b/dev-util/buildbot/buildbot-3.1.1.ebuild
1288 deleted file mode 100644
1289 index 01cb4bce9603..000000000000
1290 --- a/dev-util/buildbot/buildbot-3.1.1.ebuild
1291 +++ /dev/null
1292 @@ -1,201 +0,0 @@
1293 -# Copyright 1999-2021 Gentoo Authors
1294 -# Distributed under the terms of the GNU General Public License v2
1295 -
1296 -EAPI="7"
1297 -PYTHON_REQ_USE="sqlite"
1298 -PYTHON_COMPAT=( python3_{7,8,9} )
1299 -
1300 -DISTUTILS_USE_SETUPTOOLS="rdepend"
1301 -
1302 -inherit readme.gentoo-r1 systemd distutils-r1
1303 -
1304 -MY_PV="${PV/_p/.post}"
1305 -MY_P="${PN}-${MY_PV}"
1306 -
1307 -DESCRIPTION="BuildBot build automation system"
1308 -HOMEPAGE="https://buildbot.net/ https://github.com/buildbot/buildbot https://pypi.org/project/buildbot/"
1309 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz
1310 - https://dev.gentoo.org/~dolsen/distfiles/buildbot-2.8.0-fakedb.tar.xz
1311 -"
1312 -
1313 -LICENSE="GPL-2"
1314 -SLOT="0"
1315 -KEYWORDS="~amd64 ~arm64 ~amd64-linux ~x86-linux"
1316 -
1317 -IUSE="crypt doc docker examples irc test"
1318 -RESTRICT="!test? ( test )"
1319 -
1320 -RDEPEND="
1321 - acct-user/buildbot
1322 - >=dev-python/jinja-2.1[${PYTHON_USEDEP}]
1323 - >=dev-python/twisted-17.9.0[${PYTHON_USEDEP},crypt?]
1324 - >=dev-python/autobahn-0.16.0[${PYTHON_USEDEP}]
1325 - >=dev-python/sqlalchemy-1.2.0[${PYTHON_USEDEP}]
1326 - <dev-python/sqlalchemy-1.4.0[${PYTHON_USEDEP}]
1327 - >=dev-python/sqlalchemy-migrate-0.13[${PYTHON_USEDEP}]
1328 - >=dev-python/python-dateutil-1.5[${PYTHON_USEDEP}]
1329 - >=dev-python/txaio-2.2.2[${PYTHON_USEDEP}]
1330 - dev-python/pyjwt[${PYTHON_USEDEP}]
1331 - dev-python/pyyaml[${PYTHON_USEDEP}]
1332 - dev-python/unidiff[${PYTHON_USEDEP}]
1333 - >=dev-python/zope-interface-4.1.1[${PYTHON_USEDEP}]
1334 - ~dev-util/buildbot-worker-${PV}[${PYTHON_USEDEP}]
1335 - crypt? (
1336 - >=dev-python/pyopenssl-16.0.0[${PYTHON_USEDEP}]
1337 - dev-python/idna[${PYTHON_USEDEP}]
1338 - dev-python/service_identity[${PYTHON_USEDEP}]
1339 - )
1340 - irc? (
1341 - dev-python/txrequests[${PYTHON_USEDEP}]
1342 - )
1343 - docker? (
1344 - >=dev-python/docker-py-2.2.0[${PYTHON_USEDEP}]
1345 - dev-python/requests[${PYTHON_USEDEP}]
1346 - )
1347 -"
1348 -DEPEND="${RDEPEND}
1349 - doc? (
1350 - >=dev-python/sphinx-3.2.0[${PYTHON_USEDEP}]
1351 - dev-python/sphinxcontrib-blockdiag[${PYTHON_USEDEP}]
1352 - dev-python/sphinxcontrib-spelling[${PYTHON_USEDEP}]
1353 - dev-python/sphinxcontrib-websupport[${PYTHON_USEDEP}]
1354 - dev-python/pyenchant[${PYTHON_USEDEP}]
1355 - dev-python/docutils[${PYTHON_USEDEP}]
1356 - dev-python/sphinx-jinja[${PYTHON_USEDEP}]
1357 - dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]
1358 - )
1359 - test? (
1360 - dev-python/ldap3[${PYTHON_USEDEP}]
1361 - >=dev-python/mock-2.0.0[${PYTHON_USEDEP}]
1362 - dev-python/moto[${PYTHON_USEDEP}]
1363 - >=dev-python/boto3-1.12.48[${PYTHON_USEDEP}]
1364 - dev-python/parameterized[${PYTHON_USEDEP}]
1365 - dev-python/pypugjs[${PYTHON_USEDEP}]
1366 - dev-python/txrequests[${PYTHON_USEDEP}]
1367 - dev-python/lz4[${PYTHON_USEDEP}]
1368 - dev-python/treq[${PYTHON_USEDEP}]
1369 - dev-python/setuptools_trial[${PYTHON_USEDEP}]
1370 - ~dev-util/buildbot-pkg-${PV}[${PYTHON_USEDEP}]
1371 - ~dev-util/buildbot-worker-${PV}[${PYTHON_USEDEP}]
1372 - ~dev-util/buildbot-www-${PV}[${PYTHON_USEDEP}]
1373 - )"
1374 -
1375 -S=${WORKDIR}/${MY_P}
1376 -
1377 -distutils_enable_tests setup.py
1378 -
1379 -pkg_setup() {
1380 - DOC_CONTENTS="The \"buildbot\" user and the \"buildmaster\" init script has been added
1381 - to support starting buildbot through Gentoo's init system. To use this,
1382 - execute \"emerge --config =${CATEGORY}/${PF}\" to create a new instance.
1383 - The scripts can run as a different user if desired."
1384 -}
1385 -
1386 -src_compile() {
1387 - distutils-r1_src_compile
1388 -
1389 - # missing files, so skip building
1390 - if use doc; then
1391 - einfo "Generation of documentation"
1392 - pushd docs > /dev/null || die
1393 - #'man' target is currently broken
1394 - emake html
1395 - popd > /dev/null || die
1396 - fi
1397 -}
1398 -
1399 -src_install() {
1400 - distutils-r1_src_install
1401 -
1402 - doman docs/buildbot.1
1403 -
1404 - if use doc; then
1405 - HTML_DOCS=( docs/_build/html/ )
1406 - fi
1407 -
1408 - if use examples; then
1409 - insinto /usr/share/doc/${PF}
1410 - doins -r docs/examples
1411 - fi
1412 -
1413 - newconfd "${FILESDIR}/buildmaster.confd" buildmaster
1414 - newinitd "${FILESDIR}/buildmaster.initd" buildmaster
1415 - systemd_dounit "${FILESDIR}/buildmaster.target"
1416 - systemd_newunit "${FILESDIR}/buildmaster_at.service" "buildmaster@.service"
1417 - systemd_install_serviced "${FILESDIR}/buildmaster_at.service.conf" "buildmaster@.service"
1418 -
1419 - readme.gentoo_create_doc
1420 -}
1421 -
1422 -pkg_postinst() {
1423 - readme.gentoo_print_elog
1424 -
1425 - if [[ -n ${REPLACING_VERSIONS} ]]; then
1426 - ewarn
1427 - ewarn "Starting with buildbot-0.8.12-r2, more than one instance of buildmaster"
1428 - ewarn "can be run simultaneously. Note that \"BASEDIR\" in the buildbot configuration file"
1429 - ewarn "is now the common base directory for all instances. If you are migrating from an older"
1430 - ewarn "version, make sure that you copy the current contents of \"BASEDIR\" to a subdirectory."
1431 - ewarn "The name of the subdirectory corresponds to the name of the buildmaster instance."
1432 - ewarn "In order to start the service running OpenRC-based systems need to link to the init file:"
1433 - ewarn " ln --symbolic --relative /etc/init.d/buildmaster /etc/init.d/buildmaster.myinstance"
1434 - ewarn " rc-update add buildmaster.myinstance default"
1435 - ewarn " /etc/init.d/buildmaster.myinstance start"
1436 - ewarn "Systems using systemd can do the following:"
1437 - ewarn " systemctl enable buildmaster@××××××××××.service"
1438 - ewarn " systemctl enable buildmaster.target"
1439 - ewarn " systemctl start buildmaster.target"
1440 - elog
1441 - elog "Upstream recommends the following when upgrading:"
1442 - elog "Each time you install a new version of Buildbot, you should run the"
1443 - elog "\"buildbot upgrade-master\" command on each of your pre-existing build masters."
1444 - elog "This will add files and fix (or at least detect) incompatibilities between"
1445 - elog "your old config and the new code."
1446 - fi
1447 - elog
1448 - elog "In order to create a new instance of buildmaster, execute:"
1449 - elog " emerge --config =${CATEGORY}/${PF}"
1450 -}
1451 -
1452 -pkg_config() {
1453 - local buildmaster_path="/var/lib/buildmaster"
1454 - local log_path="/var/log/buildmaster"
1455 -
1456 - einfo "This will prepare a new buildmaster instance in ${buildmaster_path}."
1457 - einfo "Press Control-C to abort."
1458 -
1459 - einfo "Enter the name for the new instance: "
1460 - read instance_name
1461 - [[ -z "${instance_name}" ]] && die "Invalid instance name"
1462 -
1463 - local instance_path="${buildmaster_path}/${instance_name}"
1464 - local instance_log_path="${log_path}/${instance_name}"
1465 -
1466 - if [[ -e "${instance_path}" ]]; then
1467 - eerror "The instance with the specified name already exists:"
1468 - eerror "${instance_path}"
1469 - die "Instance already exists"
1470 - fi
1471 -
1472 - local buildbot="/usr/bin/buildbot"
1473 - if [[ ! -d "${buildmaster_path}" ]]; then
1474 - mkdir --parents "${buildmaster_path}" || die "Unable to create directory ${buildmaster_path}"
1475 - fi
1476 - "${buildbot}" create-master "${instance_path}" &>/dev/null || die "Creating instance failed"
1477 - chown --recursive buildbot:buildbot "${instance_path}" || die "Setting permissions for instance failed"
1478 - mv "${instance_path}/master.cfg.sample" "${instance_path}/master.cfg" \
1479 - || die "Moving sample configuration failed"
1480 - ln --symbolic --relative "/etc/init.d/buildmaster" "/etc/init.d/buildmaster.${instance_name}" \
1481 - || die "Unable to create link to init file"
1482 -
1483 - if [[ ! -d "${instance_log_path}" ]]; then
1484 - mkdir --parents "${instance_log_path}" || die "Unable to create directory ${instance_log_path}"
1485 - chown --recursive buildbot:buildbot "${instance_log_path}" \
1486 - || die "Setting permissions for instance failed"
1487 - fi
1488 - ln --symbolic --relative "${instance_log_path}/twistd.log" "${instance_path}/twistd.log" \
1489 - || die "Unable to create link to log file"
1490 -
1491 - einfo "Successfully created a buildmaster instance at ${instance_path}."
1492 - einfo "To change the default settings edit the master.cfg file in this directory."
1493 -}
1494
1495 diff --git a/dev-util/buildbot/buildbot-3.2.0.ebuild b/dev-util/buildbot/buildbot-3.2.0.ebuild
1496 deleted file mode 100644
1497 index dfef67930503..000000000000
1498 --- a/dev-util/buildbot/buildbot-3.2.0.ebuild
1499 +++ /dev/null
1500 @@ -1,200 +0,0 @@
1501 -# Copyright 1999-2021 Gentoo Authors
1502 -# Distributed under the terms of the GNU General Public License v2
1503 -
1504 -EAPI="7"
1505 -PYTHON_REQ_USE="sqlite"
1506 -PYTHON_COMPAT=( python3_{7,8,9} )
1507 -
1508 -DISTUTILS_USE_SETUPTOOLS="rdepend"
1509 -
1510 -inherit readme.gentoo-r1 systemd distutils-r1
1511 -
1512 -MY_PV="${PV/_p/.post}"
1513 -MY_P="${PN}-${MY_PV}"
1514 -
1515 -DESCRIPTION="BuildBot build automation system"
1516 -HOMEPAGE="https://buildbot.net/ https://github.com/buildbot/buildbot https://pypi.org/project/buildbot/"
1517 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz
1518 -"
1519 -
1520 -LICENSE="GPL-2"
1521 -SLOT="0"
1522 -KEYWORDS="~amd64 ~arm64 ~amd64-linux ~x86-linux"
1523 -
1524 -IUSE="crypt doc docker examples irc test"
1525 -RESTRICT="!test? ( test )"
1526 -
1527 -RDEPEND="
1528 - acct-user/buildbot
1529 - >=dev-python/jinja-2.1[${PYTHON_USEDEP}]
1530 - >=dev-python/twisted-17.9.0[${PYTHON_USEDEP},crypt?]
1531 - >=dev-python/autobahn-0.16.0[${PYTHON_USEDEP}]
1532 - >=dev-python/sqlalchemy-1.2.0[${PYTHON_USEDEP}]
1533 - <dev-python/sqlalchemy-1.4.0[${PYTHON_USEDEP}]
1534 - >=dev-python/sqlalchemy-migrate-0.13[${PYTHON_USEDEP}]
1535 - >=dev-python/python-dateutil-1.5[${PYTHON_USEDEP}]
1536 - >=dev-python/txaio-2.2.2[${PYTHON_USEDEP}]
1537 - dev-python/pyjwt[${PYTHON_USEDEP}]
1538 - dev-python/pyyaml[${PYTHON_USEDEP}]
1539 - dev-python/unidiff[${PYTHON_USEDEP}]
1540 - >=dev-python/zope-interface-4.1.1[${PYTHON_USEDEP}]
1541 - ~dev-util/buildbot-worker-${PV}[${PYTHON_USEDEP}]
1542 - crypt? (
1543 - >=dev-python/pyopenssl-16.0.0[${PYTHON_USEDEP}]
1544 - dev-python/idna[${PYTHON_USEDEP}]
1545 - dev-python/service_identity[${PYTHON_USEDEP}]
1546 - )
1547 - irc? (
1548 - dev-python/txrequests[${PYTHON_USEDEP}]
1549 - )
1550 - docker? (
1551 - >=dev-python/docker-py-2.2.0[${PYTHON_USEDEP}]
1552 - dev-python/requests[${PYTHON_USEDEP}]
1553 - )
1554 -"
1555 -DEPEND="${RDEPEND}
1556 - doc? (
1557 - >=dev-python/sphinx-3.2.0[${PYTHON_USEDEP}]
1558 - dev-python/sphinxcontrib-blockdiag[${PYTHON_USEDEP}]
1559 - dev-python/sphinxcontrib-spelling[${PYTHON_USEDEP}]
1560 - dev-python/sphinxcontrib-websupport[${PYTHON_USEDEP}]
1561 - dev-python/pyenchant[${PYTHON_USEDEP}]
1562 - dev-python/docutils[${PYTHON_USEDEP}]
1563 - dev-python/sphinx-jinja[${PYTHON_USEDEP}]
1564 - dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]
1565 - )
1566 - test? (
1567 - dev-python/ldap3[${PYTHON_USEDEP}]
1568 - >=dev-python/mock-2.0.0[${PYTHON_USEDEP}]
1569 - dev-python/moto[${PYTHON_USEDEP}]
1570 - >=dev-python/boto3-1.12.48[${PYTHON_USEDEP}]
1571 - dev-python/parameterized[${PYTHON_USEDEP}]
1572 - dev-python/pypugjs[${PYTHON_USEDEP}]
1573 - dev-python/txrequests[${PYTHON_USEDEP}]
1574 - dev-python/lz4[${PYTHON_USEDEP}]
1575 - dev-python/treq[${PYTHON_USEDEP}]
1576 - dev-python/setuptools_trial[${PYTHON_USEDEP}]
1577 - ~dev-util/buildbot-pkg-${PV}[${PYTHON_USEDEP}]
1578 - ~dev-util/buildbot-worker-${PV}[${PYTHON_USEDEP}]
1579 - ~dev-util/buildbot-www-${PV}[${PYTHON_USEDEP}]
1580 - )"
1581 -
1582 -S=${WORKDIR}/${MY_P}
1583 -
1584 -distutils_enable_tests setup.py
1585 -
1586 -pkg_setup() {
1587 - DOC_CONTENTS="The \"buildbot\" user and the \"buildmaster\" init script has been added
1588 - to support starting buildbot through Gentoo's init system. To use this,
1589 - execute \"emerge --config =${CATEGORY}/${PF}\" to create a new instance.
1590 - The scripts can run as a different user if desired."
1591 -}
1592 -
1593 -src_compile() {
1594 - distutils-r1_src_compile
1595 -
1596 - # missing files, so skip building
1597 - if use doc; then
1598 - einfo "Generation of documentation"
1599 - pushd docs > /dev/null || die
1600 - #'man' target is currently broken
1601 - emake html
1602 - popd > /dev/null || die
1603 - fi
1604 -}
1605 -
1606 -src_install() {
1607 - distutils-r1_src_install
1608 -
1609 - doman docs/buildbot.1
1610 -
1611 - if use doc; then
1612 - HTML_DOCS=( docs/_build/html/ )
1613 - fi
1614 -
1615 - if use examples; then
1616 - insinto /usr/share/doc/${PF}
1617 - doins -r docs/examples
1618 - fi
1619 -
1620 - newconfd "${FILESDIR}/buildmaster.confd" buildmaster
1621 - newinitd "${FILESDIR}/buildmaster.initd" buildmaster
1622 - systemd_dounit "${FILESDIR}/buildmaster.target"
1623 - systemd_newunit "${FILESDIR}/buildmaster_at.service" "buildmaster@.service"
1624 - systemd_install_serviced "${FILESDIR}/buildmaster_at.service.conf" "buildmaster@.service"
1625 -
1626 - readme.gentoo_create_doc
1627 -}
1628 -
1629 -pkg_postinst() {
1630 - readme.gentoo_print_elog
1631 -
1632 - if [[ -n ${REPLACING_VERSIONS} ]]; then
1633 - ewarn
1634 - ewarn "Starting with buildbot-0.8.12-r2, more than one instance of buildmaster"
1635 - ewarn "can be run simultaneously. Note that \"BASEDIR\" in the buildbot configuration file"
1636 - ewarn "is now the common base directory for all instances. If you are migrating from an older"
1637 - ewarn "version, make sure that you copy the current contents of \"BASEDIR\" to a subdirectory."
1638 - ewarn "The name of the subdirectory corresponds to the name of the buildmaster instance."
1639 - ewarn "In order to start the service running OpenRC-based systems need to link to the init file:"
1640 - ewarn " ln --symbolic --relative /etc/init.d/buildmaster /etc/init.d/buildmaster.myinstance"
1641 - ewarn " rc-update add buildmaster.myinstance default"
1642 - ewarn " /etc/init.d/buildmaster.myinstance start"
1643 - ewarn "Systems using systemd can do the following:"
1644 - ewarn " systemctl enable buildmaster@××××××××××.service"
1645 - ewarn " systemctl enable buildmaster.target"
1646 - ewarn " systemctl start buildmaster.target"
1647 - elog
1648 - elog "Upstream recommends the following when upgrading:"
1649 - elog "Each time you install a new version of Buildbot, you should run the"
1650 - elog "\"buildbot upgrade-master\" command on each of your pre-existing build masters."
1651 - elog "This will add files and fix (or at least detect) incompatibilities between"
1652 - elog "your old config and the new code."
1653 - fi
1654 - elog
1655 - elog "In order to create a new instance of buildmaster, execute:"
1656 - elog " emerge --config =${CATEGORY}/${PF}"
1657 -}
1658 -
1659 -pkg_config() {
1660 - local buildmaster_path="/var/lib/buildmaster"
1661 - local log_path="/var/log/buildmaster"
1662 -
1663 - einfo "This will prepare a new buildmaster instance in ${buildmaster_path}."
1664 - einfo "Press Control-C to abort."
1665 -
1666 - einfo "Enter the name for the new instance: "
1667 - read instance_name
1668 - [[ -z "${instance_name}" ]] && die "Invalid instance name"
1669 -
1670 - local instance_path="${buildmaster_path}/${instance_name}"
1671 - local instance_log_path="${log_path}/${instance_name}"
1672 -
1673 - if [[ -e "${instance_path}" ]]; then
1674 - eerror "The instance with the specified name already exists:"
1675 - eerror "${instance_path}"
1676 - die "Instance already exists"
1677 - fi
1678 -
1679 - local buildbot="/usr/bin/buildbot"
1680 - if [[ ! -d "${buildmaster_path}" ]]; then
1681 - mkdir --parents "${buildmaster_path}" || die "Unable to create directory ${buildmaster_path}"
1682 - fi
1683 - "${buildbot}" create-master "${instance_path}" &>/dev/null || die "Creating instance failed"
1684 - chown --recursive buildbot:buildbot "${instance_path}" || die "Setting permissions for instance failed"
1685 - mv "${instance_path}/master.cfg.sample" "${instance_path}/master.cfg" \
1686 - || die "Moving sample configuration failed"
1687 - ln --symbolic --relative "/etc/init.d/buildmaster" "/etc/init.d/buildmaster.${instance_name}" \
1688 - || die "Unable to create link to init file"
1689 -
1690 - if [[ ! -d "${instance_log_path}" ]]; then
1691 - mkdir --parents "${instance_log_path}" || die "Unable to create directory ${instance_log_path}"
1692 - chown --recursive buildbot:buildbot "${instance_log_path}" \
1693 - || die "Setting permissions for instance failed"
1694 - fi
1695 - ln --symbolic --relative "${instance_log_path}/twistd.log" "${instance_path}/twistd.log" \
1696 - || die "Unable to create link to log file"
1697 -
1698 - einfo "Successfully created a buildmaster instance at ${instance_path}."
1699 - einfo "To change the default settings edit the master.cfg file in this directory."
1700 -}
1701
1702 diff --git a/dev-util/buildbot/buildbot-3.3.0.ebuild b/dev-util/buildbot/buildbot-3.3.0.ebuild
1703 deleted file mode 100644
1704 index 1a848207da31..000000000000
1705 --- a/dev-util/buildbot/buildbot-3.3.0.ebuild
1706 +++ /dev/null
1707 @@ -1,200 +0,0 @@
1708 -# Copyright 1999-2021 Gentoo Authors
1709 -# Distributed under the terms of the GNU General Public License v2
1710 -
1711 -EAPI="7"
1712 -PYTHON_REQ_USE="sqlite"
1713 -PYTHON_COMPAT=( python3_{7,8,9} )
1714 -
1715 -DISTUTILS_USE_SETUPTOOLS="rdepend"
1716 -
1717 -inherit readme.gentoo-r1 systemd distutils-r1
1718 -
1719 -MY_PV="${PV/_p/.post}"
1720 -MY_P="${PN}-${MY_PV}"
1721 -
1722 -DESCRIPTION="BuildBot build automation system"
1723 -HOMEPAGE="https://buildbot.net/ https://github.com/buildbot/buildbot https://pypi.org/project/buildbot/"
1724 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz
1725 -"
1726 -
1727 -LICENSE="GPL-2"
1728 -SLOT="0"
1729 -KEYWORDS="~amd64 ~arm64 ~amd64-linux ~x86-linux"
1730 -
1731 -IUSE="crypt doc docker examples irc test"
1732 -RESTRICT="!test? ( test )"
1733 -
1734 -RDEPEND="
1735 - acct-user/buildbot
1736 - >=dev-python/jinja-2.1[${PYTHON_USEDEP}]
1737 - >=dev-python/twisted-17.9.0[${PYTHON_USEDEP},crypt?]
1738 - >=dev-python/autobahn-0.16.0[${PYTHON_USEDEP}]
1739 - >=dev-python/sqlalchemy-1.2.0[${PYTHON_USEDEP}]
1740 - <dev-python/sqlalchemy-1.5.0[${PYTHON_USEDEP}]
1741 - >=dev-python/sqlalchemy-migrate-0.13[${PYTHON_USEDEP}]
1742 - >=dev-python/python-dateutil-1.5[${PYTHON_USEDEP}]
1743 - >=dev-python/txaio-2.2.2[${PYTHON_USEDEP}]
1744 - dev-python/pyjwt[${PYTHON_USEDEP}]
1745 - dev-python/pyyaml[${PYTHON_USEDEP}]
1746 - dev-python/unidiff[${PYTHON_USEDEP}]
1747 - >=dev-python/zope-interface-4.1.1[${PYTHON_USEDEP}]
1748 - ~dev-util/buildbot-worker-${PV}[${PYTHON_USEDEP}]
1749 - crypt? (
1750 - >=dev-python/pyopenssl-16.0.0[${PYTHON_USEDEP}]
1751 - dev-python/idna[${PYTHON_USEDEP}]
1752 - dev-python/service_identity[${PYTHON_USEDEP}]
1753 - )
1754 - irc? (
1755 - dev-python/txrequests[${PYTHON_USEDEP}]
1756 - )
1757 - docker? (
1758 - >=dev-python/docker-py-2.2.0[${PYTHON_USEDEP}]
1759 - dev-python/requests[${PYTHON_USEDEP}]
1760 - )
1761 -"
1762 -DEPEND="${RDEPEND}
1763 - doc? (
1764 - >=dev-python/sphinx-3.2.0[${PYTHON_USEDEP}]
1765 - dev-python/sphinxcontrib-blockdiag[${PYTHON_USEDEP}]
1766 - dev-python/sphinxcontrib-spelling[${PYTHON_USEDEP}]
1767 - dev-python/sphinxcontrib-websupport[${PYTHON_USEDEP}]
1768 - dev-python/pyenchant[${PYTHON_USEDEP}]
1769 - dev-python/docutils[${PYTHON_USEDEP}]
1770 - dev-python/sphinx-jinja[${PYTHON_USEDEP}]
1771 - dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]
1772 - )
1773 - test? (
1774 - dev-python/ldap3[${PYTHON_USEDEP}]
1775 - >=dev-python/mock-2.0.0[${PYTHON_USEDEP}]
1776 - dev-python/moto[${PYTHON_USEDEP}]
1777 - >=dev-python/boto3-1.12.48[${PYTHON_USEDEP}]
1778 - dev-python/parameterized[${PYTHON_USEDEP}]
1779 - dev-python/pypugjs[${PYTHON_USEDEP}]
1780 - dev-python/txrequests[${PYTHON_USEDEP}]
1781 - dev-python/lz4[${PYTHON_USEDEP}]
1782 - dev-python/treq[${PYTHON_USEDEP}]
1783 - dev-python/setuptools_trial[${PYTHON_USEDEP}]
1784 - ~dev-util/buildbot-pkg-${PV}[${PYTHON_USEDEP}]
1785 - ~dev-util/buildbot-worker-${PV}[${PYTHON_USEDEP}]
1786 - ~dev-util/buildbot-www-${PV}[${PYTHON_USEDEP}]
1787 - )"
1788 -
1789 -S=${WORKDIR}/${MY_P}
1790 -
1791 -distutils_enable_tests setup.py
1792 -
1793 -pkg_setup() {
1794 - DOC_CONTENTS="The \"buildbot\" user and the \"buildmaster\" init script has been added
1795 - to support starting buildbot through Gentoo's init system. To use this,
1796 - execute \"emerge --config =${CATEGORY}/${PF}\" to create a new instance.
1797 - The scripts can run as a different user if desired."
1798 -}
1799 -
1800 -src_compile() {
1801 - distutils-r1_src_compile
1802 -
1803 - # missing files, so skip building
1804 - if use doc; then
1805 - einfo "Generation of documentation"
1806 - pushd docs > /dev/null || die
1807 - #'man' target is currently broken
1808 - emake html
1809 - popd > /dev/null || die
1810 - fi
1811 -}
1812 -
1813 -src_install() {
1814 - distutils-r1_src_install
1815 -
1816 - doman docs/buildbot.1
1817 -
1818 - if use doc; then
1819 - HTML_DOCS=( docs/_build/html/ )
1820 - fi
1821 -
1822 - if use examples; then
1823 - insinto /usr/share/doc/${PF}
1824 - doins -r docs/examples
1825 - fi
1826 -
1827 - newconfd "${FILESDIR}/buildmaster.confd" buildmaster
1828 - newinitd "${FILESDIR}/buildmaster.initd" buildmaster
1829 - systemd_dounit "${FILESDIR}/buildmaster.target"
1830 - systemd_newunit "${FILESDIR}/buildmaster_at.service" "buildmaster@.service"
1831 - systemd_install_serviced "${FILESDIR}/buildmaster_at.service.conf" "buildmaster@.service"
1832 -
1833 - readme.gentoo_create_doc
1834 -}
1835 -
1836 -pkg_postinst() {
1837 - readme.gentoo_print_elog
1838 -
1839 - if [[ -n ${REPLACING_VERSIONS} ]]; then
1840 - ewarn
1841 - ewarn "Starting with buildbot-0.8.12-r2, more than one instance of buildmaster"
1842 - ewarn "can be run simultaneously. Note that \"BASEDIR\" in the buildbot configuration file"
1843 - ewarn "is now the common base directory for all instances. If you are migrating from an older"
1844 - ewarn "version, make sure that you copy the current contents of \"BASEDIR\" to a subdirectory."
1845 - ewarn "The name of the subdirectory corresponds to the name of the buildmaster instance."
1846 - ewarn "In order to start the service running OpenRC-based systems need to link to the init file:"
1847 - ewarn " ln --symbolic --relative /etc/init.d/buildmaster /etc/init.d/buildmaster.myinstance"
1848 - ewarn " rc-update add buildmaster.myinstance default"
1849 - ewarn " /etc/init.d/buildmaster.myinstance start"
1850 - ewarn "Systems using systemd can do the following:"
1851 - ewarn " systemctl enable buildmaster@××××××××××.service"
1852 - ewarn " systemctl enable buildmaster.target"
1853 - ewarn " systemctl start buildmaster.target"
1854 - elog
1855 - elog "Upstream recommends the following when upgrading:"
1856 - elog "Each time you install a new version of Buildbot, you should run the"
1857 - elog "\"buildbot upgrade-master\" command on each of your pre-existing build masters."
1858 - elog "This will add files and fix (or at least detect) incompatibilities between"
1859 - elog "your old config and the new code."
1860 - fi
1861 - elog
1862 - elog "In order to create a new instance of buildmaster, execute:"
1863 - elog " emerge --config =${CATEGORY}/${PF}"
1864 -}
1865 -
1866 -pkg_config() {
1867 - local buildmaster_path="/var/lib/buildmaster"
1868 - local log_path="/var/log/buildmaster"
1869 -
1870 - einfo "This will prepare a new buildmaster instance in ${buildmaster_path}."
1871 - einfo "Press Control-C to abort."
1872 -
1873 - einfo "Enter the name for the new instance: "
1874 - read instance_name
1875 - [[ -z "${instance_name}" ]] && die "Invalid instance name"
1876 -
1877 - local instance_path="${buildmaster_path}/${instance_name}"
1878 - local instance_log_path="${log_path}/${instance_name}"
1879 -
1880 - if [[ -e "${instance_path}" ]]; then
1881 - eerror "The instance with the specified name already exists:"
1882 - eerror "${instance_path}"
1883 - die "Instance already exists"
1884 - fi
1885 -
1886 - local buildbot="/usr/bin/buildbot"
1887 - if [[ ! -d "${buildmaster_path}" ]]; then
1888 - mkdir --parents "${buildmaster_path}" || die "Unable to create directory ${buildmaster_path}"
1889 - fi
1890 - "${buildbot}" create-master "${instance_path}" &>/dev/null || die "Creating instance failed"
1891 - chown --recursive buildbot:buildbot "${instance_path}" || die "Setting permissions for instance failed"
1892 - mv "${instance_path}/master.cfg.sample" "${instance_path}/master.cfg" \
1893 - || die "Moving sample configuration failed"
1894 - ln --symbolic --relative "/etc/init.d/buildmaster" "/etc/init.d/buildmaster.${instance_name}" \
1895 - || die "Unable to create link to init file"
1896 -
1897 - if [[ ! -d "${instance_log_path}" ]]; then
1898 - mkdir --parents "${instance_log_path}" || die "Unable to create directory ${instance_log_path}"
1899 - chown --recursive buildbot:buildbot "${instance_log_path}" \
1900 - || die "Setting permissions for instance failed"
1901 - fi
1902 - ln --symbolic --relative "${instance_log_path}/twistd.log" "${instance_path}/twistd.log" \
1903 - || die "Unable to create link to log file"
1904 -
1905 - einfo "Successfully created a buildmaster instance at ${instance_path}."
1906 - einfo "To change the default settings edit the master.cfg file in this directory."
1907 -}