mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-09-30 05:07:40 +00:00
python3-smpplib: 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
af70edb33a
commit
b30ddc2259
@ -1,3 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
pytest --automake
|
|
||||||
@ -6,11 +6,7 @@ LIC_FILES_CHKSUM = "file://README.md;md5=8b4e2ac8cf248f7b991784f88b630852"
|
|||||||
PYPI_PACKAGE = "smpplib"
|
PYPI_PACKAGE = "smpplib"
|
||||||
SRC_URI[sha256sum] = "5215a95b0538d26f189600e0982b31da8281f7453cd6e2862c5b21e3e1002331"
|
SRC_URI[sha256sum] = "5215a95b0538d26f189600e0982b31da8281f7453cd6e2862c5b21e3e1002331"
|
||||||
|
|
||||||
inherit pypi setuptools3 ptest
|
inherit pypi setuptools3 ptest-python-pytest
|
||||||
|
|
||||||
SRC_URI += " \
|
|
||||||
file://run-ptest \
|
|
||||||
"
|
|
||||||
|
|
||||||
RDEPENDS:${PN} += " \
|
RDEPENDS:${PN} += " \
|
||||||
python3-logging \
|
python3-logging \
|
||||||
@ -20,12 +16,9 @@ RDEPENDS:${PN} += " \
|
|||||||
RDEPENDS:${PN}-ptest += " \
|
RDEPENDS:${PN}-ptest += " \
|
||||||
python3-mock \
|
python3-mock \
|
||||||
python3-profile \
|
python3-profile \
|
||||||
python3-pytest \
|
|
||||||
python3-unittest \
|
|
||||||
python3-unittest-automake-output \
|
|
||||||
"
|
"
|
||||||
|
|
||||||
do_install_ptest() {
|
do_install_ptest:append() {
|
||||||
install -d ${D}${PTEST_PATH}/tests
|
install -d ${D}${PTEST_PATH}/tests
|
||||||
cp -rf ${S}/smpplib/tests/* ${D}${PTEST_PATH}/tests/
|
cp -rf ${S}/smpplib/tests/* ${D}${PTEST_PATH}/tests/
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user