15
0
forked from pool/python-celery

- Update to 4.2.1:

* Fix to build with newest kombu
  * Many bugfixes around
- Add patch to skip test that should not be run:
  * celery-no-redis.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-celery?expand=0&rev=105
This commit is contained in:
Tomáš Chvátal
2018-08-16 11:11:59 +00:00
committed by Git OBS Bridge
parent 6d22ce6622
commit b5efc56345
5 changed files with 43 additions and 6 deletions

View File

@@ -18,7 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-celery
Version: 4.1.0
Version: 4.2.1
Release: 0
Summary: Distributed Task Queue module for Python
License: BSD-3-Clause
@@ -26,6 +26,7 @@ Group: Development/Languages/Python
URL: http://celeryproject.org
Source: https://files.pythonhosted.org/packages/source/c/celery/celery-%{version}.tar.gz
Patch0: disable-pytest-log-capturing.patch
Patch1: celery-no-redis.patch
BuildRequires: %{python_module SQLAlchemy}
BuildRequires: %{python_module billiard >= 3.5.0.2}
BuildRequires: %{python_module case >= 1.3.1}
@@ -64,7 +65,8 @@ scheduling as well.
%prep
%setup -q -n celery-%{version}
%patch0 -p1
%autopatch -p1
sed -i -e 's:,<3.3::g' requirements/test.txt
%build
%python_build
@@ -74,7 +76,7 @@ scheduling as well.
%fdupes %{buildroot}/%{_prefix}
%check
python setup.py -q test
%python_exec setup.py test
%files %{python_files}
%{python_sitelib}/*