From db41a13fba4a129bf57e56e6285c642496993e5503242233b554bfe9af599688 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sat, 8 Feb 2020 11:01:08 +0000 Subject: [PATCH] Accepting request 772119 from home:mcalabkova:branches:devel:languages:python - update to version 4.0.2 * Remove Python2 support * Add Python 3.8 TravisCI support * Correct mock imports OBS-URL: https://build.opensuse.org/request/show/772119 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-vcrpy?expand=0&rev=20 --- python-vcrpy.changes | 8 ++++++++ python-vcrpy.spec | 17 +++++------------ vcrpy-2.1.1.tar.gz | 3 --- vcrpy-4.0.2.tar.gz | 3 +++ 4 files changed, 16 insertions(+), 15 deletions(-) delete mode 100644 vcrpy-2.1.1.tar.gz create mode 100644 vcrpy-4.0.2.tar.gz diff --git a/python-vcrpy.changes b/python-vcrpy.changes index 36c037e..038c6a6 100644 --- a/python-vcrpy.changes +++ b/python-vcrpy.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Fri Feb 7 14:58:03 UTC 2020 - Marketa Calabkova + +- update to version 4.0.2 + * Remove Python2 support + * Add Python 3.8 TravisCI support + * Correct mock imports + ------------------------------------------------------------------- Sun Nov 3 14:00:28 UTC 2019 - Martin Hauke diff --git a/python-vcrpy.spec b/python-vcrpy.spec index d0bd277..5b79786 100644 --- a/python-vcrpy.spec +++ b/python-vcrpy.spec @@ -1,7 +1,7 @@ # # spec file for package python-vcrpy # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # Copyright (c) 2015 LISA GmbH, Bingen, Germany. # # All modifications and additions to the file contributed by third parties @@ -18,8 +18,9 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define skip_python2 1 Name: python-vcrpy -Version: 2.1.1 +Version: 4.0.2 Release: 0 Summary: Python module to mock and replay HTTP interactions License: MIT @@ -32,22 +33,14 @@ BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six >= 1.5} BuildRequires: %{python_module wrapt} +BuildRequires: %{python_module yarl} BuildRequires: fdupes BuildRequires: python-rpm-macros -BuildRequires: python2-contextlib2 -BuildRequires: python2-mock -BuildRequires: python3-yarl Requires: python-PyYAML Requires: python-six >= 1.5 Requires: python-wrapt +Requires: python-yarl BuildArch: noarch -%ifpython2 -Requires: python2-contextlib2 -Requires: python2-mock -%endif -%ifpython3 -Requires: python3-yarl -%endif %python_subpackages %description diff --git a/vcrpy-2.1.1.tar.gz b/vcrpy-2.1.1.tar.gz deleted file mode 100644 index 9f717e0..0000000 --- a/vcrpy-2.1.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:27cc696df66d77703eab5cdfa041b2f9877bbf2b54bcd390de89a4be964ca536 -size 71072 diff --git a/vcrpy-4.0.2.tar.gz b/vcrpy-4.0.2.tar.gz new file mode 100644 index 0000000..44dcfd5 --- /dev/null +++ b/vcrpy-4.0.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9740c5b1b63626ec55cefb415259a2c77ce00751e97b0f7f214037baaf13c7bf +size 72385