14
0

- Update to 2.2.1:

* no changelog available
- Enable tests

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-unittest-xml-reporting?expand=0&rev=17
This commit is contained in:
Tomáš Chvátal
2019-03-05 09:52:44 +00:00
committed by Git OBS Bridge
parent 33e2d52b2c
commit 2175a7e1a2
4 changed files with 22 additions and 12 deletions

3
2.2.1.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Mar 5 09:52:29 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 2.2.1:
* no changelog available
- Enable tests
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Dec 4 12:55:38 UTC 2018 - Matej Cepl <mcepl@suse.com> Tue Dec 4 12:55:38 UTC 2018 - Matej Cepl <mcepl@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-unittest-xml-reporting # spec file for package python-unittest-xml-reporting
# #
# 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 # 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,19 +17,22 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_with test
Name: python-unittest-xml-reporting Name: python-unittest-xml-reporting
Version: 2.1.0 Version: 2.2.1
Release: 0 Release: 0
Summary: PyUnit-based test runner with JUnit like XML reporting Summary: PyUnit-based test runner with JUnit like XML reporting
License: LGPL-3.0-or-later License: LGPL-3.0-or-later
Group: Development/Languages/Python Group: Development/Languages/Python
Url: http://github.com/danielfm/unittest-xml-reporting/tree/master/ URL: http://github.com/danielfm/unittest-xml-reporting/tree/master/
Source: https://files.pythonhosted.org/packages/source/u/unittest-xml-reporting/unittest-xml-reporting-%{version}.tar.gz Source: https://github.com/xmlrunner/unittest-xml-reporting/archive/%{version}.tar.gz
BuildRequires: %{python_module lxml}
BuildRequires: %{python_module mock}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six >= 1.4.0} BuildRequires: %{python_module six >= 1.4.0}
BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-six >= 1.4.0 Requires: python-six >= 1.4.0
Provides: python-xmlrunner = %{version}
BuildArch: noarch BuildArch: noarch
%python_subpackages %python_subpackages
@@ -46,14 +49,14 @@ systems, IDEs and continuous integration servers.
%install %install
%python_install %python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%if %{with test}
%check %check
%python_exec setup.py test %python_expand $python -m unittest discover
%endif
%files %{python_files} %files %{python_files}
%defattr(-,root,root,-) %doc README.md
%license LICENSE
%{python_sitelib}/* %{python_sitelib}/*
%changelog %changelog

View File

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