forked from pool/python-vcrpy
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
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@@ -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
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.osc
|
19
python-vcrpy.changes
Normal file
19
python-vcrpy.changes
Normal file
@@ -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
|
||||
|
69
python-vcrpy.spec
Normal file
69
python-vcrpy.spec
Normal file
@@ -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
|
3
vcrpy-1.2.0.tar.gz
Normal file
3
vcrpy-1.2.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d3f362031b8d8ec1c2c590e77b23ac7f439f6c979fbf3e2e158f5593e4506f75
|
||||
size 20917
|
Reference in New Issue
Block a user