From 80e7492c814d84cbc47fb726862d5a91b6893beddb6162c83f2492f0a68e0b25 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 7 Jun 2016 08:11:03 +0000 Subject: [PATCH] Accepting request 400381 from home:tbechtold:branches:devel:languages:python - update to 0.7.0: - Add before_record and before_playback hooks - Allow per-cassette placeholders to be merged and override global placeholders - Fix bug where the QueryMatcher failed matching on high Unicode points - Add betamax_recorder pytest fixture - Change default behaviour to allow duplicate interactions to be recorded in single cassette - Add allow_playback_repeats to allow an interaction to be used more than once from a single cassette - Always return a new Response object from an Interaction to allow for a streaming response to be usable multiple times - Remove CI support for Pythons 2.6 and 3.2 OBS-URL: https://build.opensuse.org/request/show/400381 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-betamax?expand=0&rev=3 --- betamax-0.5.1.tar.gz | 3 --- betamax-0.7.0.tar.gz | 3 +++ python-betamax.changes | 16 ++++++++++++++++ python-betamax.spec | 13 +++++++------ 4 files changed, 26 insertions(+), 9 deletions(-) delete mode 100644 betamax-0.5.1.tar.gz create mode 100644 betamax-0.7.0.tar.gz diff --git a/betamax-0.5.1.tar.gz b/betamax-0.5.1.tar.gz deleted file mode 100644 index 8b1999d..0000000 --- a/betamax-0.5.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:864ecfea1df089ce166ca59040534f113a974d52bcb227b2143cddb8f28b9fbe -size 25586 diff --git a/betamax-0.7.0.tar.gz b/betamax-0.7.0.tar.gz new file mode 100644 index 0000000..2667629 --- /dev/null +++ b/betamax-0.7.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1b006d854dc45d54b2db193fcb3eea8546acdece465edb7bf9247bcbda6cf485 +size 75780 diff --git a/python-betamax.changes b/python-betamax.changes index c339097..3d7eb83 100644 --- a/python-betamax.changes +++ b/python-betamax.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Tue Jun 7 07:52:18 UTC 2016 - tbechtold@suse.com + +- update to 0.7.0: + - Add before_record and before_playback hooks + - Allow per-cassette placeholders to be merged and override global placeholders + - Fix bug where the QueryMatcher failed matching on high Unicode points + - Add betamax_recorder pytest fixture + - Change default behaviour to allow duplicate interactions to be recorded + in single cassette + - Add allow_playback_repeats to allow an interaction to be used more than once + from a single cassette + - Always return a new Response object from an Interaction to allow for a + streaming response to be usable multiple times + - Remove CI support for Pythons 2.6 and 3.2 + ------------------------------------------------------------------- Thu Feb 11 14:44:26 UTC 2016 - tbechtold@suse.com diff --git a/python-betamax.spec b/python-betamax.spec index 71e49fe..7763fe3 100644 --- a/python-betamax.spec +++ b/python-betamax.spec @@ -1,7 +1,7 @@ # # spec file for package python-betamax # -# Copyright (c) 2016 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2016 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 @@ -13,19 +13,20 @@ # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Name: python-betamax -Version: 0.5.1 +Version: 0.7.0 Release: 0 -License: Apache-2.0 Summary: A VCR imitation for python-requests -Url: https://github.com/sigmavirus24/betamax +License: Apache-2.0 Group: Development/Languages/Python -Source: https://pypi.python.org/packages/source/b/betamax/betamax-%{version}.tar.gz +Url: https://github.com/sigmavirus24/betamax +Source: https://pypi.io/packages/source/b/betamax/betamax-%{version}.tar.gz BuildRequires: python-devel BuildRequires: python-setuptools -Requires: python-requests +Requires: python-requests >= 2.0 BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} && 0%{?suse_version} <= 1110 %{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}