]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
python3-jinja2: use python3-unittest-automake-output
authorRoss Burton <ross.burton@arm.com>
Tue, 21 Mar 2023 12:37:37 +0000 (12:37 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 21 Mar 2023 22:40:45 +0000 (22:40 +0000)
Instead of using sed to reformat the output use this new module.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/python/python3-jinja2/run-ptest
meta/recipes-devtools/python/python3-jinja2_3.1.2.bb

index 5cec711696837879fa6941f0495605ee33bf9645..8d2017d39ce45b0906c22b4301baaab415bed505 100644 (file)
@@ -1,3 +1,3 @@
 #!/bin/sh
 
-pytest
+pytest --automake
index 80e0b85670181d836bf81d78cf4951b2866201a5..cd248cc0b4f3ad6cb9ca543c9d3b78fd5258cb85 100644 (file)
@@ -12,8 +12,7 @@ CVE_PRODUCT = "jinja2 jinja"
 
 CLEANBROKEN = "1"
 
-inherit pypi setuptools3
-inherit ${@bb.utils.filter('DISTRO_FEATURES', 'ptest', d)}
+inherit pypi setuptools3 ptest
 
 SRC_URI += " \
        file://run-ptest \
@@ -25,9 +24,10 @@ do_install_ptest() {
 }
 
 RDEPENDS:${PN}-ptest += " \
-       ${PYTHON_PN}-pytest \
-        ${PYTHON_PN}-toml \
-       ${PYTHON_PN}-unixadmin \
+    ${PYTHON_PN}-pytest \
+    ${PYTHON_PN}-unittest-automake-output \
+    ${PYTHON_PN}-toml \
+    ${PYTHON_PN}-unixadmin \
 "
 
 RDEPENDS:${PN} += " \