From ebe618a319385365152e1d3f75bb2d38c49341f20b8fb856c84a233c795573cc Mon Sep 17 00:00:00 2001
From: Denisart Benjamin
Date: Wed, 6 May 2015 23:25:02 +0000
Subject: [PATCH] Accepting request 305293 from
home:benoit_monin:branches:devel:languages:python
- update to version 0.5.6
- add fdupes as BuildRequires and call it after install
OBS-URL: https://build.opensuse.org/request/show/305293
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dogpile.cache?expand=0&rev=11
---
dogpile.cache-0.5.4.tar.gz | 3 ---
dogpile.cache-0.5.6.tar.gz | 3 +++
python-dogpile.cache.changes | 31 +++++++++++++++++++++++++++++++
python-dogpile.cache.spec | 6 ++++--
4 files changed, 38 insertions(+), 5 deletions(-)
delete mode 100644 dogpile.cache-0.5.4.tar.gz
create mode 100644 dogpile.cache-0.5.6.tar.gz
diff --git a/dogpile.cache-0.5.4.tar.gz b/dogpile.cache-0.5.4.tar.gz
deleted file mode 100644
index 107a714..0000000
--- a/dogpile.cache-0.5.4.tar.gz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:9eab7a5dc05ad1b6573144c4a2717226b5c38811f9ec29b514e774535a91ea24
-size 185676
diff --git a/dogpile.cache-0.5.6.tar.gz b/dogpile.cache-0.5.6.tar.gz
new file mode 100644
index 0000000..873ad56
--- /dev/null
+++ b/dogpile.cache-0.5.6.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:f80544c5555f66cf7b5fc99f15431f3b35f78009bc6b03b58fe1724236bbc57b
+size 189010
diff --git a/python-dogpile.cache.changes b/python-dogpile.cache.changes
index 9f67ead..debde8b 100644
--- a/python-dogpile.cache.changes
+++ b/python-dogpile.cache.changes
@@ -1,3 +1,34 @@
+-------------------------------------------------------------------
+Mon May 4 11:45:10 UTC 2015 - benoit.monin@gmx.fr
+
+- update to version 0.5.6:
+ * Changed the pickle protocol for the file/DBM backend to
+ pickle.HIGHEST_PROTOCOL when producing new pickles, to match
+ that of the redis and memorypickle backends. Pull request
+ courtesy anentropic.
+- additional changes from version 0.5.5:
+ * Added new arguments
+ CacheRegion.cache_on_arguments.function_key_generator and
+ CacheRegion.cache_multi_on_arguments.function_multi_key_generator
+ which serve as per-decorator replacements for the region-wide
+ CacheRegion.function_key_generator and
+ CacheRegion.function_multi_key_generator parameters,
+ respectively, so that custom key production schemes can be
+ applied on a per-function basis within one region. Pull request
+ courtesy Hongbin Lu.
+ * Fixed bug where sending -1 for the
+ CacheRegion.get_or_create.expiration_time parameter to
+ CacheRegion.get_or_create() or
+ CacheRegion.get_or_create_multi() would fail to honor the
+ setting as “no expiration time”. Pull request courtesy Hongbin
+ Lu.
+ * The wrap argument is now propagated when calling
+ CacheRegion.configure_from_config(). Pull request courtesy
+ Jonathan Vanasco.
+ * Fixed tests under py.test, which were importing a symbol from
+ pytest itself is_unittest which has been removed.
+- add fdupes as BuildRequires and call it after install
+
-------------------------------------------------------------------
Mon Sep 15 09:03:52 UTC 2014 - tbechtold@suse.com
diff --git a/python-dogpile.cache.spec b/python-dogpile.cache.spec
index 8ecd953..98094d1 100644
--- a/python-dogpile.cache.spec
+++ b/python-dogpile.cache.spec
@@ -1,7 +1,7 @@
#
# spec file for package python-dogpile.cache
#
-# Copyright (c) 2014 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
@@ -17,13 +17,14 @@
Name: python-dogpile.cache
-Version: 0.5.4
+Version: 0.5.6
Release: 0
Summary: A caching front-end based on the Dogpile lock
License: BSD-3-Clause
Group: Development/Languages/Python
Url: http://bitbucket.org/zzzeek/dogpile.cache
Source: https://pypi.python.org/packages/source/d/dogpile.cache/dogpile.cache-%{version}.tar.gz
+BuildRequires: fdupes
BuildRequires: python-devel
BuildRequires: python-setuptools
Requires: python-dogpile.core >= 0.4.1
@@ -47,6 +48,7 @@ python setup.py build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%fdupes %{buildroot}/%{_prefix}
%files
%defattr(-,root,root,-)