commit 1eb843ce1f8a4c62fc743b38b321cf778cc9e0d3a0494cd32033afa6027300b3
Author: Denisart Benjamin
Date: Mon Feb 9 15:55:41 2015 +0000
Accepting request 284884 from home:frispete:python
cleaned up spec
OBS-URL: https://build.opensuse.org/request/show/284884
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-vcrpy?expand=0&rev=1
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 0000000..9b03811
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,23 @@
+## Default LFS
+*.7z filter=lfs diff=lfs merge=lfs -text
+*.bsp filter=lfs diff=lfs merge=lfs -text
+*.bz2 filter=lfs diff=lfs merge=lfs -text
+*.gem filter=lfs diff=lfs merge=lfs -text
+*.gz filter=lfs diff=lfs merge=lfs -text
+*.jar filter=lfs diff=lfs merge=lfs -text
+*.lz filter=lfs diff=lfs merge=lfs -text
+*.lzma filter=lfs diff=lfs merge=lfs -text
+*.obscpio filter=lfs diff=lfs merge=lfs -text
+*.oxt filter=lfs diff=lfs merge=lfs -text
+*.pdf filter=lfs diff=lfs merge=lfs -text
+*.png filter=lfs diff=lfs merge=lfs -text
+*.rpm filter=lfs diff=lfs merge=lfs -text
+*.tbz filter=lfs diff=lfs merge=lfs -text
+*.tbz2 filter=lfs diff=lfs merge=lfs -text
+*.tgz filter=lfs diff=lfs merge=lfs -text
+*.ttf filter=lfs diff=lfs merge=lfs -text
+*.txz filter=lfs diff=lfs merge=lfs -text
+*.whl filter=lfs diff=lfs merge=lfs -text
+*.xz filter=lfs diff=lfs merge=lfs -text
+*.zip filter=lfs diff=lfs merge=lfs -text
+*.zst filter=lfs diff=lfs merge=lfs -text
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..57affb6
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+.osc
diff --git a/python-vcrpy.changes b/python-vcrpy.changes
new file mode 100644
index 0000000..eeaaaf9
--- /dev/null
+++ b/python-vcrpy.changes
@@ -0,0 +1,19 @@
+-------------------------------------------------------------------
+Wed Feb 4 09:22:15 UTC 2015 - hpj@urpla.net
+
+- version 1.2.0:
+Add custom_patches argument to VCR/Cassette objects to allow users to stub
+custom classes when cassettes become active.
+- version 2.1.4:
+Add force reset around calls to actual connection from stubs, to ensure
+compatibility with the version of httplib/urlib2 in python 2.7.9.
+- version 1.1.3:
+Fix python3 headers field (thanks @rtaboada), fix boto test (thanks @telaviv),
+fix new_episodes record mode (thanks @jashugan), fix Windows connectionpool
+stub bug (thanks @gazpachoking), add support for requests 2.5
+
+-------------------------------------------------------------------
+Tue Nov 4 16:52:20 UTC 2014 - hpj@urpla.net
+
+- version 1.1.2: initial build
+
diff --git a/python-vcrpy.spec b/python-vcrpy.spec
new file mode 100644
index 0000000..495bed4
--- /dev/null
+++ b/python-vcrpy.spec
@@ -0,0 +1,69 @@
+#
+# spec file for package python-vcrpy
+#
+# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 LISA GmbH, Bingen, Germany.
+#
+# All modifications and additions to the file contributed by third parties
+# remain the property of their copyright owners, unless otherwise agreed
+# upon. The license for this file, and modifications and additions to the
+# file, is the same license as for the pristine package itself (unless the
+# license for the pristine package is not an Open Source License, in which
+# case the license is the MIT License). An "Open Source License" is a
+# 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/
+#
+
+
+%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()")}
+%else
+BuildArch: noarch
+%endif
+Name: python-vcrpy
+Version: 1.2.0
+Release: 0
+Summary: Automatically mock your HTTP interactions to simplify and speed up testing
+License: MIT
+Group: Development/Languages/Python
+Url: https://github.com/kevin1024/vcrpy
+Source: https://pypi.python.org/packages/source/v/vcrpy/vcrpy-%{version}.tar.gz
+BuildRequires: python-PyYAML
+BuildRequires: python-contextlib2
+BuildRequires: python-devel
+BuildRequires: python-mock
+BuildRequires: python-pyasn1
+BuildRequires: python-pytest-localserver
+BuildRequires: python-setuptools
+BuildRequires: python-six
+BuildRequires: python-wrapt
+Requires: python-PyYAML
+Requires: python-contextlib2
+Requires: python-mock
+Requires: python-pyasn1
+Requires: python-six
+Requires: python-wrapt
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+
+%description
+Automatically mock your HTTP interactions to simplify and speed up testing.
+
+%prep
+%setup -q -n vcrpy-%{version}
+
+%build
+python setup.py build
+
+%install
+python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+
+%check
+python setup.py test
+
+%files
+%defattr(-,root,root,-)
+%{python_sitelib}/*
+
+%changelog
diff --git a/vcrpy-1.2.0.tar.gz b/vcrpy-1.2.0.tar.gz
new file mode 100644
index 0000000..fff237a
--- /dev/null
+++ b/vcrpy-1.2.0.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:d3f362031b8d8ec1c2c590e77b23ac7f439f6c979fbf3e2e158f5593e4506f75
+size 20917