15
0

- update to 5.1.0:

* Added a function `decoratorx` using the `FunctionMaker` and thus
    preserving the signature of `__code__` objects.
  * Sphinx was printing a few warnings when building the documentation
  * functions decorated with `decorator.contextmanager` were one-shot,
     as discovered by Alex Pizarro.
  * `decorator.decorator` was not passing the kwsyntax argument.
- drop kwsyntax.patch (usptream)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-decorator?expand=0&rev=50
This commit is contained in:
2021-10-16 20:59:00 +00:00
committed by Git OBS Bridge
parent 8bb82246ae
commit 6e9d21f95c
5 changed files with 16 additions and 42 deletions

View File

@@ -21,15 +21,13 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%global skip_python2 1
Name: python-decorator
Version: 5.0.9
Version: 5.1.0
Release: 0
Summary: Decorators for Humans
License: BSD-2-Clause
Group: Development/Languages/Python
URL: https://github.com/micheles/decorator
Source: https://files.pythonhosted.org/packages/source/d/decorator/decorator-%{version}.tar.gz
# PATCH-FIX-UPSTREAM https://github.com/micheles/decorator/commit/817d070db3c9cc5900d118837c533c039982b050 Fixed decorator.decorator not passing kwsyntax
Patch0: kwsyntax.patch
BuildRequires: %{python_module setuptools}
BuildRequires: dos2unix
BuildRequires: fdupes