Accepting request 853097 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/853097
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-gunicorn?expand=0&rev=19
This commit is contained in:
Dominique Leuenberger 2020-12-05 19:35:37 +00:00 committed by Git OBS Bridge
commit e3cfbcc9d8
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