forked from pool/python-gunicorn
Accepting request 305588 from home:benoit_monin:branches:devel:languages:python
- update to version 19.3.0 - remove python-nose from BuildRequires: unneeded - add python-mock and python-pytest-cov as test dependencies - add python-unittest2 as test dependencies for SLE11 - remove version pinning for test requirements with sed - reenable the tests - move documentation files under the main package docdir OBS-URL: https://build.opensuse.org/request/show/305588 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-gunicorn?expand=0&rev=33
This commit is contained in:
parent
43195bb3a5
commit
e3ea6a9f52
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:82715511fb6246fad4ba66d812eb93416ae8371b464fa88bf3867c9c177daa14
|
|
||||||
size 385155
|
|
3
gunicorn-19.3.0.tar.gz
Normal file
3
gunicorn-19.3.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:8bc835082882ad9a012cd790c460011e4d96bf3512d98a04d3dabbe45393a089
|
||||||
|
size 395381
|
@ -1,3 +1,44 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 6 13:31:17 UTC 2015 - benoit.monin@gmx.fr
|
||||||
|
|
||||||
|
- update to version 19.3.0:
|
||||||
|
* fix: issue 978 make sure a listener is inheritable
|
||||||
|
* add check_config class method to workers
|
||||||
|
* fix: issue 983 fix select timeout in sync worker with multiple
|
||||||
|
connections
|
||||||
|
* allows workers to access to the reloader. close issue 984
|
||||||
|
* raise TypeError instead of AssertionError
|
||||||
|
* make Logger.loglevel a classs attribute
|
||||||
|
* fix: issue 988 fix syntax errors in examples/gunicorn_rc
|
||||||
|
- additional changes from version 19.2.1:
|
||||||
|
* expose loglevel in the Logger class
|
||||||
|
* fix issue 977 fix initial crash
|
||||||
|
* document security mailing-list in the contributing page
|
||||||
|
- additional changes from version 19.2:
|
||||||
|
* optimize the sync workers when listening on a single interface
|
||||||
|
* add –sendfile settings to enable/disable sendfile. fix issue 856
|
||||||
|
* add the selectors module to the code base. issue 886
|
||||||
|
* add –max-requests-jitter setting to set the maximum jitter to
|
||||||
|
add to the max-requests setting
|
||||||
|
* fix issue 899 propagate proxy_protocol_info to keep-alive
|
||||||
|
requests
|
||||||
|
* fix issue 863 worker timeout: dynamic timeout has been removed
|
||||||
|
* fix: Avoid world writable file
|
||||||
|
* fix issue 941 set logconfig default to paster more trivially
|
||||||
|
* add statsd-prefix config setting: set the prefix to use when
|
||||||
|
emitting statsd metrics
|
||||||
|
* issue 832 log to console by default
|
||||||
|
* fix issue 908 make sure the worker can continue to accept
|
||||||
|
requests
|
||||||
|
* fix issue 867 Fix eventlet shutdown to actively shut down the
|
||||||
|
workers
|
||||||
|
- remove python-nose from BuildRequires: unneeded
|
||||||
|
- add python-mock and python-pytest-cov as test dependencies
|
||||||
|
- add python-unittest2 as test dependencies for SLE11
|
||||||
|
- remove version pinning for test requirements with sed
|
||||||
|
- reenable the tests
|
||||||
|
- move documentation files under the main package docdir
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Dec 11 15:00:41 UTC 2014 - axel.braun@gmx.de
|
Thu Dec 11 15:00:41 UTC 2014 - axel.braun@gmx.de
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-gunicorn
|
# spec file for package python-gunicorn
|
||||||
#
|
#
|
||||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: python-gunicorn
|
Name: python-gunicorn
|
||||||
Version: 19.1.1
|
Version: 19.3.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: WSGI HTTP Server for UNIX
|
Summary: WSGI HTTP Server for UNIX
|
||||||
License: MIT
|
License: MIT
|
||||||
@ -27,12 +27,14 @@ Source: http://pypi.python.org/packages/source/g/gunicorn/gunicorn-%{ver
|
|||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-Sphinx
|
BuildRequires: python-Sphinx
|
||||||
BuildRequires: python-devel
|
BuildRequires: python-devel
|
||||||
BuildRequires: python-nose
|
BuildRequires: python-mock
|
||||||
BuildRequires: python-pytest
|
BuildRequires: python-pytest
|
||||||
|
BuildRequires: python-pytest-cov
|
||||||
BuildRequires: python-setuptools
|
BuildRequires: python-setuptools
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
||||||
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||||
|
BuildRequires: python-unittest2
|
||||||
%else
|
%else
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%endif
|
%endif
|
||||||
@ -53,30 +55,39 @@ This package contains Gunicorn documentation in reST and HTML formats.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n gunicorn-%{version}
|
%setup -q -n gunicorn-%{version}
|
||||||
|
# remove version pinning for test requirements
|
||||||
|
sed -i 's/==.*//' requirements_test.txt
|
||||||
|
|
||||||
%build
|
%build
|
||||||
python setup.py build
|
python setup.py build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||||
|
# install documentation and examples
|
||||||
|
mkdir -p %{buildroot}%{_docdir}/%{name}
|
||||||
|
cp -r LICENSE NOTICE README.rst THANKS examples %{buildroot}%{_docdir}/%{name}
|
||||||
cd docs && make SPHINXBUILD=sphinx-build html && rm -r build/html/.buildinfo # Generate HTML documentation
|
cd docs && make SPHINXBUILD=sphinx-build html && rm -r build/html/.buildinfo # Generate HTML documentation
|
||||||
%fdupes -s build/html
|
cp -r build/html %{buildroot}%{_docdir}/%{name}
|
||||||
%fdupes -s examples
|
|
||||||
|
%fdupes %{buildroot}%{_prefix}
|
||||||
|
|
||||||
%if 0%{?suse_version} >= 1210
|
|
||||||
# Fail for SLE
|
|
||||||
%check
|
%check
|
||||||
#python setup.py test
|
python setup.py -q test
|
||||||
%endif
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc LICENSE NOTICE README.rst THANKS
|
%exclude %{_docdir}/%{name}/html
|
||||||
|
%exclude %{_docdir}/%{name}/examples
|
||||||
|
%doc %dir %{_docdir}/%{name}/
|
||||||
|
%doc %{_docdir}/%{name}/*
|
||||||
%{_bindir}/gunicorn*
|
%{_bindir}/gunicorn*
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/*
|
||||||
|
|
||||||
%files doc
|
%files doc
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc docs/build/html examples
|
%doc %dir %{_docdir}/%{name}/html
|
||||||
|
%doc %dir %{_docdir}/%{name}/examples
|
||||||
|
%doc %{_docdir}/%{name}/html/*
|
||||||
|
%doc %{_docdir}/%{name}/examples/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user