mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
python3-aspectlib: 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
ac5c6a157c
commit
96c9661005
|
|
@ -1,3 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
pytest --automake
|
||||
|
|
@ -10,21 +10,11 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=80721ace117fd1f814049ecb81c6be76"
|
|||
|
||||
SRC_URI[sha256sum] = "a4b461b9da0b531aebcb93efcde3de808a72c60226dd8d902c467d13faf7ce92"
|
||||
|
||||
inherit ptest pypi setuptools3
|
||||
|
||||
SRC_URI += "file://run-ptest \
|
||||
"
|
||||
|
||||
do_install_ptest() {
|
||||
install -d ${D}${PTEST_PATH}/tests
|
||||
cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
|
||||
}
|
||||
inherit ptest-python-pytest pypi setuptools3
|
||||
|
||||
RDEPENDS:${PN}-ptest += "\
|
||||
python3-process-tests \
|
||||
python3-pytest \
|
||||
python3-tornado \
|
||||
python3-unittest-automake-output \
|
||||
"
|
||||
|
||||
RDEPENDS:${PN} += " \
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user