mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
python3-intervals: 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
97db0edb4b
commit
cfaeb648d0
|
|
@ -1,3 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
pytest --automake
|
||||
|
|
@ -7,18 +7,9 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=05f1e16a8e59ce3e9a979e881816c2ab"
|
|||
|
||||
PYPI_PACKAGE := "python-intervals"
|
||||
|
||||
SRC_URI += " \
|
||||
file://run-ptest \
|
||||
"
|
||||
inherit pypi setuptools3 ptest-python-pytest
|
||||
|
||||
inherit pypi setuptools3 ptest
|
||||
|
||||
RDEPENDS:${PN}-ptest += " \
|
||||
python3-pytest \
|
||||
python3-unittest-automake-output \
|
||||
"
|
||||
|
||||
do_install_ptest() {
|
||||
do_install_ptest:append () {
|
||||
cp -f ${S}/test_intervals.py ${D}${PTEST_PATH}
|
||||
cp -f ${S}/README.md ${D}${PTEST_PATH}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user