mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-04-20 11:38:34 +00:00
python3-lz4: 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:
@@ -1,3 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
pytest --automake
|
||||
@@ -9,24 +9,19 @@ DEPENDS += " \
|
||||
python3-pkgconfig-native \
|
||||
"
|
||||
|
||||
SRC_URI += "file://run-ptest"
|
||||
|
||||
SRC_URI[sha256sum] = "01fe674ef2889dbb9899d8a67361e0c4a2c833af5aeb37dd505727cf5d2a131e"
|
||||
|
||||
inherit pkgconfig pypi python_setuptools_build_meta ptest
|
||||
inherit pkgconfig pypi python_setuptools_build_meta ptest-python-pytest
|
||||
|
||||
RDEPENDS:${PN}-ptest += "\
|
||||
python3-coverage \
|
||||
python3-pytest \
|
||||
python3-pytest-cov \
|
||||
python3-pytest-runner \
|
||||
python3-multiprocessing \
|
||||
python3-psutil \
|
||||
python3-unittest-automake-output \
|
||||
"
|
||||
|
||||
do_install_ptest() {
|
||||
cp -rf ${S}/tests/ ${D}${PTEST_PATH}/
|
||||
do_install_ptest:append () {
|
||||
# The stream API is experimental and not enabled yet, so don't ship the test suite
|
||||
rm -rf ${D}${PTEST_PATH}/tests/stream
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user