diff --git a/python-vcrpy.changes b/python-vcrpy.changes index 60c0ecf..a24976a 100644 --- a/python-vcrpy.changes +++ b/python-vcrpy.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Wed Oct 24 15:24:59 UTC 2018 - Jan Engelhardt + +- Use noun phrase in summary and adjust descriptions. + +------------------------------------------------------------------- +Wed Oct 24 13:31:40 UTC 2018 - Tomáš Chvátal + +- 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 diff --git a/python-vcrpy.spec b/python-vcrpy.spec index c9732ff..cf15463 100644 --- a/python-vcrpy.spec +++ b/python-vcrpy.spec @@ -1,7 +1,7 @@ # # 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. # # 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) # 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-%{**}} -%bcond_without test Name: python-vcrpy -Version: 1.11.1 +Version: 2.0.1 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 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 -BuildRequires: %{python_module devel} -BuildRequires: %{python_module setuptools} -BuildRequires: fdupes -BuildRequires: python-rpm-macros -%if %{with test} BuildRequires: %{python_module PyYAML} BuildRequires: %{python_module pytest-httpbin} BuildRequires: %{python_module pytest} +BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six >= 1.5} BuildRequires: %{python_module wrapt} +BuildRequires: fdupes +BuildRequires: python-rpm-macros BuildRequires: python2-contextlib2 BuildRequires: python2-mock BuildRequires: python3-yarl -%endif Requires: python-PyYAML Requires: python-six >= 1.5 Requires: python-wrapt +BuildArch: noarch %ifpython2 Requires: python2-contextlib2 Requires: python2-mock @@ -51,14 +48,11 @@ Requires: python2-mock %ifpython3 Requires: python3-yarl %endif -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildArch: noarch - %python_subpackages %description -Record your test suite's HTTP interactions and replay them during future test -runs for fast, deterministic, accurate tests. +This module records a test suite's HTTP interactions and replays them during future +test runs for deterministic tests. 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_expand %fdupes %{buildroot}%{$python_sitelib}/vcr -%if %{with test} %check # Skip TestVCRConnection.testing_connect. Attempts # a real connection. %python_exec -m pytest -k "not testing_connect" tests -%endif %files %{python_files} -%defattr(-,root,root,-) -%doc LICENSE.txt README.rst +%license LICENSE.txt +%doc README.rst %{python_sitelib}/* %changelog diff --git a/vcrpy-1.11.1.tar.gz b/vcrpy-1.11.1.tar.gz deleted file mode 100644 index bb28cc0..0000000 --- a/vcrpy-1.11.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f434fe7e05d940d576ac850709ae57a738ba40e7f317076ea8d359ced5b32320 -size 63122 diff --git a/vcrpy-2.0.1.tar.gz b/vcrpy-2.0.1.tar.gz new file mode 100644 index 0000000..c0420ff --- /dev/null +++ b/vcrpy-2.0.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:57be64aa8e9883a4117d0b15de28af62275c001abcdb00b6dc2d4406073d9a4f +size 63596