Accepting request 766250 from devel:languages:python

- Update to 1.2.2:
  * use mock only when it is really needed

OBS-URL: https://build.opensuse.org/request/show/766250
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ddt?expand=0&rev=8
This commit is contained in:
Dominique Leuenberger 2020-01-24 13:21:06 +00:00 committed by Git OBS Bridge
commit 9f603801a2
4 changed files with 15 additions and 7 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d13e6af8f36238e89d00f4ebccf2bda4f6d1878be560a6600689e42077e164e3
size 8981

3
ddt-1.2.2.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9f79cf234064cf9b43492b72da35c473de3f03163d37bd13cec5bd8d200dda6b
size 8969

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jan 22 10:35:00 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 1.2.2:
* use mock only when it is really needed
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Mar 7 14:07:30 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com> Thu Mar 7 14:07:30 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package python-ddt # spec file for package python-ddt
# #
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2020 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -17,12 +17,12 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_without python2
Name: python-ddt Name: python-ddt
Version: 1.2.1 Version: 1.2.2
Release: 0 Release: 0
Summary: Data-Driven/Decorated Tests Summary: Data-Driven/Decorated Tests
License: MIT License: MIT
Group: Development/Languages/Python
URL: https://github.com/txels/ddt URL: https://github.com/txels/ddt
Source: https://files.pythonhosted.org/packages/source/d/ddt/ddt-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/d/ddt/ddt-%{version}.tar.gz
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
@ -31,8 +31,10 @@ BuildRequires: python-rpm-macros
BuildArch: noarch BuildArch: noarch
# SECTION test requirements # SECTION test requirements
BuildRequires: %{python_module PyYAML} BuildRequires: %{python_module PyYAML}
BuildRequires: %{python_module mock}
BuildRequires: %{python_module nose} BuildRequires: %{python_module nose}
%if %{with python2}
BuildRequires: python-mock
%endif
# /SECTION # /SECTION
%python_subpackages %python_subpackages