mirror of
https://github.com/thead-yocto-mirror/meta-openembedded
synced 2026-07-20 23:07:57 +02:00
python3-decorator: upgrade 5.0.9 -> 5.1.0
Added a function `decoratorx` using the `FunctionMaker` and thus preserving the signature of `__code__` objects. Then fixed three small bugs: - Sphinx was printing a few warnings when building the documentation, as signaled by Tomasz Kłoczko - functions decorated with `decorator.contextmanager` were one-shot, as discovered by Alex Pizarro. - `decorator.decorator` was not passing the kwsyntax argument. Signed-off-by: Zang Ruochen <zangrc.fnst@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
SUMMARY = "Python decorator utilities"
|
||||
DESCRIPTION = "\
|
||||
The aim of the decorator module it to simplify the usage of decorators \
|
||||
for the average programmer, and to popularize decorators by showing \
|
||||
various non-trivial examples. Of course, as all techniques, decorators \
|
||||
can be abused and you should not try to solve every problem with a \
|
||||
decorator, just because you can."
|
||||
|
||||
LICENSE = "BSD-2-Clause"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=be2fd2007972bf96c08af3293d728b22"
|
||||
|
||||
SRC_URI[sha256sum] = "e59913af105b9860aa2c8d3272d9de5a56a4e608db9a2f167a8480b323d529a7"
|
||||
|
||||
inherit pypi setuptools3
|
||||
|
||||
RDEPENDS:${PN} += "\
|
||||
${PYTHON_PN}-stringold \
|
||||
"
|
||||
Reference in New Issue
Block a user