15
0

- Update to 8.6.0:

-  #384 via PR #385, PR #406: Exposed type stubs with
    annotations for public API
  - PR #401 (related to the PR #352 effort): Started reusing the
    the expriration_interval setting in the low-level
        select.select() invocation,
    effectively reducing the system load under the Windows OS
    when idle, that is noticeable on low-end hardware systems
- Removed upstreamed patches
  - cheroot-pr370-py310-threaddeprecations.patch
  - cheroot-pr371-py310-threaddeprecations.patch
  - cheroot-c0b1b167-py310-threaddeprecations.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cheroot?expand=0&rev=40
This commit is contained in:
2022-01-21 17:49:34 +00:00
committed by Git OBS Bridge
parent d437f65ef7
commit 9f895f0a8f
8 changed files with 64 additions and 71 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -27,15 +27,15 @@
%bcond_without python2
%bcond_with ringdisabled
Name: python-%{pypi_name}
Version: 8.5.2
Version: 8.6.0
Release: 0
Summary: Pure-python HTTP server
License: BSD-3-Clause
URL: https://github.com/cherrypy/cheroot
Source: https://files.pythonhosted.org/packages/source/c/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
Patch0: https://github.com/cherrypy/cheroot/pull/370.diff#/cheroot-pr370-py310-threaddeprecations.patch
Patch1: https://github.com/cherrypy/cheroot/pull/371.diff#/cheroot-pr371-py310-threaddeprecations.patch
Patch2: https://github.com/cherrypy/cheroot/commit/0b16749ecdfa064315fc7908f6865071fc33d778.diff#/cheroot-c0b1b167-py310-threaddeprecations.patch
# PATCH-FIX-OPENSUSE no-pypytools.patch mcepl@suse.com
# We don't have PyPy at all, so no need support for it
Patch0: no-pypytools.patch
BuildRequires: %{python_module jaraco.functools}
BuildRequires: %{python_module more-itertools >= 2.6}
BuildRequires: %{python_module setuptools >= 34.4}