15
0
forked from pool/python-celery

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

- Replace no-async.patch with three Python 3.7 patches merged upstream
  python37-1.patch, python37-2.patch & python37-3.patch
- Replace sed invocation with unpin-pytest.patch for clarity

OBS-URL: https://build.opensuse.org/request/show/677998
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-celery?expand=0&rev=114
This commit is contained in:
Tomáš Chvátal
2019-02-22 10:39:57 +00:00
committed by Git OBS Bridge
parent 27b13e8829
commit 270b7c6b0e
7 changed files with 224 additions and 702 deletions

View File

@@ -27,8 +27,12 @@ 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
Patch2: no-async.patch
Patch2: unpin-pytest.patch
Patch3: relax-billiard-pin.patch
# Upstream patches for Python 3.7 support
Patch4: python37-1.patch
Patch5: python37-2.patch
Patch6: python37-3.patch
BuildRequires: %{python_module SQLAlchemy}
BuildRequires: %{python_module billiard >= 3.5.0.2}
BuildRequires: %{python_module case >= 1.3.1}
@@ -67,7 +71,6 @@ scheduling as well.
%prep
%setup -q -n celery-%{version}
%autopatch -p1
sed -i -e 's:,<3.3::g' requirements/test.txt
%build
%python_build