forked from pool/python-Beaker
Accepting request 522093 from devel:languages:python
1 OBS-URL: https://build.opensuse.org/request/show/522093 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Beaker?expand=0&rev=21
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6735aa2fff7ea0915fc7f97a11830abcad19e4d1b02433caf4238a2b54ae1ec0
|
||||
size 37064
|
||||
3
Beaker-1.9.0.tar.gz
Normal file
3
Beaker-1.9.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:317d0f9a3618364a4ce447d227b698bd7cdcad57301326ce8013d200abd695bf
|
||||
size 39817
|
||||
@@ -1,3 +1,26 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 7 16:55:30 UTC 2017 - toddrme2178@gmail.com
|
||||
|
||||
- Update to version 1.9.0
|
||||
* Beaker now provides builtin ``ext:mongodb`` and ``ext:redis``
|
||||
namespace managers. Both come with a Synchronizer implemented
|
||||
on the storage backend instead of relying on file one.
|
||||
* Fixed an issue where cookie options like ``Secure``,
|
||||
``Domain`` and so on where lost.
|
||||
* Improved support for cache entries expiration.
|
||||
NamespaceManagers that support it will expire their key
|
||||
automatically.
|
||||
* Pycryptodome can be used instead of pycrypto.
|
||||
* An issue with ``Cookie`` module import on case insensitive
|
||||
file systems should have been resolved.
|
||||
* Cryptography module is now as a crypto function provider
|
||||
instead of pycrypto
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 24 13:33:15 UTC 2017 - jmatejek@suse.com
|
||||
|
||||
- singlespec auto-conversion
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 16 09:56:42 UTC 2016 - dmueller@suse.com
|
||||
|
||||
@@ -157,3 +180,4 @@ Thu Sep 1 13:13:32 UTC 2011 - saschpe@suse.de
|
||||
|
||||
- Initial version
|
||||
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-Beaker
|
||||
#
|
||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2017 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
|
||||
@@ -16,35 +16,57 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define oldpython python
|
||||
# Test files not in source archive
|
||||
%bcond_with test
|
||||
Name: python-Beaker
|
||||
Version: 1.8.1
|
||||
Version: 1.9.0
|
||||
Release: 0
|
||||
Url: http://beaker.rtfd.org/
|
||||
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
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Requires: python-pycryptopp >= 0.5.12
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-pycryptopp >= 0.5.12
|
||||
BuildRequires: python-setuptools
|
||||
Provides: python-beaker = %{version}
|
||||
Obsoletes: python-beaker < %{version}
|
||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
||||
BuildRequires: python-ordereddict
|
||||
BuildRequires: python-unittest2
|
||||
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||
%else
|
||||
BuildArch: noarch
|
||||
BuildRequires: python-rpm-macros
|
||||
%if %{with test}
|
||||
BuildRequires: %{python_module SQLAlchemy}
|
||||
BuildRequires: %{python_module WebTest}
|
||||
BuildRequires: %{python_module coverage}
|
||||
BuildRequires: %{python_module cryptography}
|
||||
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 redis}
|
||||
BuildRequires: python-funcsigs
|
||||
%endif
|
||||
Requires: python-pylibmc
|
||||
Requires: python-python-memcached
|
||||
Recommends: python-SQLAlchemy
|
||||
Recommends: python-cryptography
|
||||
Recommends: python-pycryptopp >= 0.5.12
|
||||
Recommends: python-pycrypto
|
||||
Recommends: python-pymongo
|
||||
Recommends: python-redis
|
||||
BuildArch: noarch
|
||||
%ifpython2
|
||||
Requires: python-funcsigs
|
||||
Provides: %{oldpython}-beaker = %{version}
|
||||
Obsoletes: %{oldpython}-beaker < %{version}
|
||||
%endif
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
Beaker is a web session and general caching library that includes WSGI
|
||||
Beaker is a web session and general caching library that includes WSGI
|
||||
middleware for use in web applications.
|
||||
|
||||
As a general caching library, Beaker can handle storing for various times
|
||||
any Python object that can be pickled with optional back-ends on a
|
||||
any Python object that can be pickled with optional back-ends on a
|
||||
fine-grained basis.
|
||||
|
||||
Beaker was built largely on the code from MyghtyUtils, then refactored and
|
||||
@@ -53,7 +75,7 @@ extended with database support.
|
||||
Beaker includes Cache and Session WSGI middleware to ease integration with
|
||||
WSGI capable frameworks, and is automatically used by Pylons.
|
||||
|
||||
Features:
|
||||
Features include:
|
||||
|
||||
* Fast, robust performance
|
||||
* Multiple reader/single writer lock system to avoid duplicate simultaneous
|
||||
@@ -74,16 +96,21 @@ Features:
|
||||
%setup -q -n Beaker-%{version}
|
||||
|
||||
%build
|
||||
python setup.py build
|
||||
%python_build
|
||||
|
||||
%install
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
%fdupes %buildroot/%_prefix
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%files
|
||||
%if %{with test}
|
||||
%check
|
||||
%python_exec setup.py test
|
||||
%endif
|
||||
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root,-)
|
||||
%doc README.rst
|
||||
%{python_sitelib}/beaker/
|
||||
%{python_sitelib}/Beaker-%{version}-py%{py_ver}.egg-info
|
||||
%{python_sitelib}/Beaker-%{version}-py*.egg-info
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user