14
0
Files
python-unittest-xml-reporting/python-unittest-xml-reporting.spec
Jan Matejek 9283da4cdc Accepting request 520034 from devel:languages:python:singlespec-staging
- Update to version 2.1.0:
  * no changelog available
- singlespec auto-conversion
- update to version 1.12.0:
  * no changelog available
- remove python-xml from requirement
- add new dependency python-six
- add new dependency python-unittest2 for SLE11
- remove sed call on testsuite.py: not needed anymore
- remove LICENSE and README.markdown: not provided anymore
- Update to version 1.7.0
  + No changelog available
- Require python-setuptools instead of distribute (upstreams merged)
- Initial python3 support
- Update to 1.4.3 version:
  * fix indentation problem
- Update to 1.4 version:
  * Refactor Django test runner to clean up imports
  * Allow bool values in TEST_OUTPUT_VERBOSE for backwards-compatibility
  * Fix Django test runner for renamed XMLTestRunner constructor parameter
  * Fixed syntax error on classifiers section.
  * Added support for Python 3.
  * Renamed constructor parameter to make it compatible with the one used
    in unittest.TextTestRunner.
- Added requirement for python-xml
- Initial version

OBS-URL: https://build.opensuse.org/request/show/520034
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-unittest-xml-reporting?expand=0&rev=13
2017-09-01 14:30:05 +00:00

61 lines
1.9 KiB
RPMSpec

#
# spec file for package python-unittest-xml-reporting
#
# Copyright (c) 2017 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# 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/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_with test
Name: python-unittest-xml-reporting
Version: 2.1.0
Release: 0
Summary: PyUnit-based test runner with JUnit like XML reporting
License: LGPL-3.0+
Group: Development/Languages/Python
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
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six >= 1.4.0}
BuildRequires: python-rpm-macros
Requires: python-six >= 1.4.0
BuildArch: noarch
%python_subpackages
%description
unittest-xml-reporting is a unittest test runner that can save test results
to XML files that can be consumed by a wide range of tools, such as build
systems, IDEs and continuous integration servers.
%prep
%setup -q -n unittest-xml-reporting-%{version}
%build
%python_build
%install
%python_install
%if %{with test}
%check
%python_exec setup.py test
%endif
%files %{python_files}
%defattr(-,root,root,-)
%{python_sitelib}/*
%changelog