Accepting request 786873 from devel:languages:python
- Disable py2 as upstream actually disabled python2 support competely * The syntax simply is not compatible - Update to 1.3.0: * No upstream changelog - python2 tests are dysfunctional, test with python3 only OBS-URL: https://build.opensuse.org/request/show/786873 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fakeredis?expand=0&rev=4
This commit is contained in:
commit
37a9447c99
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3e1bfb9de5a5ab5796b6101fbe7927fe1456fa8e72cbcd3625c9437e278bf581
|
||||
size 74193
|
3
fakeredis-1.3.0.tar.gz
Normal file
3
fakeredis-1.3.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7c657d6345f3a9837be1ed118964ba2472f66083d325017edad917b560c01a78
|
||||
size 68497
|
@ -1,3 +1,16 @@
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
- Update to 1.3.0:
|
||||
* No upstream changelog
|
||||
- python2 tests are dysfunctional, test with python3 only
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 13 07:55:04 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-fakeredis
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -17,16 +17,15 @@
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define skip_python2 1
|
||||
Name: python-fakeredis
|
||||
Version: 1.0.5
|
||||
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}
|
||||
BuildRequires: %{python_module nose}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
@ -38,7 +37,9 @@ Suggests: python-lupa
|
||||
BuildArch: noarch
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module future}
|
||||
BuildRequires: %{python_module hypothesis}
|
||||
BuildRequires: %{python_module lupa}
|
||||
BuildRequires: %{python_module pytest >= 4.0}
|
||||
BuildRequires: %{python_module redis}
|
||||
BuildRequires: %{python_module six >= 1.12}
|
||||
BuildRequires: %{python_module sortedcontainers}
|
||||
@ -59,7 +60,8 @@ Fake implementation of redis API for testing purposes.
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%python_exec setup.py test
|
||||
export LANG="en_US.UTF8"
|
||||
%pytest
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.rst
|
||||
|
Loading…
Reference in New Issue
Block a user