mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-04-10 08:18:34 +00:00
python3-flexcache: update recipe to use the ptest-python-pytest class
Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -5,22 +5,10 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=32f547dac365c355d2cdbcd7ebea9144"
|
||||
DEPENDS += "python3-setuptools-scm-native"
|
||||
SRC_URI[sha256sum] = "18743bd5a0621bfe2cf8d519e4c3bfdf57a269c15d1ced3fb4b64e0ff4600656"
|
||||
|
||||
inherit pypi python_setuptools_build_meta ptest
|
||||
inherit pypi python_setuptools_build_meta ptest-python-pytest
|
||||
PYPI_PACKAGE = "flexcache"
|
||||
|
||||
SRC_URI += " \
|
||||
file://run-ptest \
|
||||
"
|
||||
|
||||
RDEPENDS:${PN}-ptest += " \
|
||||
python3-pytest \
|
||||
python3-unittest-automake-output \
|
||||
"
|
||||
|
||||
do_install_ptest() {
|
||||
install -d ${D}${PTEST_PATH}/testsuite
|
||||
cp -rf ${S}/flexcache/testsuite/* ${D}${PTEST_PATH}/testsuite/
|
||||
}
|
||||
PTEST_PYTEST_DIR = "flexcache/testsuite"
|
||||
|
||||
RDEPENDS:${PN} += " \
|
||||
python3-compression \
|
||||
|
||||
Reference in New Issue
Block a user