- Disable py2 as upstream actually disabled python2 support competely
* The syntax simply is not compatible OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fakeredis?expand=0&rev=8
This commit is contained in:
parent
c8461ea7fa
commit
ce69becb0c
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 20 12:31:00 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Disable py2 as upstream actually disabled python2 support competely
|
||||
* The syntax simply is not compatible
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 19 22:43:55 UTC 2020 - Hans-Peter Jansen <hpj@urpla.net>
|
||||
|
||||
|
@ -17,12 +17,12 @@
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define skip_python2 1
|
||||
Name: python-fakeredis
|
||||
Version: 1.3.0
|
||||
Release: 0
|
||||
Summary: Fake implementation of redis API for testing purposes
|
||||
License: BSD-3-Clause AND MIT
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/jamesls/fakeredis
|
||||
Source: https://files.pythonhosted.org/packages/source/f/fakeredis/fakeredis-%{version}.tar.gz
|
||||
BuildRequires: %{python_module hypothesis}
|
||||
@ -39,12 +39,10 @@ BuildArch: noarch
|
||||
BuildRequires: %{python_module future}
|
||||
BuildRequires: %{python_module hypothesis}
|
||||
BuildRequires: %{python_module lupa}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module pytest >= 4.0}
|
||||
BuildRequires: %{python_module redis}
|
||||
BuildRequires: %{python_module six >= 1.12}
|
||||
BuildRequires: %{python_module sortedcontainers}
|
||||
#!BuildIgnore: python2-pytest
|
||||
BuildRequires: python2-pytest4
|
||||
# /SECTION
|
||||
%python_subpackages
|
||||
|
||||
@ -62,7 +60,8 @@ Fake implementation of redis API for testing purposes.
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
python3 -m pytest
|
||||
export LANG="en_US.UTF8"
|
||||
%pytest
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.rst
|
||||
|
Loading…
Reference in New Issue
Block a user