15
0
forked from pool/python-ddt

- Update to 1.2.1:

* Merge pull request #68 from datadriventests/fix-docstring-behavior

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ddt?expand=0&rev=18
This commit is contained in:
Tomáš Chvátal
2019-03-07 14:09:30 +00:00
committed by Git OBS Bridge
parent fd16bc202a
commit b9bbd8b37b
4 changed files with 15 additions and 10 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-ddt
#
# 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
@@ -18,23 +18,22 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-ddt
Version: 1.2.0
Version: 1.2.1
Release: 0
Summary: Data-Driven/Decorated Tests
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
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module PyYAML}
BuildRequires: %{python_module mock}
BuildRequires: %{python_module nose}
# /SECTION
BuildArch: noarch
%python_subpackages
%description
@@ -44,10 +43,10 @@ A library to multiply test cases.
%setup -q -n ddt-%{version}
%build
%{python_build}
%python_build
%install
%{python_install}
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check