15
0
forked from pool/python-flower

Accepting request 868494 from home:jayvdb:branches:devel:languages:python

- Add pr_1021.patch for Celery 5.0 support
- Update to v0.9.7
  * See https://github.com/mher/flower/compare/v0.9.3...v0.9.7

OBS-URL: https://build.opensuse.org/request/show/868494
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flower?expand=0&rev=10
This commit is contained in:
John Vandenberg
2021-02-02 00:26:08 +00:00
committed by Git OBS Bridge
parent 4de9de6c93
commit 2ef3c93a9f
5 changed files with 565 additions and 9 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-flower
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
%bcond_without python2
Name: python-flower
Version: 0.9.3
Version: 0.9.7
Release: 0
Summary: A web frontend for monitoring and administrating Celery clusters
License: BSD-3-Clause
@@ -27,21 +27,26 @@ URL: https://github.com/mher/flower
Source: https://files.pythonhosted.org/packages/source/f/flower/flower-%{version}.tar.gz
# Tornado 5+ update blocked by salt, so backport the missing piece
Patch0: backport_run_in_executor.patch
Patch1: pr_1021.patch
BuildRequires: %{python_module Babel >= 1.0}
BuildRequires: %{python_module celery >= 3.1.0}
BuildRequires: %{python_module celery >= 5.0.0}
BuildRequires: %{python_module certifi}
BuildRequires: %{python_module humanize}
BuildRequires: %{python_module kombu}
BuildRequires: %{python_module mock}
BuildRequires: %{python_module prometheus_client >= 0.8.0}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module pytz}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module tornado >= 4.2.0}
BuildRequires: %{python_module tornado >= 5.0.0}
BuildRequires: fdupes
Requires: python-Babel >= 1.0
Requires: python-celery >= 3.1.0
Requires: python-celery >= 5.0.0
Requires: python-certifi
Requires: python-humanize
Requires: python-prometheus_client >= 0.8.0
Requires: python-pytz
Requires: python-tornado >= 4.2.0
Requires: python-tornado >= 5.0.0
Requires(post): update-alternatives
Requires(postun): update-alternatives
BuildArch: noarch
@@ -59,6 +64,7 @@ Flower is a web based tool for monitoring and administrating Celery clusters.
%prep
%setup -q -n flower-%{version}
%patch0 -p1
%patch1 -p1
%build
%python_build