Accepting request 977875 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/977875
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-mocket?expand=0&rev=22
This commit is contained in:
Dominique Leuenberger 2022-05-18 11:13:12 +00:00 committed by Git OBS Bridge
commit bfcc1f5271
4 changed files with 21 additions and 5 deletions

View File

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

3
mocket-3.10.6.tar.gz Normal file
View File

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

View File

@ -1,3 +1,19 @@
-------------------------------------------------------------------
Wed May 18 06:31:34 UTC 2022 - pgajdos@suse.com
- version update to 3.10.6
No need for the external mock dependency
- deleted patches
- python-mocket-no-mock.patch (upstreamed)
-------------------------------------------------------------------
Tue May 17 13:29:27 UTC 2022 - pgajdos@suse.com
- do not require python-mock for build
- added patches
fix https://github.com/mindflayer/python-mocket/issues/178
+ python-mocket-no-mock.patch
-------------------------------------------------------------------
Mon Apr 25 08:36:19 UTC 2022 - Sebastian Wagner <sebix+novell.com@sebix.at>

View File

@ -27,7 +27,7 @@
%{?!python_module:%define python_module() python3-%{**}}
%define skip_python2 1
Name: python-mocket%{psuffix}
Version: 3.10.5
Version: 3.10.6
Release: 0
Summary: Python socket mock framework
License: BSD-3-Clause
@ -35,6 +35,7 @@ URL: https://github.com/mindflayer/python-mocket
Source0: https://files.pythonhosted.org/packages/source/m/mocket/mocket-%{version}.tar.gz
# PATCH-FIX-OPENSUSE recording-urllib3-brotli.patch -- our urllib has different default headers than upstreams test reference, code@bnavigator.de
Patch0: recording-urllib3-brotli.patch
# https://github.com/mindflayer/python-mocket/issues/178
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@ -57,7 +58,6 @@ BuildRequires: %{python_module cryptography}
BuildRequires: %{python_module decorator}
BuildRequires: %{python_module gevent}
BuildRequires: %{python_module http-parser >= 0.9.0}
BuildRequires: %{python_module mock}
BuildRequires: %{python_module pook}
BuildRequires: %{python_module pyOpenSSL}
BuildRequires: %{python_module pytest}