summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-aspectlib_2.0.0.bb
diff options
context:
space:
mode:
authorWang Mingyu <wangmy@fujitsu.com>2023-02-08 16:08:34 +0800
committerKhem Raj <raj.khem@gmail.com>2023-02-08 08:51:44 -0800
commit5df692b1b515fb45e7f0b65659b32420f5d67f02 (patch)
tree0b91ccd7d8e515fcd6760617896e977a8e5f8bd4 /meta-python/recipes-devtools/python/python3-aspectlib_2.0.0.bb
parent585e4da5ab391c859dc0371f5cc0420e5c823a27 (diff)
downloadmeta-openembedded-5df692b1b515fb45e7f0b65659b32420f5d67f02.tar.gz
python3-aspectlib: upgrade 1.5.2 -> 2.0.0
License-Update: Copyright updated to 2022. 0001-Remove-tornado-6-test-constraint.-Ref-15.patch removed since it's not available in 2.0.0. Changelog: ========= Drop support for legacy Pythons (2.7, 3.6 or older). Remove Travis/Appveyor CI and switch to GitHub Actions. Added support for Tornado 6 (in the test suite). Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-aspectlib_2.0.0.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-aspectlib_2.0.0.bb30
1 files changed, 30 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-aspectlib_2.0.0.bb b/meta-python/recipes-devtools/python/python3-aspectlib_2.0.0.bb
new file mode 100644
index 0000000000..416b031c5e
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-aspectlib_2.0.0.bb
@@ -0,0 +1,30 @@
1# Copyright (C) 2021 Khem Raj <raj.khem@gmail.com>
2# Released under the MIT license (see COPYING.MIT for the terms)
3
4SUMMARY = "An aspect-oriented programming, monkey-patch and decorators library."
5DESCRIPTION = " It is useful when changing behavior in existing code is desired. \
6It includes tools for debugging and testing: simple mock/record and a complete capture/replay framework."
7HOMEPAGE = "https://github.com/ionelmc/python-aspectlib"
8LICENSE = "BSD-2-Clause"
9LIC_FILES_CHKSUM = "file://LICENSE;md5=80721ace117fd1f814049ecb81c6be76"
10
11SRC_URI[sha256sum] = "a4b461b9da0b531aebcb93efcde3de808a72c60226dd8d902c467d13faf7ce92"
12
13inherit ptest pypi setuptools3
14
15SRC_URI += "file://run-ptest \
16 "
17
18do_install_ptest() {
19 install -d ${D}${PTEST_PATH}/tests
20 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
21}
22
23RDEPENDS:${PN}-ptest += "\
24 python3-tornado \
25 python3-process-tests \
26"
27
28RDEPENDS:${PN} += "python3-core python3-fields"
29
30BBCLASSEXTEND = "native nativesdk"