Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/flower/, profiles/, dev-python/flower/files/
Date: Sun, 31 May 2020 10:30:38
Message-Id: 1590920989.4e78f60eec4b8c614a5b4a2d99237f9354d4cb53.mgorny@gentoo
1 commit: 4e78f60eec4b8c614a5b4a2d99237f9354d4cb53
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun May 31 10:26:13 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun May 31 10:29:49 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e78f60e
7
8 dev-python/flower: Remove last-rited pkg
9
10 Closes: https://bugs.gentoo.org/718904
11 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
12
13 dev-python/flower/Manifest | 1 -
14 dev-python/flower/files/config.py | 115 ------------------------------
15 dev-python/flower/files/flower.confd | 2 -
16 dev-python/flower/files/flower.initd | 15 ----
17 dev-python/flower/files/flower.logrotated | 7 --
18 dev-python/flower/files/flower.service | 13 ----
19 dev-python/flower/flower-0.9.1-r1.ebuild | 55 --------------
20 dev-python/flower/metadata.xml | 9 ---
21 profiles/package.mask | 5 --
22 9 files changed, 222 deletions(-)
23
24 diff --git a/dev-python/flower/Manifest b/dev-python/flower/Manifest
25 deleted file mode 100644
26 index ee121d61145..00000000000
27 --- a/dev-python/flower/Manifest
28 +++ /dev/null
29 @@ -1 +0,0 @@
30 -DIST flower-0.9.1.tar.gz 3880608 BLAKE2B 4451601285472fa61577d482ecda11b20244e8050f349ba1e81601ce9a3ec0126a13ad055545d4adb5c1201b6c457919bc5f4b8aa7aca700f3bfcbc3373c6c0c SHA512 519d92209dbdb7956fde30c604956d1cbbc8ec7180ff160ea088847b5b63310cd42dc949d02eef1197588b0353470a0f3ac96b44b2e3ebb093a254d8f94fb407
31
32 diff --git a/dev-python/flower/files/config.py b/dev-python/flower/files/config.py
33 deleted file mode 100644
34 index da101ab785b..00000000000
35 --- a/dev-python/flower/files/config.py
36 +++ /dev/null
37 @@ -1,115 +0,0 @@
38 -# Configuration file for the Celery Flower service. Standard Celery
39 -# configuration settings can be overridden in the configuration file. See the
40 -# Celery Configuration documentation for a complete listing of all available
41 -# settings, and their default values.
42 -
43 -
44 -# URL for the broker used by Celery.
45 -# BROKER_URL = 'amqp://guest:guest@localhost:5672//'
46 -
47 -
48 -# Run the HTTP service on the given address.
49 -#
50 -# addess = localhost
51 -
52 -
53 -# Run the HTTP server on the given port.
54 -#
55 -# port = 5555
56 -
57 -
58 -# Enables Google OpenID authentication. `auth` is a regexp of emails to grant
59 -# access. For more info see google-openid.
60 -#
61 -# auth = None
62 -
63 -
64 -# Refresh dashboards automatically.
65 -#
66 -# auto_refresh = True
67 -
68 -
69 -# Enables HTTP Basic authentication. `basic_auth` is a comma separated list of
70 -# `username:password`. If configured, any client trying to access this Flower
71 -# instance will be prompted to provide the credentials specified in this
72 -# argument.
73 -#
74 -# basic_auth = None
75 -
76 -
77 -# Flower can use the RabbitMQ Management Plugin to get info about queues.
78 -# `broker_api` is a URL of a RabbitMQ HTTP API including user credentials.
79 -#
80 -# broker_api = http://username:password@rabbitmq-server-name:15672/api
81 -
82 -
83 -# A path to ca_certs file. The ca_certs file contains a set of concatenated
84 -# "certification authority" certificates, which are used to validate
85 -# certificates passed from the other end of the connection.
86 -#
87 -# ca_certs = None
88 -
89 -
90 -# A path to an x509 certificate file.
91 -#
92 -# certfile = None
93 -
94 -
95 -# A path to the private key for `certfile`.
96 -#
97 -# keyfile = None
98 -
99 -
100 -# Enable debug mode.
101 -#
102 -# debug = False
103 -
104 -
105 -# Periodically enable Celery events by using `enable_events` command
106 -#
107 -# enable_events = True
108 -
109 -
110 -# Modifies the default task formatting. `format_task` should be a function
111 -# that accepts a task object and returns a modified version. This is useful
112 -# when filtering out sensitive information.
113 -#
114 -# format_task = None
115 -
116 -
117 -# Sets worker inspect timeout in milliseconds.
118 -#
119 -# inspect_timeout = 10000
120 -
121 -
122 -# Maximum number of tasks to keep in memory.
123 -#
124 -# max_tasks = 10000
125 -
126 -
127 -# Show time relative to the refresh time.
128 -#
129 -# natural_time = True
130 -
131 -
132 -# Enable persistent mode. If the persistent mode is enabled, Flower saves the
133 -# current state and reloads on restart.
134 -#
135 -# persistent = False
136 -
137 -
138 -# A path to a database file to use if persistent mode is enabled.
139 -#
140 -# db = flower
141 -
142 -
143 -# Enable support of `X-Real-Ip` and `X-Scheme` headers
144 -#
145 -# xheaders = False
146 -
147 -
148 -# Specifies list of comma-delimited columns on the /tasks/ page. Order of slugs
149 -# in the option is unrelated to order of columns on the page. Available slugs
150 -# include: name, uuid, state, args, kwargs, result, received, started, runtime.
151 -#
152 -# tasks_columns = None
153
154 diff --git a/dev-python/flower/files/flower.confd b/dev-python/flower/files/flower.confd
155 deleted file mode 100644
156 index a74ca17f3d2..00000000000
157 --- a/dev-python/flower/files/flower.confd
158 +++ /dev/null
159 @@ -1,2 +0,0 @@
160 -# extra arguments for the flower
161 -command_args="--conf=/etc/flower/config.py"
162
163 diff --git a/dev-python/flower/files/flower.initd b/dev-python/flower/files/flower.initd
164 deleted file mode 100644
165 index 1f950c6d210..00000000000
166 --- a/dev-python/flower/files/flower.initd
167 +++ /dev/null
168 @@ -1,15 +0,0 @@
169 -#!/sbin/openrc-run
170 -# Copyright 2015-2017 Gentoo Foundation
171 -# Distributed under the terms of the GNU General Public License v2
172 -
173 -description="Real-time monitor and web admin for Celery distributed task queue"
174 -pidfile=${pidfile:-"/run/${RC_SVCNAME}.pid"}
175 -command="/usr/libexec/${RC_SVCNAME}/${RC_SVCNAME}"
176 -command_user="${RC_SVCNAME}"
177 -command_background="true"
178 -start_stop_daemon_args="--stdout /var/log/${RC_SVCNAME}/${RC_SVCNAME}.log
179 - --stderr /var/log/${RC_SVCNAME}/${RC_SVCNAME}.log"
180 -
181 -depend() {
182 - need net
183 -}
184
185 diff --git a/dev-python/flower/files/flower.logrotated b/dev-python/flower/files/flower.logrotated
186 deleted file mode 100644
187 index 5c7f0287690..00000000000
188 --- a/dev-python/flower/files/flower.logrotated
189 +++ /dev/null
190 @@ -1,7 +0,0 @@
191 -/var/log/flower/flower.log {
192 - missingok
193 - size 5M
194 - rotate 3
195 - compress
196 - copytruncate
197 -}
198
199 diff --git a/dev-python/flower/files/flower.service b/dev-python/flower/files/flower.service
200 deleted file mode 100644
201 index dd2f1d9da10..00000000000
202 --- a/dev-python/flower/files/flower.service
203 +++ /dev/null
204 @@ -1,13 +0,0 @@
205 -[Unit]
206 -Description=Real-time monitor and web admin for Celery distributed task queue
207 -Requires=network-online.target
208 -After=network-online.target
209 -
210 -[Service]
211 -User=flower
212 -PrivateDevices=Yes
213 -Environment=_FLOWER_OPTS="--conf=/etc/flower/config.py"
214 -ExecStart=/usr/libexec/flower/flower $_FLOWER_OPTS
215 -
216 -[Install]
217 -WantedBy=multi-user.target
218
219 diff --git a/dev-python/flower/flower-0.9.1-r1.ebuild b/dev-python/flower/flower-0.9.1-r1.ebuild
220 deleted file mode 100644
221 index 18ff6c25465..00000000000
222 --- a/dev-python/flower/flower-0.9.1-r1.ebuild
223 +++ /dev/null
224 @@ -1,55 +0,0 @@
225 -# Copyright 1999-2020 Gentoo Authors
226 -# Distributed under the terms of the GNU General Public License v2
227 -
228 -EAPI=6
229 -PYTHON_COMPAT=( python3_6 )
230 -
231 -inherit distutils-r1 systemd user
232 -
233 -DESCRIPTION="Real-time monitor and web admin for Celery distributed task queue"
234 -HOMEPAGE="https://flower.readthedocs.org/ https://github.com/mher/flower/ https://pypi.org/project/flower/"
235 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
236 -
237 -LICENSE="BSD"
238 -SLOT="0"
239 -KEYWORDS="~amd64 ~x86"
240 -IUSE=""
241 -RESTRICT="test"
242 -
243 -RDEPEND=">=dev-python/celery-3.1.0[${PYTHON_USEDEP}]
244 - >=www-servers/tornado-4.2.0[${PYTHON_USEDEP}]
245 - >=dev-python/pytz-2015.7[${PYTHON_USEDEP}]
246 - >=dev-python/Babel-2.2.0[${PYTHON_USEDEP}]
247 - dev-python/setuptools[${PYTHON_USEDEP}]"
248 -
249 -pkg_setup() {
250 - enewgroup ${PN}
251 - enewuser ${PN} -1 -1 /dev/null ${PN}
252 -}
253 -
254 -src_prepare() {
255 - eapply_user
256 - sed -e 's:tornado==4.2.0:tornado>=4.2.0:' \
257 - -i requirements/default.txt || die
258 -}
259 -
260 -src_install() {
261 - distutils-r1_src_install
262 - insinto /etc/flower
263 - doins "${FILESDIR}/config.py"
264 - newinitd "${FILESDIR}/${PN}.initd" "${PN}"
265 - newconfd "${FILESDIR}/${PN}.confd" "${PN}"
266 - systemd_dounit "${FILESDIR}/${PN}.service"
267 - keepdir /var/log/${PN}
268 - fowners ${PN}:${PN} /var/log/${PN}
269 - insinto /etc/logrotate.d
270 - newins "${FILESDIR}/${PN}.logrotated" "${PN}"
271 -}
272 -
273 -python_install() {
274 - distutils-r1_python_install --install-scripts "${EPREFIX}/usr/libexec/flower"
275 -}
276 -
277 -python_test() {
278 - esetup.py test || die
279 -}
280
281 diff --git a/dev-python/flower/metadata.xml b/dev-python/flower/metadata.xml
282 deleted file mode 100644
283 index fc90b8ff79b..00000000000
284 --- a/dev-python/flower/metadata.xml
285 +++ /dev/null
286 @@ -1,9 +0,0 @@
287 -<?xml version='1.0' encoding='UTF-8'?>
288 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
289 -<pkgmetadata>
290 - <!-- maintainer-needed -->
291 - <upstream>
292 - <remote-id type="github">mher/flower</remote-id>
293 - <remote-id type="pypi">flower</remote-id>
294 - </upstream>
295 -</pkgmetadata>
296
297 diff --git a/profiles/package.mask b/profiles/package.mask
298 index 65c8cd0da31..67bd19adc20 100644
299 --- a/profiles/package.mask
300 +++ b/profiles/package.mask
301 @@ -251,11 +251,6 @@ dev-python/asynctest
302 # Removal in 30 days. Bug #719540.
303 dev-python/riak-python-client
304
305 -# Zac Medico <zmedico@g.o> (2020-04-26)
306 -# Stuck on py3.6. No revdeps.
307 -# Removal in 30 days. Bug #718904.
308 -dev-python/flower
309 -
310 # Michał Górny <mgorny@g.o> (2020-04-26)
311 # Unmaintained. Stuck on Python 3.6. No revdeps.
312 # Removal in 30 days. Bug #719604.