diff options
author | Khem Raj <raj.khem@gmail.com> | 2021-06-22 15:59:30 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2021-06-23 10:45:31 -0700 |
commit | b32b4347244b043f442b860550c21f78f34f5e5c (patch) | |
tree | 5f465d4cb7340c45f5d808884c75dc73908b41f9 /meta-python/recipes-devtools/python/python3-fastjsonschema | |
parent | fa2d3338fb87a38a66d11735b876ce2320045b0d (diff) | |
download | meta-openembedded-b32b4347244b043f442b860550c21f78f34f5e5c.tar.gz |
meta-python: Add python3-fastjsonschema and its dependencies
python3-fastjsonschema claims to be fastest Python implementation of JSON schema
it however needs additional packages which are also added here, since
they are all dependent, its added in single commit so backporting is
simpler
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-fastjsonschema')
-rw-r--r-- | meta-python/recipes-devtools/python/python3-fastjsonschema/run-ptest | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-fastjsonschema/run-ptest b/meta-python/recipes-devtools/python/python3-fastjsonschema/run-ptest new file mode 100644 index 0000000000..b63c4de0d9 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-fastjsonschema/run-ptest | |||
@@ -0,0 +1,3 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | 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}}' | ||