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
This commit is contained in:
Matej Cepl 2020-12-04 12:35:24 +00:00 committed by Git OBS Bridge
parent 82d873b325
commit a6797bcb84
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Dec 4 01:58:26 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
- Neither pytest-cov nor standalone mock are true BuildRequirements
-------------------------------------------------------------------
Wed Apr 8 14:16:12 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>

View File

@ -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