diff --git a/kwsyntax.patch b/kwsyntax.patch deleted file mode 100644 index e1ba1c2..0000000 --- a/kwsyntax.patch +++ /dev/null @@ -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 diff --git a/mocket-3.9.42.tar.gz b/mocket-3.9.42.tar.gz deleted file mode 100644 index 23a3346..0000000 --- a/mocket-3.9.42.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:503937cc2480ba1a5c119b74c754d1b102eb126a90c34de50d9fb4eb975d74ef -size 74470 diff --git a/mocket-3.9.44.tar.gz b/mocket-3.9.44.tar.gz new file mode 100644 index 0000000..3831f08 --- /dev/null +++ b/mocket-3.9.44.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a1e0d8ce14b3517c6d62170b8d7026b22d6ff6f639a8213f53d60e631750c6b8 +size 74446 diff --git a/python-mocket.changes b/python-mocket.changes index df61448..0b3bc2e 100644 --- a/python-mocket.changes +++ b/python-mocket.changes @@ -1,3 +1,20 @@ +------------------------------------------------------------------- +Sat Sep 4 18:19:20 UTC 2021 - Sebastian Wagner + +- remove obsolete kwsyntax.patch. + +------------------------------------------------------------------- +Sat Sep 4 18:10:11 UTC 2021 - Sebastian Wagner + +- 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á diff --git a/python-mocket.spec b/python-mocket.spec index fad8d4a..971bff8 100644 --- a/python-mocket.spec +++ b/python-mocket.spec @@ -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