15
0

Accepting request 742156 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/742156
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cheroot?expand=0&rev=9
This commit is contained in:
2019-11-04 16:08:30 +00:00
committed by Git OBS Bridge
4 changed files with 16 additions and 9 deletions

View File

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

3
cheroot-8.2.1.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,14 @@
-------------------------------------------------------------------
Wed Oct 23 13:38:06 UTC 2019 - Marketa Calabkova <mcalabkova@suse.com>
- Update to 8.2.1
* Deprecated use of negative timeouts as alias for infinite timeouts in ThreadPool.stop.
* For OPTION requests, bypass URI as path if it does not appear absolute.
* Workers are now request-based, addressing the long-standing issue with keep-alive connections
* Remove custom setup.cfg parser handling, allowing the project (including sdist)
to build/run on setuptools 41.4. Now building cheroot requires setuptools 30.3 or later
(for declarative config support) and preferably 34.4 or later (as indicated in pyproject.toml).
-------------------------------------------------------------------
Fri Oct 4 11:09:50 UTC 2019 - Marketa Calabkova <mcalabkova@suse.com>

View File

@@ -19,7 +19,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define pypi_name cheroot
Name: python-%{pypi_name}
Version: 7.0.0
Version: 8.2.1
Release: 0
Summary: Pure-python HTTP server
License: BSD-3-Clause
@@ -32,9 +32,9 @@ BuildRequires: %{python_module pytest >= 2.8}
BuildRequires: %{python_module pytest-mock >= 1.10.4}
BuildRequires: %{python_module requests-unixsocket}
BuildRequires: %{python_module requests}
BuildRequires: %{python_module setuptools >= 34.4}
BuildRequires: %{python_module setuptools_scm >= 1.15.0}
BuildRequires: %{python_module setuptools_scm_git_archive >= 1.0}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six >= 1.11.0}
BuildRequires: %{python_module trustme}
BuildRequires: fdupes
@@ -63,10 +63,6 @@ Cheroot is the pure-Python HTTP server used by CherryPy.
%autosetup -n cheroot-%{version} -p1
# do not require cov/xdist/etc
sed -i -e '/addopts/d' pytest.ini
for file in "%{pypi_name}.egg-info/requires.txt" "setup.cfg"; do
sed -i "s/backports.functools_lru_cache$/backports.functools_lru_cache ; python_version < '3.3'/" \
"${file}"
done
%build
%python_build