diff --git a/pytest-cov-1.8.1.tar.gz b/pytest-cov-1.8.1.tar.gz deleted file mode 100644 index a66db68..0000000 --- a/pytest-cov-1.8.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:31e5198c06f290e1e813d30ddd063a0401d9e3a698129ca44267781673a71285 -size 8649 diff --git a/pytest-cov-2.2.0.tar.gz b/pytest-cov-2.2.0.tar.gz new file mode 100644 index 0000000..41570d5 --- /dev/null +++ b/pytest-cov-2.2.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2231d43f07760d6904dadceabca53ab16ef95ba58fff393861b64c0cab96c9d1 +size 29965 diff --git a/python-pytest-cov.changes b/python-pytest-cov.changes index 89ef711..4b01412 100644 --- a/python-pytest-cov.changes +++ b/python-pytest-cov.changes @@ -1,3 +1,38 @@ +------------------------------------------------------------------- +Thu Oct 22 13:53:36 UTC 2015 - toddrme2178@gmail.com + +- Update to version 2.2.0 + * Added support for changing working directory in tests. + Previously changing working directory would disable coverage + measurements in suprocesses. + * Fixed broken handling for --cov-report=annotate. +- Update to version 2.1.0 + * Added support for coverage 4.0b2. + * Added the --cov-append command line options. + Contributed by Christian Ledermann in PR#80. +- Update to version 2.0.0 + * Added --cov-fail-under, akin to the new fail_under option in + coverage-4.0 (automatically activated if there’s a + [report] fail_under = ... in .coveragerc). + * Changed --cov-report=term to automatically upgrade to + --cov-report=term-missing if there’s + [run] show_missing = True in .coveragerc. + * Changed --cov so it can be used with no path argument + (in wich case the source settings from .coveragerc will + be used instead). + * Fixed .pth installation to work in all cases + (install, easy_install, wheels, develop etc). + * Fixed .pth uninstallation to work for wheel installs. + * Support for coverage 4.0. + * Data file suffixing changed to use coverage’s + data_suffix=True option (instead of the custom suffixing). + * Avoid warning about missing coverage data + (just like coverage.control.process_startup). + * Fixed a race condition when running with xdist + (all the workers tried to combine the files). + It’s possible that this issue is not present in + pytest-cov 1.8.X. + ------------------------------------------------------------------- Tue May 12 11:12:31 UTC 2015 - benoit.monin@gmx.fr diff --git a/python-pytest-cov.spec b/python-pytest-cov.spec index 49c903e..aef7e8e 100644 --- a/python-pytest-cov.spec +++ b/python-pytest-cov.spec @@ -17,20 +17,23 @@ Name: python-pytest-cov -Version: 1.8.1 +Version: 2.2.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.python.org/packages/source/p/pytest-cov/pytest-cov-%{version}.tar.gz +BuildRequires: python-coverage >= 3.7.1 BuildRequires: python-cov-core >= 1.14.0 BuildRequires: python-devel BuildRequires: python-pytest >= 2.6.0 BuildRequires: python-setuptools # Test requirements: +BuildRequires: python-process-tests BuildRequires: python-py >= 1.4.22 BuildRequires: python-virtualenv +Requires: python-coverage >= 3.7.1 Requires: python-cov-core >= 1.14.0 Requires: python-pytest >= 2.6.0 BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -57,11 +60,13 @@ python setup.py build python setup.py install --prefix=%{_prefix} --root=%{buildroot} %check -python test_pytest_cov.py +pushd tests +PYTHONPATH=%{buildroot}%{python_sitelib} python test_pytest_cov.py +popd %files %defattr(-,root,root,-) -%doc LICENSE.txt README.rst +%doc AUTHORS.rst CHANGELOG.rst LICENSE README.rst %{python_sitelib}/* %changelog