forked from pool/python-mocket
Accepting request 918466 from devel:languages:python
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/918466 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-mocket?expand=0&rev=15
This commit is contained in:
commit
497ed31558
@ -1,13 +0,0 @@
|
||||
Index: mocket-3.9.42/mocket/mocket.py
|
||||
===================================================================
|
||||
--- mocket-3.9.42.orig/mocket/mocket.py
|
||||
+++ mocket-3.9.42/mocket/mocket.py
|
||||
@@ -628,7 +628,7 @@ class Mocketizer(object):
|
||||
t(*args, **kw)
|
||||
return wrapper
|
||||
|
||||
- return decorator.decorator(wrapper, test)
|
||||
+ return decorator.decorator(wrapper, test, kwsyntax=True)
|
||||
|
||||
|
||||
mocketize = Mocketizer.wrap
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:503937cc2480ba1a5c119b74c754d1b102eb126a90c34de50d9fb4eb975d74ef
|
||||
size 74470
|
3
mocket-3.9.44.tar.gz
Normal file
3
mocket-3.9.44.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a1e0d8ce14b3517c6d62170b8d7026b22d6ff6f639a8213f53d60e631750c6b8
|
||||
size 74446
|
@ -1,3 +1,20 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Sep 4 18:19:20 UTC 2021 - Sebastian Wagner <sebix+novell.com@sebix.at>
|
||||
|
||||
- remove obsolete kwsyntax.patch.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Sep 4 18:10:11 UTC 2021 - Sebastian Wagner <sebix+novell.com@sebix.at>
|
||||
|
||||
- Update to version 3.9.44:
|
||||
- Update __init__.py
|
||||
- Removing the constraint for `decorator`.
|
||||
- Update __init__.py (#155)
|
||||
- Patch from PR #150 (Refactored the mocketize decorator) (#153)
|
||||
* Patch from PR #150. Thanks to @micheles form the hints.
|
||||
* Complete refactor for using `decorator>=5`.
|
||||
- Update README.rs
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 5 15:22:22 UTC 2021 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
|
@ -26,21 +26,20 @@
|
||||
%bcond_with test
|
||||
%endif
|
||||
Name: python-mocket%{psuffix}
|
||||
Version: 3.9.42
|
||||
Version: 3.9.44
|
||||
Release: 0
|
||||
Summary: Python socket mock framework
|
||||
License: BSD-3-Clause
|
||||
URL: https://github.com/mindflayer/python-mocket
|
||||
Source0: https://files.pythonhosted.org/packages/source/m/mocket/mocket-%{version}.tar.gz
|
||||
Patch0: kwsyntax.patch
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-decorator
|
||||
Requires: python-decorator >= 4
|
||||
Requires: python-http-parser >= 0.9.0
|
||||
Requires: python-python-magic
|
||||
Requires: python-python-magic >= 0.4.5
|
||||
Requires: python-six
|
||||
Requires: python-urllib3
|
||||
Requires: python-urllib3 >= 1.25.3
|
||||
Suggests: python-gevent
|
||||
Suggests: python-pook >= 0.2.1
|
||||
Suggests: python-redis
|
||||
@ -81,7 +80,6 @@ included, with gevent/asyncio/SSL support.
|
||||
|
||||
%prep
|
||||
%setup -q -n mocket-%{version}
|
||||
%autopatch -p1
|
||||
sed -i '/cov/ d' setup.cfg
|
||||
sed -i '/pipenv/ d' setup.py
|
||||
sed -i 's/==.*$//' requirements.txt
|
||||
|
Loading…
Reference in New Issue
Block a user