Gentoo Archives: gentoo-commits

From: Mikle Kolyada <zlogene@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/buildbot-slave/files/, dev-util/buildbot-slave/
Date: Fri, 28 Feb 2020 07:23:57
Message-Id: 1582874621.a3c1405bd828377db9244d9eea88c592283fd705.zlogene@gentoo
1 commit: a3c1405bd828377db9244d9eea88c592283fd705
2 Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
3 AuthorDate: Fri Feb 28 07:23:41 2020 +0000
4 Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
5 CommitDate: Fri Feb 28 07:23:41 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3c1405b
7
8 dev-util/buildbot-slave: remove last-rited package
9
10 Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
11
12 dev-util/buildbot-slave/Manifest | 1 -
13 .../buildbot-slave/buildbot-slave-0.8.12.ebuild | 54 ----------------------
14 dev-util/buildbot-slave/files/buildslave.confd | 9 ----
15 dev-util/buildbot-slave/files/buildslave.initd | 48 -------------------
16 dev-util/buildbot-slave/files/buildslave.service | 15 ------
17 dev-util/buildbot-slave/metadata.xml | 9 ----
18 6 files changed, 136 deletions(-)
19
20 diff --git a/dev-util/buildbot-slave/Manifest b/dev-util/buildbot-slave/Manifest
21 deleted file mode 100644
22 index 0ef730fd48d..00000000000
23 --- a/dev-util/buildbot-slave/Manifest
24 +++ /dev/null
25 @@ -1 +0,0 @@
26 -DIST buildbot-slave-0.8.12.tar.gz 118339 BLAKE2B e516a8fd212d92e1cb1ed9bc11d70aa4baaea70fd1aa7f4fa239ed1160da51b96391d252643a13a72786d0b676e0e1780d31f998da7b3f90f1b73b32adb6b6c2 SHA512 74f7f9ffab946000a5d31ae28140698ca259ba5b75815ed839d51fa5d9f702e998b61a716b66aab7946b6143d329244f2403d9b98cbbfc70223b691dcb70f0bc
27
28 diff --git a/dev-util/buildbot-slave/buildbot-slave-0.8.12.ebuild b/dev-util/buildbot-slave/buildbot-slave-0.8.12.ebuild
29 deleted file mode 100644
30 index 7566aa4f891..00000000000
31 --- a/dev-util/buildbot-slave/buildbot-slave-0.8.12.ebuild
32 +++ /dev/null
33 @@ -1,54 +0,0 @@
34 -# Copyright 1999-2019 Gentoo Authors
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI="5"
38 -PYTHON_COMPAT=( python2_7 )
39 -inherit distutils-r1 readme.gentoo systemd user
40 -
41 -DESCRIPTION="BuildBot Slave Daemon"
42 -HOMEPAGE="http://buildbot.net/ https://github.com/buildbot/buildbot https://pypi.org/project/buildbot-slave/"
43 -
44 -MY_PV="${PV/_p/p}"
45 -MY_P="${PN}-${MY_PV}"
46 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz"
47 -
48 -LICENSE="GPL-2"
49 -SLOT="0"
50 -KEYWORDS="~alpha amd64 arm hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~amd64-linux"
51 -IUSE="test"
52 -RESTRICT="!test? ( test )"
53 -
54 -RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
55 - dev-python/twisted-core[${PYTHON_USEDEP}]"
56 -DEPEND="${RDEPEND}
57 - test? ( dev-python/mock[${PYTHON_USEDEP}] )"
58 -
59 -S="${WORKDIR}/${MY_P}"
60 -
61 -pkg_setup() {
62 - enewuser buildbot
63 -
64 - DOC_CONTENTS="The \"buildbot\" user and the \"buildslave\" init script has been added
65 - to support starting buildslave through Gentoo's init system. To use this,
66 - set up your build slave following the documentation, make sure the
67 - resulting directories are owned by the \"buildbot\" user and point
68 - \"${ROOT}etc/conf.d/buildslave\" at the right location. The scripts can
69 - run as a different user if desired. If you need to run more than one
70 - build slave, just copy the scripts."
71 -}
72 -
73 -src_install() {
74 - distutils-r1_src_install
75 -
76 - doman docs/buildslave.1
77 -
78 - newconfd "${FILESDIR}/buildslave.confd" buildslave
79 - newinitd "${FILESDIR}/buildslave.initd" buildslave
80 - systemd_dounit "${FILESDIR}/buildslave.service"
81 -
82 - readme.gentoo_create_doc
83 -}
84 -
85 -pkg_postinst() {
86 - readme.gentoo_print_elog
87 -}
88
89 diff --git a/dev-util/buildbot-slave/files/buildslave.confd b/dev-util/buildbot-slave/files/buildslave.confd
90 deleted file mode 100644
91 index 4ef42c4a733..00000000000
92 --- a/dev-util/buildbot-slave/files/buildslave.confd
93 +++ /dev/null
94 @@ -1,9 +0,0 @@
95 -# Path to the build slave's basedir.
96 -BASEDIR="/var/lib/buildslave"
97 -
98 -# User account for the buildslave.
99 -# The basedir should be owned by this user.
100 -USERNAME="buildbot"
101 -
102 -# Extra options passed to twistd.
103 -TWISTD_OPTS=""
104
105 diff --git a/dev-util/buildbot-slave/files/buildslave.initd b/dev-util/buildbot-slave/files/buildslave.initd
106 deleted file mode 100644
107 index 587c7ccb3bb..00000000000
108 --- a/dev-util/buildbot-slave/files/buildslave.initd
109 +++ /dev/null
110 @@ -1,48 +0,0 @@
111 -#!/sbin/openrc-run
112 -# Copyright 1999-2012 Gentoo Foundation
113 -# Distributed under the terms of the GNU General Public License v2
114 -
115 -depend() {
116 - need net
117 -}
118 -
119 -checkconfig() {
120 - if [ -z "${BASEDIR}" ]; then
121 - eerror "BASEDIR not set"
122 - return 1
123 - fi
124 - if [ -z "${USERNAME}" ]; then
125 - eerror "USERNAME not set"
126 - return 1
127 - fi
128 - if [ ! -d "${BASEDIR}" ]; then
129 - eerror "${BASEDIR} is not a directory"
130 - return 1
131 - fi
132 - if [ ! -e "${BASEDIR}/buildbot.tac" ]; then
133 - eerror "${BASEDIR} does not contain buildbot.tac"
134 - return 1
135 - fi
136 -}
137 -
138 -start() {
139 - checkconfig || return 1
140 - ebegin "Starting buildslave in ${BASEDIR}"
141 - # We set HOME here to make something valid show up in the env of child
142 - # processes spawned by the buildslave.
143 - start-stop-daemon --start -u "${USERNAME}" \
144 - --pidfile "${BASEDIR}/buildslave.pid" \
145 - --env HOME="${BASEDIR}" \
146 - --exec /usr/bin/python -- /usr/bin/twistd \
147 - --no_save \
148 - --logfile="${BASEDIR}/twistd.log" \
149 - --pidfile="${BASEDIR}/buildslave.pid" \
150 - --python="${BASEDIR}/buildbot.tac"
151 - eend $?
152 -}
153 -
154 -stop() {
155 - ebegin "Stopping buildslave in ${BASEDIR}"
156 - start-stop-daemon --stop --pidfile "${BASEDIR}/buildslave.pid"
157 - eend $?
158 -}
159
160 diff --git a/dev-util/buildbot-slave/files/buildslave.service b/dev-util/buildbot-slave/files/buildslave.service
161 deleted file mode 100644
162 index 5c8e483fe83..00000000000
163 --- a/dev-util/buildbot-slave/files/buildslave.service
164 +++ /dev/null
165 @@ -1,15 +0,0 @@
166 -[Unit]
167 -Description=buildbot slave instances
168 -After=local-fs.target network.target
169 -
170 -[Service]
171 -Type=forking
172 -User=buildbot
173 -WorkingDirectory=/var/lib/buildslave
174 -# The following assume there is a 'slave' directory
175 -# in $WorkingDirectory with the slave configuration files
176 -ExecStart=/usr/bin/buildslave start slave
177 -ExecStop=/usr/bin/buildslave stop slave
178 -
179 -[Install]
180 -WantedBy=multi-user.target
181
182 diff --git a/dev-util/buildbot-slave/metadata.xml b/dev-util/buildbot-slave/metadata.xml
183 deleted file mode 100644
184 index e2d85b41a41..00000000000
185 --- a/dev-util/buildbot-slave/metadata.xml
186 +++ /dev/null
187 @@ -1,9 +0,0 @@
188 -<?xml version="1.0" encoding="UTF-8"?>
189 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
190 -<pkgmetadata>
191 - <!-- maintainer-needed -->
192 - <upstream>
193 - <remote-id type="pypi">buildbot-slave</remote-id>
194 - <remote-id type="github">buildbot/buildbot</remote-id>
195 - </upstream>
196 -</pkgmetadata>