mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-07 05:10:20 +00:00
python3-ordered-set: 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 test_ordered_set.py
|
|
||||||
@@ -5,19 +5,9 @@ LIC_FILES_CHKSUM = "file://MIT-LICENSE;md5=3bf5e1ad64c0d99032c3143361fa234e"
|
|||||||
|
|
||||||
SRC_URI[sha256sum] = "694a8e44c87657c59292ede72891eb91d34131f6531463aab3009191c77364a8"
|
SRC_URI[sha256sum] = "694a8e44c87657c59292ede72891eb91d34131f6531463aab3009191c77364a8"
|
||||||
|
|
||||||
inherit pypi python_flit_core ptest
|
inherit pypi python_flit_core ptest-python-pytest
|
||||||
|
|
||||||
|
PTEST_PYTEST_DIR = "test"
|
||||||
|
|
||||||
DEPENDS += "python3-pytest-runner-native"
|
DEPENDS += "python3-pytest-runner-native"
|
||||||
|
|
||||||
SRC_URI += " \
|
|
||||||
file://run-ptest \
|
|
||||||
"
|
|
||||||
|
|
||||||
RDEPENDS:${PN}-ptest += " \
|
|
||||||
python3-pytest \
|
|
||||||
python3-unittest-automake-output \
|
|
||||||
"
|
|
||||||
|
|
||||||
do_install_ptest() {
|
|
||||||
cp -f ${S}/test/test_ordered_set.py ${D}${PTEST_PATH}/
|
|
||||||
}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user