15
0
forked from pool/python-celery

Accepting request 521056 from devel:languages:python:singlespec-staging

- singlespec auto-conversion

OBS-URL: https://build.opensuse.org/request/show/521056
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-celery?expand=0&rev=96
This commit is contained in:
Jan Matejek
2017-09-05 09:39:58 +00:00
committed by Git OBS Bridge
parent b9ea89e8e7
commit 30dbbf6db3
2 changed files with 30 additions and 21 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Aug 24 13:33:50 UTC 2017 - jmatejek@suse.com
- singlespec auto-conversion
-------------------------------------------------------------------
Mon Jul 10 12:08:37 UTC 2017 - jengelh@inai.de
@@ -1688,3 +1693,4 @@ Tue Nov 17 17:21:26 UTC 2009 - alexandre@exatati.com.br
Tue Sep 22 15:07:28 UTC 2009 - alexandre@exatati.com.br
- Initial package (0.8) for openSUSE.

View File

@@ -16,33 +16,34 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-celery
Version: 4.0.2
Release: 0
Url: http://celeryproject.org
Summary: Distributed Task Queue module for Python
License: BSD-3-Clause
Group: Development/Languages/Python
Url: http://celeryproject.org
Source: https://files.pythonhosted.org/packages/source/c/celery/celery-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: %{python_module SQLAlchemy}
BuildRequires: %{python_module billiard >= 3.5.0.2}
BuildRequires: %{python_module case >= 1.3.1}
BuildRequires: %{python_module cl}
BuildRequires: %{python_module curses}
BuildRequires: %{python_module python-dateutil}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module eventlet}
BuildRequires: %{python_module gevent}
BuildRequires: %{python_module kombu >= 4.0.2}
BuildRequires: %{python_module pyOpenSSL}
BuildRequires: %{python_module pytest >= 3.0}
BuildRequires: %{python_module pytz}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: netcfg
BuildRequires: python-SQLAlchemy
BuildRequires: python-billiard >= 3.5.0.2
BuildRequires: python-case >= 1.3.1
BuildRequires: python-cl
BuildRequires: python-curses
BuildRequires: python-dateutil
BuildRequires: python-devel
BuildRequires: python-eventlet
BuildRequires: python-gevent
BuildRequires: python-kombu >= 4.0.2
BuildRequires: python-pyOpenSSL
BuildRequires: python-pytest >= 3.0
BuildRequires: python-pytz
BuildRequires: python-setuptools
BuildRequires: python-rpm-macros
Requires: python-billiard >= 3.5.0.2
Requires: python-dateutil
Requires: python-python-dateutil
Recommends: python-curses
Recommends: python-pyOpenSSL
Suggests: python-eventlet
@@ -50,7 +51,9 @@ Suggests: python-gevent
Suggests: python-pymongo
Suggests: python-python-daemon
Suggests: python-pytyrant
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%python_subpackages
%description
Celery is an asynchronous task queue/job queue based on distributed
@@ -61,19 +64,19 @@ scheduling as well.
%setup -q -n celery-%{version}
%build
python setup.py build
%python_build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%python_install
%fdupes %{buildroot}/%{_prefix}
%check
python setup.py -q test
%files
%files %{python_files}
%defattr(-,root,root,-)
%{python_sitelib}/*
%doc Changelog README.rst TODO LICENSE
%{_bindir}/celery*
%python3_only %{_bindir}/celery*
%changelog