mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
python3-cbor2: 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:
parent
34f3776250
commit
217c9d3d1d
|
|
@ -1,3 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
pytest --automake
|
||||
|
|
@ -4,21 +4,11 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=a79e64179819c7ce293372c059f1dbd8"
|
|||
DEPENDS += "python3-setuptools-scm-native"
|
||||
|
||||
SRC_URI[sha256sum] = "b682820677ee1dbba45f7da11898d2720f92e06be36acec290867d5ebf3d7e09"
|
||||
SRC_URI += " \
|
||||
file://run-ptest \
|
||||
"
|
||||
|
||||
inherit pypi python_setuptools_build_meta ptest
|
||||
|
||||
do_install_ptest() {
|
||||
install -d ${D}${PTEST_PATH}/tests
|
||||
cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
|
||||
}
|
||||
inherit pypi python_setuptools_build_meta ptest-python-pytest
|
||||
|
||||
RDEPENDS:${PN}-ptest += " \
|
||||
python3-hypothesis \
|
||||
python3-pytest \
|
||||
python3-unittest-automake-output \
|
||||
python3-unixadmin \
|
||||
"
|
||||
RDEPENDS:${PN} += " \
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user