forked from pool/python-Beaker
- Update to 1.12.0:
* Enabled testing on Python 3.10 and 3.11 * Fixed issue #122 - Session ignores deserializer json * Remove ID generation fallback for when the uuid module is not found * Port testing from nose to pytest * Fixed issue #180 - KeyError when loading deleted session - Remove Python 2 and Python 3 gubbins. - Remove patch denose.patch, merged upstream. - Add patch support-pymemcache.patch: * Also support pymemcache. - Fiddle BuildRequires as appropiate. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Beaker?expand=0&rev=57
This commit is contained in:
@@ -16,19 +16,15 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define oldpython python
|
||||
%bcond_without python2
|
||||
Name: python-Beaker
|
||||
Version: 1.11.0
|
||||
Version: 1.12.0
|
||||
Release: 0
|
||||
Summary: A Session and Caching library with WSGI Middleware
|
||||
License: BSD-3-Clause
|
||||
URL: https://github.com/bbangert/beaker
|
||||
Source: https://github.com/bbangert/beaker/archive/%{version}.tar.gz
|
||||
# PATCH-FEATURE-UPSTREAM denose.patch gh#bbangert/beaker#192 mcepl@suse.com
|
||||
# Port tests to pytest
|
||||
Patch0: denose.patch
|
||||
# PATCH-FIX-OPENSUSE Support pymemcache
|
||||
Patch0: support-pymemcache.patch
|
||||
BuildRequires: %{python_module SQLAlchemy}
|
||||
BuildRequires: %{python_module WebTest}
|
||||
BuildRequires: %{python_module coverage}
|
||||
@@ -44,27 +40,17 @@ BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: glibc-locale
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-dbm
|
||||
Requires: python-pylibmc
|
||||
Requires: python-setuptools
|
||||
Recommends: python-SQLAlchemy
|
||||
Recommends: python-cryptography
|
||||
Recommends: python-pycrypto
|
||||
Recommends: python-pycryptopp >= 0.5.12
|
||||
Recommends: python-pymemcache
|
||||
Recommends: python-pymongo
|
||||
Recommends: python-python-memcached
|
||||
Recommends: python-redis
|
||||
BuildArch: noarch
|
||||
%if %{with python2}
|
||||
BuildRequires: python-funcsigs
|
||||
%endif
|
||||
%ifpython2
|
||||
Requires: python-funcsigs
|
||||
Provides: %{oldpython}-beaker = %{version}
|
||||
Obsoletes: %{oldpython}-beaker < %{version}
|
||||
%endif
|
||||
%if %{python_version_nodots} >= 30
|
||||
Requires: python-dbm
|
||||
%endif
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@@ -99,8 +85,7 @@ Features include:
|
||||
* Fine-grained toggling of back-ends, keys, and expiration per Cache object
|
||||
|
||||
%prep
|
||||
%setup -q -n beaker-%{version}
|
||||
%autopatch -p1
|
||||
%autosetup -p1 -n beaker-%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
|
||||
Reference in New Issue
Block a user