forked from pool/python-Beaker
Accepting request 690384 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/690384 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Beaker?expand=0&rev=22
This commit is contained in:
3
1.10.1.tar.gz
Normal file
3
1.10.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ce07f15e1ed50fc38bed51039f94e859d696bc05c42dbf384078b12658e891ec
|
||||
size 87654
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:317d0f9a3618364a4ce447d227b698bd7cdcad57301326ce8013d200abd695bf
|
||||
size 39817
|
||||
@@ -1,3 +1,22 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 1 13:36:58 UTC 2019 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
- Ignore test_database tests to avoid gh#bbangert/beaker#172
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 1 09:08:58 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Update to 1.10.1:
|
||||
* Fix issue with Redis namespace manager TTL
|
||||
* Fix for SameSite cookie option not being set in some cases
|
||||
* Fix for memcached tests on Python3
|
||||
* Redis namespace manager now supports providing a TTL for session entries that had a ``timeout`` provided.
|
||||
This will remove the need to manually clear expired sessions from the redis storage.
|
||||
* ``nsscrypto`` backend is now properly identified as providing AES support.
|
||||
* When a crypto backend doesn't support AES it will no longer crash if the ``encrypt_key`` is ``None``.
|
||||
* Session cookies will now provide support for ``SameSite`` through the ``samesite`` option.
|
||||
By default this will be ``Lax``, but can be set to ``Strict`` or ``None`` to disable it.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 7 16:55:30 UTC 2017 - toddrme2178@gmail.com
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-Beaker
|
||||
#
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -12,26 +12,20 @@
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define oldpython python
|
||||
# Test files not in source archive
|
||||
%bcond_with test
|
||||
Name: python-Beaker
|
||||
Version: 1.9.0
|
||||
Version: 1.10.1
|
||||
Release: 0
|
||||
Summary: A Session and Caching library with WSGI Middleware
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Languages/Python
|
||||
Url: https://github.com/bbangert/beaker
|
||||
Source: https://files.pythonhosted.org/packages/source/B/Beaker/Beaker-%{version}.tar.gz
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
%if %{with test}
|
||||
URL: https://github.com/bbangert/beaker
|
||||
Source: https://github.com/bbangert/beaker/archive/%{version}.tar.gz
|
||||
BuildRequires: %{python_module SQLAlchemy}
|
||||
BuildRequires: %{python_module WebTest}
|
||||
BuildRequires: %{python_module coverage}
|
||||
@@ -40,20 +34,26 @@ BuildRequires: %{python_module mock}
|
||||
BuildRequires: %{python_module nose}
|
||||
BuildRequires: %{python_module pycryptodome}
|
||||
BuildRequires: %{python_module pylibmc}
|
||||
BuildRequires: %{python_module python-memcached}
|
||||
BuildRequires: %{python_module pymongo}
|
||||
BuildRequires: %{python_module python-memcached}
|
||||
BuildRequires: %{python_module redis}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-funcsigs
|
||||
%endif
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: python3-dbm
|
||||
Requires: python-pylibmc
|
||||
Requires: python-python-memcached
|
||||
Recommends: python-SQLAlchemy
|
||||
Recommends: python-cryptography
|
||||
Recommends: python-pycryptopp >= 0.5.12
|
||||
Recommends: python-pycrypto
|
||||
Recommends: python-pycryptopp >= 0.5.12
|
||||
Recommends: python-pymongo
|
||||
Recommends: python-redis
|
||||
BuildArch: noarch
|
||||
%ifpython3
|
||||
Requires: python3-dbm
|
||||
%endif
|
||||
%ifpython2
|
||||
Requires: python-funcsigs
|
||||
Provides: %{oldpython}-beaker = %{version}
|
||||
@@ -93,7 +93,11 @@ Features include:
|
||||
* Fine-grained toggling of back-ends, keys, and expiration per Cache object
|
||||
|
||||
%prep
|
||||
%setup -q -n Beaker-%{version}
|
||||
%setup -q -n beaker-%{version}
|
||||
# needs mongo and redis running
|
||||
rm -r tests/test_managers
|
||||
rm tests/test_memcached.py
|
||||
rm tests/test_cachemanager.py
|
||||
|
||||
%build
|
||||
%python_build
|
||||
@@ -102,14 +106,15 @@ Features include:
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%if %{with test}
|
||||
%check
|
||||
%python_exec setup.py test
|
||||
%endif
|
||||
%{python_expand PYTHONPATH=%{buildroot}%{$python_sitelib}
|
||||
# gh#bbangert/beaker#172
|
||||
%python_expand nosetests-%{$python_bin_suffix} -v -I 'test_database' tests
|
||||
}
|
||||
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root,-)
|
||||
%doc README.rst
|
||||
%license LICENSE
|
||||
%doc README.rst CHANGELOG
|
||||
%{python_sitelib}/beaker/
|
||||
%{python_sitelib}/Beaker-%{version}-py*.egg-info
|
||||
|
||||
|
||||
Reference in New Issue
Block a user