Accepting request 627902 from home:TheBlackCat:branches:devel:languages:python

- update to 1.2.0
  * Added individual test case docstring support and tests 
  * Add nested dict example to docs and cosmetic adjustments

OBS-URL: https://build.opensuse.org/request/show/627902
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ddt?expand=0&rev=14
This commit is contained in:
Todd R 2018-08-07 14:51:28 +00:00 committed by Git OBS Bridge
parent 151975bbf9
commit da958dbef4
4 changed files with 18 additions and 9 deletions

View File

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

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

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

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Aug 7 14:48:44 UTC 2018 - toddrme2178@gmail.com
- update to 1.2.0
* Added individual test case docstring support and tests
* Add nested dict example to docs and cosmetic adjustments
-------------------------------------------------------------------
Wed Aug 2 10:16:07 UTC 2017 - sebix+novell.com@sebix.at

View File

@ -1,7 +1,7 @@
#
# spec file for package python-ddt
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 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
@ -17,9 +17,8 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_without test
Name: python-ddt
Version: 1.1.1
Version: 1.2.0
Release: 0
Summary: Data-Driven/Decorated Tests
License: MIT
@ -28,12 +27,14 @@ Url: https://github.com/txels/ddt
Source: https://files.pythonhosted.org/packages/source/d/ddt/ddt-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
# SECTION test requirements
BuildRequires: %{python_module PyYAML}
BuildRequires: %{python_module mock}
BuildRequires: %{python_module nose}
# /SECTION
BuildArch: noarch
%python_subpackages
@ -48,13 +49,14 @@ A library to multiply test cases.
%install
%{python_install}
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%{python_exec setup.py test}
%python_exec setup.py test
%files %{python_files}
%defattr(-,root,root,-)
%doc CONTRIBUTING.md README.md
%license LICENSE.md
%{python_sitelib}/*
%doc *.md
%changelog