Accepting request 642836 from devel:languages:python

- Version update to 19.9.0:
  * Support python 3.7
  * Tornado 5 support
  * Eventlet 0.21 support

OBS-URL: https://build.opensuse.org/request/show/642836
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-gunicorn?expand=0&rev=15
This commit is contained in:
Dominique Leuenberger 2018-10-25 06:13:52 +00:00 committed by Git OBS Bridge
commit f36ccfd894
4 changed files with 20 additions and 15 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:eee1169f0ca667be05db3351a0960765620dad53f53434262ff8901b68a1b622
size 402658

3
gunicorn-19.9.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fa2662097c66f920f53f70621c6c58ca4a3c4d3434205e608e121b5b3b71f4f3
size 415774

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Thu Oct 18 09:59:59 UTC 2018 - Tomáš Chvátal <tchvatal@suse.com>
- Version update to 19.9.0:
* Support python 3.7
* Tornado 5 support
* Eventlet 0.21 support
-------------------------------------------------------------------
Mon Jul 10 23:22:51 UTC 2017 - jengelh@inai.de

View File

@ -1,7 +1,7 @@
#
# spec file for package python-gunicorn
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -12,20 +12,19 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-gunicorn
Version: 19.7.1
Version: 19.9.0
Release: 0
Summary: WSGI HTTP Server for UNIX
License: MIT
Group: Development/Languages/Python
Url: http://gunicorn.org
URL: http://gunicorn.org
Source: https://files.pythonhosted.org/packages/source/g/gunicorn/gunicorn-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module mock}
BuildRequires: %{python_module pytest-cov}
BuildRequires: %{python_module pytest}
@ -35,9 +34,7 @@ BuildRequires: python-rpm-macros
BuildRequires: python3-Sphinx
Requires(post): update-alternatives
Requires(postun): update-alternatives
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%python_subpackages
%description
@ -61,6 +58,7 @@ This package contains the documentation.
%setup -q -n gunicorn-%{version}
# remove version pinning for test requirements
sed -i 's/==.*//' requirements_test.txt
sed -i -e '/cover/d' requirements_test.txt
%build
%python_build
@ -70,7 +68,7 @@ sphinx-build -b html -d docs/build/doctrees docs/source docs/build/html
%python_install
%python_clone -a %{buildroot}%{_bindir}/gunicorn
%python_clone -a %{buildroot}%{_bindir}/gunicorn_paster
%fdupes %{buildroot}%{_prefix}
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%python_exec setup.py test
@ -84,14 +82,13 @@ sphinx-build -b html -d docs/build/doctrees docs/source docs/build/html
%python_uninstall_alternative gunicorn_paster
%files %{python_files}
%defattr(-,root,root,-)
%doc LICENSE
%license LICENSE
%python_alternative %{_bindir}/gunicorn
%python_alternative %{_bindir}/gunicorn_paster
%{python_sitelib}/*
%files -n python-gunicorn-doc
%defattr(-,root,root,-)
%doc LICENSE README.rst NOTICE THANKS docs/build/html
%license LICENSE
%doc README.rst NOTICE THANKS docs/build/html
%changelog