From b7693d4bad96ee27c2559a591373332378f30ec9fbfff1b3b2996f4f9005d54d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Sat, 7 Mar 2020 14:20:23 +0000 Subject: [PATCH] - Update to 8.3.0: * cherrypy/cherrypy#910 via #243: Provide TLS-related details via WSGI environment interface. * #248: Fix parsing of the --bind CLI option for abstract UNIX sockets. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cheroot?expand=0&rev=22 --- cheroot-8.2.1.tar.gz | 3 --- cheroot-8.3.0.tar.gz | 3 +++ python-cheroot.changes | 9 +++++++++ python-cheroot.spec | 19 ++++++++++--------- 4 files changed, 22 insertions(+), 12 deletions(-) delete mode 100644 cheroot-8.2.1.tar.gz create mode 100644 cheroot-8.3.0.tar.gz diff --git a/cheroot-8.2.1.tar.gz b/cheroot-8.2.1.tar.gz deleted file mode 100644 index 74271e8..0000000 --- a/cheroot-8.2.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5b525b3e4a755adf78070ab54c1821fb860d4255a9317dba2b88eb2df2441cff -size 89470 diff --git a/cheroot-8.3.0.tar.gz b/cheroot-8.3.0.tar.gz new file mode 100644 index 0000000..effa02a --- /dev/null +++ b/cheroot-8.3.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a0577e1f28661727d472671a7cc4e0c12ea0cbc5220265e70f00a8b8cb628931 +size 100557 diff --git a/python-cheroot.changes b/python-cheroot.changes index 947a1cb..f2c0444 100644 --- a/python-cheroot.changes +++ b/python-cheroot.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Sat Mar 7 14:09:21 UTC 2020 - Tomáš Chvátal + +- Update to 8.3.0: + * cherrypy/cherrypy#910 via #243: Provide TLS-related + details via WSGI environment interface. + * #248: Fix parsing of the --bind CLI option + for abstract UNIX sockets. + ------------------------------------------------------------------- Wed Oct 23 13:38:06 UTC 2019 - Marketa Calabkova diff --git a/python-cheroot.spec b/python-cheroot.spec index ddb1faf..e3cff47 100644 --- a/python-cheroot.spec +++ b/python-cheroot.spec @@ -1,7 +1,7 @@ # # spec file for package python-cheroot # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,17 +19,18 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define pypi_name cheroot Name: python-%{pypi_name} -Version: 8.2.1 +Version: 8.3.0 Release: 0 Summary: Pure-python HTTP server License: BSD-3-Clause -URL: https://github.com/cherrypy/%{pypi_name} +URL: https://github.com/cherrypy/cheroot Source: https://files.pythonhosted.org/packages/source/c/%{pypi_name}/%{pypi_name}-%{version}.tar.gz BuildRequires: %{python_module jaraco.functools} +BuildRequires: %{python_module jaraco.text >= 3.1} BuildRequires: %{python_module more-itertools >= 2.6} BuildRequires: %{python_module pyOpenSSL} -BuildRequires: %{python_module pytest >= 2.8} -BuildRequires: %{python_module pytest-mock >= 1.10.4} +BuildRequires: %{python_module pytest >= 4.6} +BuildRequires: %{python_module pytest-mock >= 1.11.0} BuildRequires: %{python_module requests-unixsocket} BuildRequires: %{python_module requests} BuildRequires: %{python_module setuptools >= 34.4} @@ -43,9 +44,6 @@ BuildRequires: python-rpm-macros Requires: python-jaraco.functools Requires: python-more-itertools >= 2.6 Requires: python-six >= 1.11.0 -%ifpython2 -Requires: python-backports.functools_lru_cache -%endif # the package and distribution name is lowercase-cheroot, # but PyPI claims the name is capital-Cheroot # *smacks head against desk* @@ -54,6 +52,9 @@ BuildArch: noarch %ifpython2 Requires: python-backports.functools_lru_cache %endif +%ifpython2 +Requires: python-backports.functools_lru_cache +%endif %python_subpackages %description @@ -62,7 +63,7 @@ Cheroot is the pure-Python HTTP server used by CherryPy. %prep %autosetup -n cheroot-%{version} -p1 # do not require cov/xdist/etc -sed -i -e '/addopts/d' pytest.ini +rm pytest.ini %build %python_build