* Also replace ${PYTHON_PN} with python3 Signed-off-by: Tim Orling <tim.orl...@konsulko.com> --- .../recipes-devtools/python/python3-unidiff/run-ptest | 2 +- .../recipes-devtools/python/python3-unidiff_0.7.5.bb | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/meta-python/recipes-devtools/python/python3-unidiff/run-ptest b/meta-python/recipes-devtools/python/python3-unidiff/run-ptest index b63c4de0d9..8d2017d39c 100644 --- a/meta-python/recipes-devtools/python/python3-unidiff/run-ptest +++ b/meta-python/recipes-devtools/python/python3-unidiff/run-ptest @@ -1,3 +1,3 @@ #!/bin/sh -pytest -o log_cli=true -o log_cli_level=INFO | sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPPED/SKIP/g'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print $0}else{print}}' +pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-unidiff_0.7.5.bb b/meta-python/recipes-devtools/python/python3-unidiff_0.7.5.bb index 690acf8634..d77252beac 100644 --- a/meta-python/recipes-devtools/python/python3-unidiff_0.7.5.bb +++ b/meta-python/recipes-devtools/python/python3-unidiff_0.7.5.bb @@ -12,7 +12,8 @@ SRC_URI += " \ " RDEPENDS:${PN}-ptest += " \ - ${PYTHON_PN}-pytest \ + python3-pytest \ + python3-unittest-automake-output \ " do_install_ptest() { @@ -21,6 +22,6 @@ do_install_ptest() { } RDEPENDS:${PN} += " \ - ${PYTHON_PN}-codecs \ - ${PYTHON_PN}-io \ + python3-codecs \ + python3-io \ " -- 2.34.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#108772): https://lists.openembedded.org/g/openembedded-devel/message/108772 Mute This Topic: https://lists.openembedded.org/mt/104404644/21656 Group Owner: openembedded-devel+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-