From ff0084c648e337efb500c3b1d895a491ca2be62c Mon Sep 17 00:00:00 2001 From: chedi toueiti Date: Jul 09 2020 07:48:04 +0000 Subject: update to version 2.10.0 --- diff --git a/.gitignore b/.gitignore index 3f996b3..d916186 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,4 @@ /pytest-cov-2.7.1.tar.gz /pytest-cov-2.8.0.tar.gz /pytest-cov-2.8.1.tar.gz +/pytest-cov-2.10.0.tar.gz diff --git a/python-pytest-cov.spec b/python-pytest-cov.spec index e0e3586..d54be21 100644 --- a/python-pytest-cov.spec +++ b/python-pytest-cov.spec @@ -8,46 +8,20 @@ %endif Name: python-%{srcname} -Version: 2.8.1 -Release: 6%{?dist} +Version: 2.10.0 +Release: 1%{?dist} Summary: Pytest plugin for coverage reporting License: MIT URL: https://pypi.python.org/pypi/%{srcname} Source0: https://github.com/pytest-dev/%{srcname}/archive/v%{version}/%{srcname}-%{version}.tar.gz -# Python 3.9 support -Patch1: https://github.com/pytest-dev/%{srcname}/commit/32d8c0665ea044f9682a89633d75442d1a4d2dc4.patch - BuildArch: noarch %description Py.test plugin for coverage reporting with support for both centralised and distributed testing, including subprocesses and multiprocessing for Python. - -%if %{with python2} -%package -n python2-%{srcname} -Summary: Pytest plugin for coverage reporting -BuildRequires: python2-devel -BuildRequires: python2-setuptools -# For tests -# Not packaged: python2-fields -#BuildRequires: python2-pytest -#BuildRequires: python2-coverage >= 4.4 -#BuildRequires: python2-fields -#BuildRequires: python2-process-tests -#BuildRequires: python2-six -#BuildRequires: python2-virtualenv -#BuildRequires: python2-pytest-xdist -%{?python_provide:%python_provide python2-%{srcname}} - -%description -n python2-%{srcname} -Py.test plugin for coverage reporting with support for both centralised and -distributed testing, including subprocesses and multiprocessing for Python 2. -%endif - - %package -n python%{python3_pkgversion}-%{srcname} Summary: Pytest plugin for coverage reporting BuildRequires: python%{python3_pkgversion}-devel @@ -66,45 +40,22 @@ BuildRequires: python%{python3_pkgversion}-pytest-xdist Py.test plugin for coverage reporting with support for both centralised and distributed testing, including subprocesses and multiprocessing for Python 3. - %prep %autosetup -p1 -n %{srcname}-%{version} rm -rf *.egg-info - %build -%if %{with python2} -%py2_build -%endif %py3_build - %install %py3_install -%if %{with python2} -%py2_install -%endif - %check -# Python 2 tests have unpackaged dependencies -# test_dist_missing_data needs internet -# test_central_subprocess/dist_subprocess https://github.com/pytest-dev/pytest-cov/issues/90 -# test_subprocess_with_path_aliasing and test_dist_combine_racecondition tries to match strings and fails, mostly version mismatch -# To read a custom pth-file we need to add that path to site-dir, needed for tests at RPM build time echo "import site;site.addsitedir(\"$(pwd)/src\")" > tests/sitecustomize.py export PYTHONPATH="$(pwd)"/build/lib py.test-%{python3_version} -vv \ -k "not test_dist_missing_data and not test_subprocess_with_path_aliasing and not test_dist_combine_racecondition and not central_subprocess and not dist_subprocess" - -%if %{with python2} -%files -n python2-%{srcname} -%license LICENSE -%doc AUTHORS.rst CHANGELOG.rst CONTRIBUTING.rst README.rst -%{python2_sitelib}/* -%endif - %files -n python%{python3_pkgversion}-%{srcname} %license LICENSE %doc AUTHORS.rst CHANGELOG.rst CONTRIBUTING.rst README.rst @@ -112,6 +63,9 @@ py.test-%{python3_version} -vv \ %changelog +* Thu Jul 9 2020 Chedi Toueiti - 2.10.0 +- Update to 2.10.0 + * Sun May 24 2020 Miro HronĨok - 2.8.1-6 - Rebuilt for Python 3.9 diff --git a/sources b/sources index 69e3bc4..b6ffd64 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (pytest-cov-2.8.1.tar.gz) = 63e4180a5e64579c87aada2f5f3afb5bfe4c4d3f4d39d694abebb05c56761b758cb9a5ccc96569acea595b9333412f34be6b1a0e1cea8a9b580694bfa11df303 +SHA512 (pytest-cov-2.10.0.tar.gz) = 4f6e62d41796b53ed07c990bffe08e9f8eeb77b874efc3025754a737685bd494e21ed5985b6ce36293e6d9eecf19c44f5e01bad12d8fff884696dc6fa2ac4f14