forked from pool/python-decorator
- 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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user