Accepting request 982345 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/982345 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fakeredis?expand=0&rev=8
This commit is contained in:
commit
623e8f0107
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c9bd12e430336cbd3e189fae0e91eb99997b93e76dbfdd6ed67fa352dc684c71
|
||||
size 80902
|
3
fakeredis-1.8.1-gh.tar.gz
Normal file
3
fakeredis-1.8.1-gh.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1ab86dc61bbfeb15bfe844ba337a7d44d4e27beb8ae355ba0376504e0c2ab33b
|
||||
size 101586
|
@ -1,3 +1,21 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Jun 11 11:17:33 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Update to 1.8.1
|
||||
* fix: allow redis 4.3.* by @terencehonles in #30
|
||||
- Release 1.8
|
||||
* Fix handling url with username and password by @cunla in #27
|
||||
* Refactor tests by @cunla in #28
|
||||
- Release 1.7.6
|
||||
* add IMOVE operation by @BGroever in #11
|
||||
* Add SMISMEMBER command by @OlegZv in #20
|
||||
* fix: work with redis.asyncio by @zhongkechen in #10
|
||||
* Migrate to poetry by @cunla in #12
|
||||
* Create annotation for redis4+ tests by @cunla in #14
|
||||
* Make aioredis and lupa optional dependencies by @cunla in #16
|
||||
* Remove aioredis requirement if redis-py 4.2+ by @ikornaselur in
|
||||
#19
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jan 23 20:36:18 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
@ -16,37 +16,34 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define skip_python2 1
|
||||
Name: python-fakeredis
|
||||
Version: 1.7.0
|
||||
Version: 1.8.1
|
||||
Release: 0
|
||||
Summary: Fake implementation of redis API for testing purposes
|
||||
License: BSD-3-Clause AND MIT
|
||||
URL: https://github.com/jamesls/fakeredis
|
||||
Source: https://files.pythonhosted.org/packages/source/f/fakeredis/fakeredis-%{version}.tar.gz
|
||||
BuildRequires: %{python_module setuptools}
|
||||
URL: https://github.com//dsoftwareinc/fakeredis
|
||||
Source: https://github.com/dsoftwareinc/fakeredis-py/archive/refs/tags/v%{version}.tar.gz#/fakeredis-%{version}-gh.tar.gz
|
||||
BuildRequires: %{python_module base >= 3.7}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module poetry-core}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-packaging
|
||||
Requires: python-redis
|
||||
Requires: python-six >= 1.12
|
||||
Requires: python-sortedcontainers
|
||||
Suggests: python-aioredis
|
||||
Requires: python-six >= 1.16
|
||||
Requires: python-sortedcontainers >= 2.4.0
|
||||
Suggests: (python-aioredis if python-redis < 4.2)
|
||||
Suggests: python-lupa
|
||||
BuildArch: noarch
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module aioredis}
|
||||
BuildRequires: %{python_module future}
|
||||
BuildRequires: %{python_module hypothesis}
|
||||
BuildRequires: %{python_module lupa}
|
||||
BuildRequires: %{python_module packaging}
|
||||
BuildRequires: %{python_module pytest >= 4.0}
|
||||
BuildRequires: %{python_module pytest-asyncio}
|
||||
BuildRequires: %{python_module pytest-mock}
|
||||
BuildRequires: %{python_module redis}
|
||||
BuildRequires: %{python_module six >= 1.12}
|
||||
BuildRequires: %{python_module sortedcontainers}
|
||||
BuildRequires: %{python_module six >= 1.16}
|
||||
BuildRequires: %{python_module sortedcontainers >= 2.4.0}
|
||||
# /SECTION
|
||||
%python_subpackages
|
||||
|
||||
@ -54,13 +51,13 @@ BuildRequires: %{python_module sortedcontainers}
|
||||
Fake implementation of redis API for testing purposes.
|
||||
|
||||
%prep
|
||||
%setup -q -n fakeredis-%{version}
|
||||
%setup -q -n fakeredis-py-%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
@ -68,8 +65,8 @@ export LANG="en_US.UTF8"
|
||||
%pytest
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.rst
|
||||
%license COPYING
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
%{python_sitelib}/fakeredis
|
||||
%{python_sitelib}/fakeredis-%{version}*-info
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user