forked from pool/python-redis
- Remove not needed pytest.ini source file.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-redis?expand=0&rev=102
This commit is contained in:
@@ -35,7 +35,6 @@ Summary: Python client for Redis key-value store
|
||||
License: MIT
|
||||
URL: https://github.com/redis/redis-py
|
||||
Source0: https://files.pythonhosted.org/packages/source/r/redis/redis-%{version}.tar.gz
|
||||
Source1: https://github.com/redis/redis-py/raw/refs/tags/v%{version}/pytest.ini
|
||||
Patch0: increase-test-timeout.patch
|
||||
Patch1: remove-mock.patch
|
||||
BuildRequires: %{python_module async-timeout >= 4.0.2 if %python-base < 3.11.3}
|
||||
@@ -50,9 +49,9 @@ BuildRequires: psmisc
|
||||
BuildRequires: python-rpm-macros
|
||||
%if %{with test}
|
||||
BuildRequires: %{python_module pytest-asyncio}
|
||||
BuildRequires: %{python_module pytest-cov}
|
||||
BuildRequires: %{python_module pytest-mock}
|
||||
BuildRequires: %{python_module pytest-timeout}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module redis = %{version}}
|
||||
BuildRequires: %{python_module redis-entraid}
|
||||
BuildRequires: redis
|
||||
@@ -68,8 +67,6 @@ The Python interface to the Redis key-value store.
|
||||
|
||||
%prep
|
||||
%autosetup -N -n redis-%{version}
|
||||
# pytest.ini for pytest markers but without coverage
|
||||
sed /coverage/d %SOURCE1 > pytest.ini
|
||||
%ifarch s390x
|
||||
%patch -P 0 -p1
|
||||
%endif
|
||||
|
Reference in New Issue
Block a user