14
0
forked from pool/python-redis

Accepting request 756890 from home:buschmann23:branches:devel:languages:python

- Fix tests with redis pre 5.0.0:
  * 0001-fix-tests-with-redis-pre-5.0.0.patch

OBS-URL: https://build.opensuse.org/request/show/756890
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-redis?expand=0&rev=50
This commit is contained in:
Tomáš Chvátal
2019-12-16 08:02:58 +00:00
committed by Git OBS Bridge
parent 2da24d42c3
commit bf0bba0abf
3 changed files with 70 additions and 0 deletions

View File

@@ -25,6 +25,7 @@ License: MIT
Group: Development/Languages/Python
URL: https://github.com/andymccurdy/redis-py
Source: https://files.pythonhosted.org/packages/source/r/redis/redis-%{version}.tar.gz
Patch0: 0001-fix-tests-with-redis-pre-5.0.0.patch
BuildRequires: %{python_module mock}
BuildRequires: %{python_module pytest >= 2.7.0}
BuildRequires: %{python_module setuptools}
@@ -42,6 +43,7 @@ The Python interface to the Redis key-value store.
%prep
%setup -q -n redis-%{version}
%patch0 -p1
%build
%python_build