mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-27 07:57:27 +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 \
|
python3-pkgconfig-native \
|
||||||
"
|
"
|
||||||
|
|
||||||
SRC_URI += "file://run-ptest"
|
|
||||||
|
|
||||||
SRC_URI[sha256sum] = "01fe674ef2889dbb9899d8a67361e0c4a2c833af5aeb37dd505727cf5d2a131e"
|
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 += "\
|
RDEPENDS:${PN}-ptest += "\
|
||||||
python3-coverage \
|
python3-coverage \
|
||||||
python3-pytest \
|
|
||||||
python3-pytest-cov \
|
python3-pytest-cov \
|
||||||
python3-pytest-runner \
|
python3-pytest-runner \
|
||||||
python3-multiprocessing \
|
python3-multiprocessing \
|
||||||
python3-psutil \
|
python3-psutil \
|
||||||
python3-unittest-automake-output \
|
|
||||||
"
|
"
|
||||||
|
|
||||||
do_install_ptest() {
|
do_install_ptest:append () {
|
||||||
cp -rf ${S}/tests/ ${D}${PTEST_PATH}/
|
|
||||||
# The stream API is experimental and not enabled yet, so don't ship the test suite
|
# The stream API is experimental and not enabled yet, so don't ship the test suite
|
||||||
rm -rf ${D}${PTEST_PATH}/tests/stream
|
rm -rf ${D}${PTEST_PATH}/tests/stream
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user