mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-26 19:47:17 +00:00
python3-html2text: 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:
@@ -1,3 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
pytest --automake
|
|
||||||
@@ -6,22 +6,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
|
|||||||
|
|
||||||
SRC_URI[sha256sum] = "05f8e367d15aaabc96415376776cdd11afd5127a77fce6e36afc60c563ca2c32"
|
SRC_URI[sha256sum] = "05f8e367d15aaabc96415376776cdd11afd5127a77fce6e36afc60c563ca2c32"
|
||||||
|
|
||||||
inherit pypi setuptools3 ptest
|
inherit pypi setuptools3 ptest-python-pytest
|
||||||
|
|
||||||
SRC_URI += " \
|
PTEST_PYTEST_DIR = "test"
|
||||||
file://run-ptest \
|
|
||||||
"
|
|
||||||
|
|
||||||
RDEPENDS:${PN} += "python3-html"
|
RDEPENDS:${PN} += "python3-html"
|
||||||
|
|
||||||
RDEPENDS:${PN}-ptest += " \
|
|
||||||
python3-pytest \
|
|
||||||
python3-unittest-automake-output \
|
|
||||||
"
|
|
||||||
|
|
||||||
do_install_ptest() {
|
|
||||||
install -d ${D}${PTEST_PATH}/test
|
|
||||||
cp -rf ${S}/test/* ${D}${PTEST_PATH}/test/
|
|
||||||
}
|
|
||||||
|
|
||||||
BBCLASSEXTEND = "native nativesdk"
|
BBCLASSEXTEND = "native nativesdk"
|
||||||
|
|||||||
Reference in New Issue
Block a user