forked from pool/python-fakeredis
Accepting request 786861 from home:frispete:OpenStack:Common
- Update to 1.3.0: * No upstream changelog - python2 tests are dysfunctional, test with python3 only OBS-URL: https://build.opensuse.org/request/show/786861 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fakeredis?expand=0&rev=7
This commit is contained in:
parent
5ed13d805d
commit
c8461ea7fa
@ -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:37b3fae70545d6863b2c76e3bc0516517d91f49c7f9edf13ffb9721aa3573315
|
||||||
|
size 61782
|
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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>
|
Fri Sep 13 07:55:04 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-fakeredis
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-fakeredis
|
Name: python-fakeredis
|
||||||
Version: 1.0.5
|
Version: 1.3.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Fake implementation of redis API for testing purposes
|
Summary: Fake implementation of redis API for testing purposes
|
||||||
License: BSD-3-Clause AND MIT
|
License: BSD-3-Clause AND MIT
|
||||||
@ -26,7 +26,6 @@ Group: Development/Languages/Python
|
|||||||
URL: https://github.com/jamesls/fakeredis
|
URL: https://github.com/jamesls/fakeredis
|
||||||
Source: https://files.pythonhosted.org/packages/source/f/fakeredis/fakeredis-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/f/fakeredis/fakeredis-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module hypothesis}
|
BuildRequires: %{python_module hypothesis}
|
||||||
BuildRequires: %{python_module nose}
|
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
@ -38,10 +37,14 @@ Suggests: python-lupa
|
|||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
# SECTION test requirements
|
# SECTION test requirements
|
||||||
BuildRequires: %{python_module future}
|
BuildRequires: %{python_module future}
|
||||||
|
BuildRequires: %{python_module hypothesis}
|
||||||
BuildRequires: %{python_module lupa}
|
BuildRequires: %{python_module lupa}
|
||||||
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module redis}
|
BuildRequires: %{python_module redis}
|
||||||
BuildRequires: %{python_module six >= 1.12}
|
BuildRequires: %{python_module six >= 1.12}
|
||||||
BuildRequires: %{python_module sortedcontainers}
|
BuildRequires: %{python_module sortedcontainers}
|
||||||
|
#!BuildIgnore: python2-pytest
|
||||||
|
BuildRequires: python2-pytest4
|
||||||
# /SECTION
|
# /SECTION
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
@ -59,7 +62,7 @@ Fake implementation of redis API for testing purposes.
|
|||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%python_exec setup.py test
|
python3 -m pytest
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
|
Loading…
Reference in New Issue
Block a user