Files
python-pytest-cov/python-pytest-cov.spec
Dominique Leuenberger 1f7416c3f1 Accepting request 644866 from devel:languages:python:pytest
- update to 2.6.0
- cleanup deps
 * Dropped support for Python < 3.4, Pytest < 3.5 and Coverage < 4.4
 * Fixed some documentation formatting.
 * Added an example with addopts in documentation.
 * Fixed TypeError: 'NoneType' object is not iterable in certain xdist configurations.
 * Added a no_cover marker and fixture.
 * Fixed broken no_cover check when running doctests.
 * Fixed various issues with path normalization in reports
    (when combining coverage data from parallel mode). 
 * Report generation failures don't raise exceptions anymore.
    A warning will be logged instead. (forwarded request 644865 from mimi_vx)

OBS-URL: https://build.opensuse.org/request/show/644866
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-cov?expand=0&rev=9
2018-11-08 08:39:40 +00:00

62 lines
2.0 KiB
RPMSpec

#
# spec file for package python-pytest-cov
#
# 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
# 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 https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pytest-cov
Version: 2.6.0
Release: 0
Summary: Pytest plugin for coverage reporting
License: MIT
Group: Development/Languages/Python
URL: https://github.com/schlamar/pytest-cov
Source: https://files.pythonhosted.org/packages/source/p/pytest-cov/pytest-cov-%{version}.tar.gz
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-coverage >= 4.4
Requires: python-pytest >= 2.9.0
BuildArch: noarch
%python_subpackages
%description
This plugin produces coverage reports. It supports centralised testing
and distributed testing in both load and each modes. It also supports
coverage of subprocesses.
All features offered by the coverage package should be available, either
through pytest-cov or through coverage's config file.
%prep
%setup -q -n pytest-cov-%{version}
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}/
%files %{python_files}
%license LICENSE
%doc AUTHORS.rst CHANGELOG.rst README.rst
%{python_sitelib}/pytest-cov.pth
%{python_sitelib}/pytest_cov
%{python_sitelib}/pytest_cov-%{version}-py%{python_version}.egg-info
%changelog