summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-asgiref
diff options
context:
space:
mode:
authorJagadeesh Krishnanjanappa <workjagadeesh@gmail.com>2022-08-23 17:26:00 +0000
committerKhem Raj <raj.khem@gmail.com>2022-08-23 19:12:52 -0700
commita3930e53deb587d506c56c7d52f1ba61255e20d3 (patch)
treed23aae8813ef239c35d7e3f71811edc106dbe212 /meta-python/recipes-devtools/python/python3-asgiref
parent980cdfd0138f7ef266094f373f5450e40e9b911f (diff)
downloadmeta-openembedded-a3930e53deb587d506c56c7d52f1ba61255e20d3.tar.gz
python3-asgiref: add recipe
The default version of python3-django 2.2.x is no longer supported. So, python3-django either 3.x or 4.x should be preferred, that requires python3-asgiref at runtime. More info at https://bugzilla.yoctoproject.org/show_bug.cgi?id=14888 Signed-off-by: Jagadeesh Krishnanjanappa <workjagadeesh@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-asgiref')
-rw-r--r--meta-python/recipes-devtools/python/python3-asgiref/run-ptest3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-asgiref/run-ptest b/meta-python/recipes-devtools/python/python3-asgiref/run-ptest
new file mode 100644
index 0000000000..3385d68939
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-asgiref/run-ptest
@@ -0,0 +1,3 @@
1#!/bin/sh
2
3pytest -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/SKIPED/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}}'