mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-17 04:37:19 +00:00
python3-xlrd: 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
|
|
||||||
@@ -10,13 +10,12 @@ SRC_URI[sha256sum] = "f72f148f54442c6b056bf931dbc34f986fd0c3b0b6b5a58d013c9aef27
|
|||||||
|
|
||||||
|
|
||||||
SRC_URI = "git://github.com/python-excel/xlrd.git;branch=master;protocol=https \
|
SRC_URI = "git://github.com/python-excel/xlrd.git;branch=master;protocol=https \
|
||||||
file://run-ptest \
|
|
||||||
"
|
"
|
||||||
SRCREV = "b8d573e11ec149da695d695c81a156232b89a949"
|
SRCREV = "b8d573e11ec149da695d695c81a156232b89a949"
|
||||||
|
|
||||||
S = "${WORKDIR}/git"
|
S = "${WORKDIR}/git"
|
||||||
|
|
||||||
inherit ptest setuptools3
|
inherit ptest-python-pytest setuptools3
|
||||||
|
|
||||||
RDEPENDS:${PN} += " \
|
RDEPENDS:${PN} += " \
|
||||||
python3-compression \
|
python3-compression \
|
||||||
@@ -31,9 +30,4 @@ RDEPENDS:${PN}-ptest += " \
|
|||||||
python3-unittest-automake-output \
|
python3-unittest-automake-output \
|
||||||
"
|
"
|
||||||
|
|
||||||
do_install_ptest() {
|
|
||||||
install -d ${D}${PTEST_PATH}/tests
|
|
||||||
cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
|
|
||||||
}
|
|
||||||
|
|
||||||
BBCLASSEXTEND = "native nativesdk"
|
BBCLASSEXTEND = "native nativesdk"
|
||||||
|
|||||||
Reference in New Issue
Block a user