diff --git a/geventhttpclient-1.4.5.tar.gz b/geventhttpclient-1.4.5.tar.gz deleted file mode 100644 index 2bb9552..0000000 --- a/geventhttpclient-1.4.5.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3f0ab18d84ef26ba0c9df73ae2a41ba30a46072b447f2e36c740400de4a63d44 -size 58183 diff --git a/geventhttpclient-2.0.8.tar.gz b/geventhttpclient-2.0.8.tar.gz new file mode 100644 index 0000000..4380e9f --- /dev/null +++ b/geventhttpclient-2.0.8.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5f782c419643f74be4d0918c0d2b63956ef6ddc7a2127f07cbb8033a75ab366f +size 76142 diff --git a/python-geventhttpclient.changes b/python-geventhttpclient.changes index 4e655fa..200d78e 100644 --- a/python-geventhttpclient.changes +++ b/python-geventhttpclient.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Fri Nov 4 10:52:22 UTC 2022 - pgajdos@suse.com + +- version update to 2.0.8 + * lot of changes, see + https://github.com/geventhttpclient/geventhttpclient/releases +- do not require python-six +- deleted patches + - remove_mock.patch (upstreamed) + ------------------------------------------------------------------- Tue Feb 16 14:50:32 UTC 2021 - Ben Greiner diff --git a/python-geventhttpclient.spec b/python-geventhttpclient.spec index fce4413..bde56bc 100644 --- a/python-geventhttpclient.spec +++ b/python-geventhttpclient.spec @@ -1,7 +1,7 @@ # # spec file for package python-geventhttpclient # -# 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 @@ -16,9 +16,8 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-geventhttpclient -Version: 1.4.5 +Version: 2.0.8 Release: 0 Summary: HTTP client library for gevent License: MIT @@ -27,22 +26,21 @@ URL: https://github.com/gwik/geventhttpclient Source: https://files.pythonhosted.org/packages/source/g/geventhttpclient/geventhttpclient-%{version}.tar.gz # PATCH-FIX-UPSTREAM remove_mock.patch gh#gwik/geventhttpclient#135 mcepl@suse.com # remove dependency on the external module mock -Patch0: remove_mock.patch +BuildRequires: %{python_module Brotli} BuildRequires: %{python_module certifi} BuildRequires: %{python_module devel} BuildRequires: %{python_module dpkt} BuildRequires: %{python_module gevent} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module six} %if 0%{?suse_version} <= 1500 BuildRequires: python-mock %endif BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires: python-Brotli Requires: python-certifi Requires: python-gevent -Requires: python-six %python_subpackages %description @@ -74,7 +72,8 @@ sed -i '/sock.last_seen_sni/ d' src/geventhttpclient/tests/test_ssl.py %files %{python_files} %doc README.mdown -%license LICENSE-MIT -%{python_sitearch}/* +%license LICENSE.txt +%{python_sitearch}/geventhttpclient +%{python_sitearch}/geventhttpclient-%{version}*-info %changelog diff --git a/remove_mock.patch b/remove_mock.patch deleted file mode 100644 index e0e5604..0000000 --- a/remove_mock.patch +++ /dev/null @@ -1,21 +0,0 @@ ---- a/src/geventhttpclient/tests/test_ssl.py -+++ b/src/geventhttpclient/tests/test_ssl.py -@@ -1,5 +1,7 @@ --import mock --from mock import patch, Mock -+try: -+ import unittest.mock as mock -+except ImportError: -+ import mock - - import dpkt.ssl - import six -@@ -117,7 +119,7 @@ def _get_sni_sent_from_client(**addition - ('127.0.0.1', server_port) - ) - with mock.patch( -- 'gevent.socket.getaddrinfo', Mock(return_value=[mock_addrinfo]) -+ 'gevent.socket.getaddrinfo', mock.Mock(return_value=[mock_addrinfo]) - ): - - server_host = 'some_foo'