diff --git a/Beaker-1.6.4-setup_test.patch b/Beaker-1.6.4-setup_test.patch deleted file mode 100644 index ed47bb4..0000000 --- a/Beaker-1.6.4-setup_test.patch +++ /dev/null @@ -1,20 +0,0 @@ -Index: b/setup.py -=================================================================== ---- a/setup.py -+++ b/setup.py -@@ -2,6 +2,15 @@ import os - import sys - import re - -+# Hack to prevent "TypeError: 'NoneType' object is not callable" error -+# in multiprocessing/util.py _exit_function when running `python -+# setup.py test` (see -+# http://www.eby-sarna.com/pipermail/peak/2010-May/003357.html) -+try: -+ import multiprocessing -+except ImportError: -+ pass -+ - from setuptools import setup, find_packages - - v = open(os.path.join(os.path.dirname(__file__), 'beaker', '__init__.py')) diff --git a/Beaker-1.6.4.tar.gz b/Beaker-1.6.4.tar.gz deleted file mode 100644 index 02e5997..0000000 --- a/Beaker-1.6.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5b06dcc9f7b1921bc962235c4051aa5f3f5d3609f42faa6064dc614ace031a3a -size 54480 diff --git a/Beaker-1.7.0.tar.gz b/Beaker-1.7.0.tar.gz new file mode 100644 index 0000000..f730da1 --- /dev/null +++ b/Beaker-1.7.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:98eec7e4cdba442079d0871fea6853627c8fd87ed0da644510c1d3b184f0646f +size 34299 diff --git a/python-Beaker.changes b/python-Beaker.changes index b7658af..ebf030c 100644 --- a/python-Beaker.changes +++ b/python-Beaker.changes @@ -1,3 +1,29 @@ +------------------------------------------------------------------- +Sat Apr 25 18:36:03 UTC 2015 - benoit.monin@gmx.fr + +- update to version 1.7.0: + * Beaker no longer supports python 2.4 and 2.5 + * Beaker now supports Python 2.6, 2.7, 3.2, 3.3, 3.4 without + 2to3 usage + * Fixed Encrypted Cookie Session on Python3 #57 + * New pbkdf2 mobule working on Python3 #21 + * Fixed Test suite on Python 3.3 #53, #51 +- additional changes from version 1.6.5: + * @cached decorator now keeps docstring of decorated method. + * Fix crash when Session ``accessed_time`` is not available, + this happened when session ``encrypt_key`` was changed. + * Fix cache regions not providing a default key length even + though this was required and examples in the doc didn't + provide it. + * Fix crash when cache expire wasn't an int, this happened when + caching options were loaded from a config file. +- remove everything related to tests: + upstream deleted them from archive +- drop Beaker-1.6.4-setup_test.patch: only used by the tests +- do not delete the shebang of pbkdf2.py: fixed upstream +- remove CHANGELOG and LICENSE from package: deleted from archive +- add README.rst to the package documentation + ------------------------------------------------------------------- Fri Aug 9 09:20:00 UTC 2013 - speilicke@suse.com diff --git a/python-Beaker.spec b/python-Beaker.spec index cb6afcb..2360a7d 100644 --- a/python-Beaker.spec +++ b/python-Beaker.spec @@ -1,7 +1,7 @@ # # spec file for package python-Beaker # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 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,19 @@ # -# memcached with both bindings can be a bit heavy at times, thus only enable -# with a build conditional (off by default): -%bcond_with tests - Name: python-Beaker -Version: 1.6.4 +Version: 1.7.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 Source: http://pypi.python.org/packages/source/B/Beaker/Beaker-%{version}.tar.gz -Patch: Beaker-1.6.4-setup_test.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires: python-cryptopp >= 0.5.12 BuildRequires: fdupes BuildRequires: python-cryptopp >= 0.5.12 BuildRequires: python-setuptools -%if %{with tests} -# Testing requirements: -BuildRequires: memcached -BuildRequires: python-SQLAlchemy -BuildRequires: python-WebTest -BuildRequires: python-mock -BuildRequires: python-nose -# it tests against both memcached libs! -BuildRequires: python-pylibmc -BuildRequires: python-python-memcached -%endif Provides: python-beaker = %{version} Obsoletes: python-beaker < %{version} %if 0%{?suse_version} && 0%{?suse_version} <= 1110 @@ -88,8 +72,6 @@ Features: %prep %setup -q -n Beaker-%{version} -%patch -p1 -sed -i "1d" beaker/crypto/pbkdf2.py # Fix non-executable script %build python setup.py build @@ -98,17 +80,9 @@ python setup.py build python setup.py install --prefix=%{_prefix} --root=%{buildroot} %fdupes %buildroot/%_prefix -%if %{with tests} -%check -/usr/sbin/memcached& -# test_container.test_dbm_container_{2,3} fail more often than not on BS, -# but succeed on a local build -python setup.py test || true -%endif - %files %defattr(-,root,root,-) -%doc CHANGELOG LICENSE +%doc README.rst %{python_sitelib}/beaker/ %{python_sitelib}/Beaker-%{version}-py%{py_ver}.egg-info