diff --git a/pytest-cov-2.5.1.tar.gz b/pytest-cov-2.5.1.tar.gz deleted file mode 100644 index 17034ef..0000000 --- a/pytest-cov-2.5.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:03aa752cf11db41d281ea1d807d954c4eda35cfa1b21d6971966cc041bbf6e2d -size 36201 diff --git a/pytest-cov-2.6.0.tar.gz b/pytest-cov-2.6.0.tar.gz new file mode 100644 index 0000000..d26c5e8 --- /dev/null +++ b/pytest-cov-2.6.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e360f048b7dae3f2f2a9a4d067b2dd6b6a015d384d1577c994a43f3f7cbad762 +size 33026 diff --git a/python-pytest-cov.changes b/python-pytest-cov.changes index 61e7b14..7df5fa3 100644 --- a/python-pytest-cov.changes +++ b/python-pytest-cov.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Fri Oct 26 13:25:08 UTC 2018 - Ondřej Súkup + +- 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. + ------------------------------------------------------------------- Sun Sep 24 21:47:40 UTC 2017 - arun@gmx.de diff --git a/python-pytest-cov.spec b/python-pytest-cov.spec index 70065c1..6bfe2ae 100644 --- a/python-pytest-cov.spec +++ b/python-pytest-cov.spec @@ -1,7 +1,7 @@ # # spec file for package python-pytest-cov # -# 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 @@ -12,32 +12,24 @@ # 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/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-pytest-cov -Version: 2.5.1 +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://pypi.io/packages/source/p/pytest-cov/pytest-cov-%{version}.tar.gz -BuildRequires: %{python_module cov-core >= 1.14.0} -BuildRequires: %{python_module coverage >= 3.7.1} -BuildRequires: %{python_module devel} -BuildRequires: %{python_module process-tests} -BuildRequires: %{python_module py >= 1.4.22} -BuildRequires: %{python_module pytest >= 2.6.0} +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: %{python_module virtualenv} +BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-cov-core >= 1.14.0 -Requires: python-coverage >= 3.7.1 -Requires: python-pytest >= 2.6.0 -BuildRoot: %{_tmppath}/%{name}-%{version}-build +Requires: python-coverage >= 4.4 +Requires: python-pytest >= 2.9.0 BuildArch: noarch %python_subpackages @@ -57,14 +49,11 @@ through pytest-cov or through coverage's config file. %install %python_install - -# could not fix this -#%%check -#%%python_expand PYTHONPATH=%%{buildroot}%%{$python_sitelib}:$PWD/tests %%python_exec %%{_bindir}/py.test +%python_expand %fdupes %{buildroot}%{$python_sitelib}/ %files %{python_files} -%defattr(-,root,root,-) -%doc AUTHORS.rst CHANGELOG.rst LICENSE README.rst +%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