From e78171b7d2ba4cecb868eacefe6d6eca737a025c9125c28f32b945a46fd3ed1c Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Sun, 24 Feb 2019 16:05:20 +0000 Subject: [PATCH] Accepting request 674447 from devel:languages:python:pytest - Update to 1.10.1: * Fix broken links and update README. Also the code is now formatted using black. OBS-URL: https://build.opensuse.org/request/show/674447 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-mock?expand=0&rev=8 --- pytest-mock-1.10.0.tar.gz | 3 --- pytest-mock-1.10.1.tar.gz | 3 +++ python-pytest-mock.changes | 6 ++++++ python-pytest-mock.spec | 10 ++++------ 4 files changed, 13 insertions(+), 9 deletions(-) delete mode 100644 pytest-mock-1.10.0.tar.gz create mode 100644 pytest-mock-1.10.1.tar.gz diff --git a/pytest-mock-1.10.0.tar.gz b/pytest-mock-1.10.0.tar.gz deleted file mode 100644 index 9196bb9..0000000 --- a/pytest-mock-1.10.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d89a8209d722b8307b5e351496830d5cc5e192336003a485443ae9adeb7dd4c0 -size 20754 diff --git a/pytest-mock-1.10.1.tar.gz b/pytest-mock-1.10.1.tar.gz new file mode 100644 index 0000000..ddb9aa4 --- /dev/null +++ b/pytest-mock-1.10.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4d0d06d173eecf172703219a71dbd4ade0e13904e6bbce1ce660e2e0dc78b5c4 +size 22121 diff --git a/python-pytest-mock.changes b/python-pytest-mock.changes index 6800989..93e2be4 100644 --- a/python-pytest-mock.changes +++ b/python-pytest-mock.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Feb 13 09:46:47 UTC 2019 - Tomáš Chvátal + +- Update to 1.10.1: + * Fix broken links and update README. Also the code is now formatted using black. + ------------------------------------------------------------------- Sun May 6 19:35:00 UTC 2018 - arun@gmx.de diff --git a/python-pytest-mock.spec b/python-pytest-mock.spec index ff85519..69f6ef3 100644 --- a/python-pytest-mock.spec +++ b/python-pytest-mock.spec @@ -1,7 +1,7 @@ # # spec file for package python-pytest-mock # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # 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/ # @@ -20,7 +20,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %bcond_without python2 Name: python-pytest-mock -Version: 1.10.0 +Version: 1.10.1 Release: 0 Summary: Thin-wrapper around the mock package for easier use with pytest License: MIT @@ -39,8 +39,6 @@ BuildRequires: %{oldpython}-mock %endif %ifpython2 Requires: %{oldpython}-mock -%else -Recommends: python-mock %endif %python_subpackages @@ -61,8 +59,8 @@ of a test %python_expand %fdupes %{buildroot}%{$python_sitelib} %check +export PYTHONDONTWRITEBYTECODE=1 %python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_version} test_pytest_mock.py -%python_expand rm -rf %{buildroot}%{$python_sitelib}/__pycache__ %files %{python_files} %doc CHANGELOG.rst