mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-09-29 04:30:41 +00:00
python3-inflection: 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
eca7d51ec4
commit
6c26365bf0
@ -1,4 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
pytest --automake
|
|
||||||
|
|
||||||
@ -6,18 +6,9 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=2fb6fa1a6f1792d78de19ad1bb653c31"
|
|||||||
|
|
||||||
SRC_URI[sha256sum] = "1a29730d366e996aaacffb2f1f1cb9593dc38e2ddd30c91250c6dde09ea9b417"
|
SRC_URI[sha256sum] = "1a29730d366e996aaacffb2f1f1cb9593dc38e2ddd30c91250c6dde09ea9b417"
|
||||||
|
|
||||||
inherit pypi setuptools3 ptest
|
inherit pypi setuptools3 ptest-python-pytest
|
||||||
|
|
||||||
SRC_URI +=" \
|
do_install_ptest:append () {
|
||||||
file://run-ptest \
|
|
||||||
"
|
|
||||||
|
|
||||||
RDEPENDS:${PN}-ptest +=" \
|
|
||||||
python3-pytest \
|
|
||||||
python3-unittest-automake-output \
|
|
||||||
"
|
|
||||||
|
|
||||||
do_install_ptest() {
|
|
||||||
cp -f ${S}/test_inflection.py ${D}${PTEST_PATH}/
|
cp -f ${S}/test_inflection.py ${D}${PTEST_PATH}/
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user