15
0
forked from pool/python-flower
Files
python-flower/python-flower.spec
Tomáš Chvátal c163bb9aee Accepting request 677621 from home:jayvdb:branches:devel:languages:python
- Remove flower-test_control.diff merged upstream
- Add remove-faulty-test.patch for useless test case
- Add more missing runtime dependencies Babel & pytz not covered by tests
- Update to v0.8.4
  * Fix /api/tasks #460
  * Disable tornado access logs
  * Fix #462
  * Improve error handling for unsupported brokers
  * Make sure Babel is at least 1.0
  * Updated a test to use assert_called_once_with
  * Updating readme for OAuth
  * The viewer tasks, has been enhanced to display the key word arguments
    and arguments showing now indented way information
  * Add logging.NullHandler backport #501
  * Fix github auth python3 support #498
  * Use timezone from celery settings if configured.
  * Add option `unix_socket`, deploy on docker and expose the sock file
  * Discover tests in tests/*.py
  * Fix bug, `events.Task.as_dict` is new in `Celery 3.1.7`
  * events.Task.as_dict is new in Celery 3.1.7
  * Refactor /api/tasks/ #515
  * Use pprint instead of ast #491	
  * Define CELERY_ACCEPT_CONTENT for examples
  * Fix task searching #480

OBS-URL: https://build.opensuse.org/request/show/677621
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flower?expand=0&rev=2
2019-02-20 09:58:24 +00:00

83 lines
2.4 KiB
RPMSpec

#
# spec file for package python-flower
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: python-flower
Version: 0.8.4
Release: 0
Summary: A web frontend for monitoring and administrating Celery clusters
License: BSD-3-Clause
Group: Development/Languages/Python
URL: https://github.com/mher/flower
Source: https://files.pythonhosted.org/packages/source/f/flower/flower-%{version}.tar.gz
Patch0: remove-faulty-test.patch
BuildRequires: %{python_module Babel >= 1.0}
BuildRequires: %{python_module celery >= 2.5.0}
BuildRequires: %{python_module certifi}
BuildRequires: %{python_module kombu}
BuildRequires: %{python_module mock}
BuildRequires: %{python_module pytz}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module tornado >= 4.0.0}
BuildRequires: fdupes
BuildRequires: python-futures
Requires: python-Babel >= 1.0
Requires: python-celery >= 2.5.0
Requires: python-certifi
Requires: python-pytz
Requires: python-tornado >= 4.0.0
Requires(post): update-alternatives
Requires(postun): update-alternatives
BuildArch: noarch
%ifpython2
Requires: python-futures
%endif
%python_subpackages
%description
Flower is a web based tool for monitoring and administrating Celery clusters.
%prep
%setup -q -n flower-%{version}
%patch0 -p1
sed -i 's/==/>=/' requirements/default.txt requirements/test.txt
%build
%python_build
%install
%python_install
%python_clone -a %{buildroot}%{_bindir}/flower
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%post
%python_install_alternative flower
%postun
%python_uninstall_alternative flower
%check
%python_exec setup.py test
%files %{python_files}
%license LICENSE
%doc AUTHORS CHANGES README.rst
%{python_sitelib}/*
%python_alternative %{_bindir}/flower
%changelog