forked from pool/python-vcrpy
Accepting request 644399 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/644399 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-vcrpy?expand=0&rev=2
This commit is contained in:
@@ -1,3 +1,14 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Oct 24 15:24:59 UTC 2018 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
- Use noun phrase in summary and adjust descriptions.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Oct 24 13:31:40 UTC 2018 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
- Version update to 2.0.1:
|
||||||
|
* Support python 3.7 (fix httplib2 and urllib2, thanks @felixonmars)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jul 13 22:09:12 UTC 2017 - sean.marlow@suse.com
|
Thu Jul 13 22:09:12 UTC 2017 - sean.marlow@suse.com
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-vcrpy
|
# spec file for package python-vcrpy
|
||||||
#
|
#
|
||||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
# Copyright (c) 2015 LISA GmbH, Bingen, Germany.
|
# Copyright (c) 2015 LISA GmbH, Bingen, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
@@ -13,37 +13,34 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
%bcond_without test
|
|
||||||
Name: python-vcrpy
|
Name: python-vcrpy
|
||||||
Version: 1.11.1
|
Version: 2.0.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Automatically mock your HTTP interactions to simplify and speed up testing
|
Summary: Python module to mock and replay HTTP interactions
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Url: https://github.com/kevin1024/vcrpy
|
URL: https://github.com/kevin1024/vcrpy
|
||||||
Source: https://files.pythonhosted.org/packages/source/v/vcrpy/vcrpy-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/v/vcrpy/vcrpy-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module devel}
|
|
||||||
BuildRequires: %{python_module setuptools}
|
|
||||||
BuildRequires: fdupes
|
|
||||||
BuildRequires: python-rpm-macros
|
|
||||||
%if %{with test}
|
|
||||||
BuildRequires: %{python_module PyYAML}
|
BuildRequires: %{python_module PyYAML}
|
||||||
BuildRequires: %{python_module pytest-httpbin}
|
BuildRequires: %{python_module pytest-httpbin}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: %{python_module six >= 1.5}
|
BuildRequires: %{python_module six >= 1.5}
|
||||||
BuildRequires: %{python_module wrapt}
|
BuildRequires: %{python_module wrapt}
|
||||||
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: python-rpm-macros
|
||||||
BuildRequires: python2-contextlib2
|
BuildRequires: python2-contextlib2
|
||||||
BuildRequires: python2-mock
|
BuildRequires: python2-mock
|
||||||
BuildRequires: python3-yarl
|
BuildRequires: python3-yarl
|
||||||
%endif
|
|
||||||
Requires: python-PyYAML
|
Requires: python-PyYAML
|
||||||
Requires: python-six >= 1.5
|
Requires: python-six >= 1.5
|
||||||
Requires: python-wrapt
|
Requires: python-wrapt
|
||||||
|
BuildArch: noarch
|
||||||
%ifpython2
|
%ifpython2
|
||||||
Requires: python2-contextlib2
|
Requires: python2-contextlib2
|
||||||
Requires: python2-mock
|
Requires: python2-mock
|
||||||
@@ -51,14 +48,11 @@ Requires: python2-mock
|
|||||||
%ifpython3
|
%ifpython3
|
||||||
Requires: python3-yarl
|
Requires: python3-yarl
|
||||||
%endif
|
%endif
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
BuildArch: noarch
|
|
||||||
|
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Record your test suite's HTTP interactions and replay them during future test
|
This module records a test suite's HTTP interactions and replays them during future
|
||||||
runs for fast, deterministic, accurate tests.
|
test runs for deterministic tests.
|
||||||
|
|
||||||
This is a Python version of Ruby's VCR library.
|
This is a Python version of Ruby's VCR library.
|
||||||
|
|
||||||
@@ -72,16 +66,14 @@ This is a Python version of Ruby's VCR library.
|
|||||||
%python_install
|
%python_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}/vcr
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}/vcr
|
||||||
|
|
||||||
%if %{with test}
|
|
||||||
%check
|
%check
|
||||||
# Skip TestVCRConnection.testing_connect. Attempts
|
# Skip TestVCRConnection.testing_connect. Attempts
|
||||||
# a real connection.
|
# a real connection.
|
||||||
%python_exec -m pytest -k "not testing_connect" tests
|
%python_exec -m pytest -k "not testing_connect" tests
|
||||||
%endif
|
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%defattr(-,root,root,-)
|
%license LICENSE.txt
|
||||||
%doc LICENSE.txt README.rst
|
%doc README.rst
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:f434fe7e05d940d576ac850709ae57a738ba40e7f317076ea8d359ced5b32320
|
|
||||||
size 63122
|
|
3
vcrpy-2.0.1.tar.gz
Normal file
3
vcrpy-2.0.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:57be64aa8e9883a4117d0b15de28af62275c001abcdb00b6dc2d4406073d9a4f
|
||||||
|
size 63596
|
Reference in New Issue
Block a user