mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-07-19 15:29:08 +02:00

* ptest RDEPENDS on pytest * Use python3-unittest-automake-output instead of using sed to reformat the output use this new module. Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
33 lines
1.0 KiB
BlitzBasic
33 lines
1.0 KiB
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-process-tests \
|
|
python3-pytest \
|
|
python3-tornado \
|
|
python3-unittest-automake-output \
|
|
"
|
|
|
|
RDEPENDS:${PN} += "python3-core python3-fields"
|
|
|
|
BBCLASSEXTEND = "native nativesdk"
|