meta-openembedded/meta-python/recipes-devtools/python/python3-aspectlib_2.0.0.bb
Wang Mingyu 5df692b1b5 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>
2023-02-08 08:51:44 -08:00

31 lines
985 B
BlitzBasic

# Copyright (C) 2021 Khem Raj <raj.khem@gmail.com>
# Released under the MIT license (see COPYING.MIT for the terms)
SUMMARY = "An aspect-oriented programming, monkey-patch and decorators library."
DESCRIPTION = " It is useful when changing behavior in existing code is desired. \
It includes tools for debugging and testing: simple mock/record and a complete capture/replay framework."
HOMEPAGE = "https://github.com/ionelmc/python-aspectlib"
LICENSE = "BSD-2-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=80721ace117fd1f814049ecb81c6be76"
SRC_URI[sha256sum] = "a4b461b9da0b531aebcb93efcde3de808a72c60226dd8d902c467d13faf7ce92"
inherit ptest pypi setuptools3
SRC_URI += "file://run-ptest \
"
do_install_ptest() {
install -d ${D}${PTEST_PATH}/tests
cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
}
RDEPENDS:${PN}-ptest += "\
python3-tornado \
python3-process-tests \
"
RDEPENDS:${PN} += "python3-core python3-fields"
BBCLASSEXTEND = "native nativesdk"