diff --git a/gunicorn-19.1.1.tar.gz b/gunicorn-19.1.1.tar.gz deleted file mode 100644 index 46ba86f..0000000 --- a/gunicorn-19.1.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:82715511fb6246fad4ba66d812eb93416ae8371b464fa88bf3867c9c177daa14 -size 385155 diff --git a/gunicorn-19.3.0.tar.gz b/gunicorn-19.3.0.tar.gz new file mode 100644 index 0000000..2176761 --- /dev/null +++ b/gunicorn-19.3.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8bc835082882ad9a012cd790c460011e4d96bf3512d98a04d3dabbe45393a089 +size 395381 diff --git a/python-gunicorn.changes b/python-gunicorn.changes index 513ab8e..c0615e4 100644 --- a/python-gunicorn.changes +++ b/python-gunicorn.changes @@ -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 diff --git a/python-gunicorn.spec b/python-gunicorn.spec index df1ed88..a7cb225 100644 --- a/python-gunicorn.spec +++ b/python-gunicorn.spec @@ -1,7 +1,7 @@ # # 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 # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: python-gunicorn -Version: 19.1.1 +Version: 19.3.0 Release: 0 Summary: WSGI HTTP Server for UNIX License: MIT @@ -27,12 +27,14 @@ Source: http://pypi.python.org/packages/source/g/gunicorn/gunicorn-%{ver BuildRequires: fdupes BuildRequires: python-Sphinx BuildRequires: python-devel -BuildRequires: python-nose +BuildRequires: python-mock BuildRequires: python-pytest +BuildRequires: python-pytest-cov BuildRequires: python-setuptools BuildRoot: %{_tmppath}/%{name}-%{version}-build %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()")} +BuildRequires: python-unittest2 %else BuildArch: noarch %endif @@ -53,30 +55,39 @@ This package contains Gunicorn documentation in reST and HTML formats. %prep %setup -q -n gunicorn-%{version} +# remove version pinning for test requirements +sed -i 's/==.*//' requirements_test.txt %build python setup.py build %install 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 -%fdupes -s build/html -%fdupes -s examples +cp -r build/html %{buildroot}%{_docdir}/%{name} + +%fdupes %{buildroot}%{_prefix} -%if 0%{?suse_version} >= 1210 -# Fail for SLE %check -#python setup.py test -%endif +python setup.py -q test %files %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* %{python_sitelib}/* %files doc %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