mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-09-26 22:17:38 +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"
|
SRC_URI[sha256sum] = "7d85cc416e9382e69095b7bdf4afd9e3880418a2413feec7069d533d6b4e31cc"
|
||||||
|
|
||||||
inherit pypi python_setuptools_build_meta
|
inherit pypi python_setuptools_build_meta ptest-python-pytest
|
||||||
|
|
||||||
inherit ptest
|
|
||||||
|
|
||||||
SRC_URI += "file://run-ptest"
|
|
||||||
|
|
||||||
RDEPENDS:${PN}-ptest += "\
|
RDEPENDS:${PN}-ptest += "\
|
||||||
python3-attrs \
|
python3-attrs \
|
||||||
python3-pytest \
|
|
||||||
python3-pytest-subtests \
|
python3-pytest-subtests \
|
||||||
python3-unittest-automake-output \
|
|
||||||
"
|
"
|
||||||
|
|
||||||
do_install_ptest() {
|
do_install_ptest:append() {
|
||||||
cp -rf ${S}/tests/ ${D}${PTEST_PATH}/
|
|
||||||
install ${S}/VERSION ${D}${PTEST_PATH}/
|
install ${S}/VERSION ${D}${PTEST_PATH}/
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user