From 8f87c3d3c22f0f5549e7c0ca1202d7b6ecc65536 Mon Sep 17 00:00:00 2001 From: zangrc Date: Fri, 17 Sep 2021 05:23:09 +0800 Subject: python3-decorator: upgrade 5.0.9 -> 5.1.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Signed-off-by: Khem Raj Signed-off-by: Trevor Gamblin --- .../recipes-devtools/python/python3-decorator_5.0.9.bb | 18 ------------------ .../recipes-devtools/python/python3-decorator_5.1.0.bb | 18 ++++++++++++++++++ 2 files changed, 18 insertions(+), 18 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-decorator_5.0.9.bb create mode 100644 meta-python/recipes-devtools/python/python3-decorator_5.1.0.bb (limited to 'meta-python') diff --git a/meta-python/recipes-devtools/python/python3-decorator_5.0.9.bb b/meta-python/recipes-devtools/python/python3-decorator_5.0.9.bb deleted file mode 100644 index f7594e87e2..0000000000 --- a/meta-python/recipes-devtools/python/python3-decorator_5.0.9.bb +++ /dev/null @@ -1,18 +0,0 @@ -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] = "72ecfba4320a893c53f9706bebb2d55c270c1e51a28789361aa93e4a21319ed5" - -inherit pypi setuptools3 - -RDEPENDS:${PN} += "\ - ${PYTHON_PN}-stringold \ - " diff --git a/meta-python/recipes-devtools/python/python3-decorator_5.1.0.bb b/meta-python/recipes-devtools/python/python3-decorator_5.1.0.bb new file mode 100644 index 0000000000..2e44c3d801 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-decorator_5.1.0.bb @@ -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 \ + " -- cgit 1.2.3-korg