commit python-bjoern for openSUSE:Factory
Hello community, here is the log from the commit of package python-bjoern for openSUSE:Factory checked in at 2019-05-24 11:33:39 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-bjoern (Old) and /work/SRC/openSUSE:Factory/.python-bjoern.new.5148 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-bjoern" Fri May 24 11:33:39 2019 rev:7 rq:705184 version:3.0.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-bjoern/python-bjoern.changes 2018-03-13 10:25:16.555110396 +0100 +++ /work/SRC/openSUSE:Factory/.python-bjoern.new.5148/python-bjoern.changes 2019-05-24 11:33:40.985359971 +0200 @@ -1,0 +2,25 @@ +Thu May 23 06:17:46 UTC 2019 - pgajdos@suse.com + +- version update to 3.0.0 + * Fix #91: Support for SIGTERM/SIGINT handling + * Fix #144: Proper handling of EAGAIN/EINTR (Adam Bouhenguel) + * Fix #138: Use Latin1 encoding for unicode strings + * Fix #139: Never use chunked responses for HTTP 204 and 304 + * Fix #133: Segmentation fault with very long HTTP headers (@szabolcsbalogh) + * Fix #130: filewrapper must work with any read()able object + * Fix #128: Fix support for io.BytesIO and other pseudo-files + * Fix sendfile on BSD and OSX + * Fix #122: WSGI environ SERVER_PORT is now a str (Simon Biewald) + * Fix #122: WSGI environ SERVER_{PORT,HOST} are now always set (Simon Biewald) + * Fix #125: Missing GIL locking (@szabolcsbalogh) + * Fix Python 2 segfault + * Fix segfault with HTTP header (晏旭瑞) + * Fix segfault with large HTTP header + * Fix Python 3 unicode header handling + * Fix setup.py and `bjoern.version` attribute + * Python 3 support (Hua Yanghao, Isaiah Peng). Note that due to the size + of this update, version 2.0.0 may be less stable than version 1.4.3. +- deleted patches + - reproducible.patch (upstreamed) + +------------------------------------------------------------------- Old: ---- bjoern-1.4.2.tar.gz reproducible.patch New: ---- bjoern-3.0.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-bjoern.spec ++++++ --- /var/tmp/diff_new_pack.0w7JjX/_old 2019-05-24 11:33:41.677359707 +0200 +++ /var/tmp/diff_new_pack.0w7JjX/_new 2019-05-24 11:33:41.685359705 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-bjoern # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 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,42 +12,48 @@ # 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-bjoern -Version: 1.4.2 +Version: 3.0.0 Release: 0 -Summary: A screamingly fast Python WSGI server written in C +Summary: A screamingly fast Python 2 + 3 WSGI server written in C License: BSD-2-Clause Group: Development/Languages/Python Url: https://github.com/jonashaag/bjoern -Source: http://pypi.python.org/packages/source/b/bjoern/bjoern-%{version}.tar.gz -Patch0: reproducible.patch +Source: https://files.pythonhosted.org/packages/source/b/bjoern/bjoern-%{version}.tar.gz +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes BuildRequires: libev-devel -BuildRequires: python-devel -BuildRoot: %{_tmppath}/%{name}-%{version}-build -%if 0%{?suse_version} && 0%{?suse_version} <= 1110 -%{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} -%endif +BuildRequires: python-rpm-macros + +%python_subpackages %description -A screamingly fast Python WSGI server written in C depending on libev. +A screamingly fast Python 2 + 3 WSGI server written in C. %prep %setup -q -n bjoern-%{version} -%patch0 -p1 %build -CFLAGS="%{optflags}" python setup.py build +export CFLAGS="%{optflags}" +%python_build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitearch} -%files -%defattr(-,root,root,-) -%doc LICENSE +%check +# there are no unit tests, but e. g. benchmark tests +# using ab + +%files %{python_files} +%doc CHANGELOG README.rst +%license LICENSE %{python_sitearch}/* %changelog ++++++ bjoern-1.4.2.tar.gz -> bjoern-3.0.0.tar.gz ++++++ ++++ 2914 lines of diff (skipped)
participants (1)
-
root