From a6797bcb84341372fbf8e8a6f361c6b86479547d943622b5e7a43047a5efe938 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Fri, 4 Dec 2020 12:35:24 +0000 Subject: [PATCH] Accepting request 853088 from home:bnavigator:branches:devel:languages:python - Neither pytest-cov nor standalone mock are true BuildRequirements OBS-URL: https://build.opensuse.org/request/show/853088 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-gunicorn?expand=0&rev=46 --- python-gunicorn.changes | 5 +++++ python-gunicorn.spec | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/python-gunicorn.changes b/python-gunicorn.changes index 3de24cc..83ca0f5 100644 --- a/python-gunicorn.changes +++ b/python-gunicorn.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Dec 4 01:58:26 UTC 2020 - Benjamin Greiner + +- Neither pytest-cov nor standalone mock are true BuildRequirements + ------------------------------------------------------------------- Wed Apr 8 14:16:12 UTC 2020 - Marketa Calabkova diff --git a/python-gunicorn.spec b/python-gunicorn.spec index 1b2c0ef..bbd94ff 100644 --- a/python-gunicorn.spec +++ b/python-gunicorn.spec @@ -26,8 +26,6 @@ License: MIT Group: Development/Languages/Python URL: https://gunicorn.org Source: https://files.pythonhosted.org/packages/source/g/gunicorn/gunicorn-%{version}.tar.gz -BuildRequires: %{python_module mock} -BuildRequires: %{python_module pytest-cov} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools >= 3.0} BuildRequires: fdupes @@ -61,6 +59,8 @@ This package contains the documentation. # remove version pinning for test requirements sed -i 's/==.*//' requirements_test.txt sed -i -e '/cover/d' requirements_test.txt +# do not check coverage +sed -i -e 's/--cov[^ ]*//' -e 's/--cov-report[^ ]*//' setup.cfg %build %python_build @@ -90,3 +90,4 @@ sphinx-build -b html -d docs/build/doctrees docs/source docs/build/html %doc README.rst NOTICE THANKS docs/build/html %changelog +