mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
python3-tzdata: 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
9d3ffd74b9
commit
d61a246a55
|
|
@ -1,3 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
pytest --automake
|
||||
|
|
@ -6,20 +6,13 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=fca9fd5c15a28eb874ba38577a585d48 \
|
|||
|
||||
SRC_URI[sha256sum] = "7d85cc416e9382e69095b7bdf4afd9e3880418a2413feec7069d533d6b4e31cc"
|
||||
|
||||
inherit pypi python_setuptools_build_meta
|
||||
|
||||
inherit ptest
|
||||
|
||||
SRC_URI += "file://run-ptest"
|
||||
inherit pypi python_setuptools_build_meta ptest-python-pytest
|
||||
|
||||
RDEPENDS:${PN}-ptest += "\
|
||||
python3-attrs \
|
||||
python3-pytest \
|
||||
python3-pytest-subtests \
|
||||
python3-unittest-automake-output \
|
||||
"
|
||||
|
||||
do_install_ptest() {
|
||||
cp -rf ${S}/tests/ ${D}${PTEST_PATH}/
|
||||
do_install_ptest:append() {
|
||||
install ${S}/VERSION ${D}${PTEST_PATH}/
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user