diff options
| author | Tim Orling <ticotimo@gmail.com> | 2024-02-16 16:15:40 -0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2024-02-16 16:42:38 -0800 |
| commit | ee5a7f0c38498d9c0d26832701aa85b7877f47db (patch) | |
| tree | 24fc1759501386f6b6b6c1ce34db57e10fd29256 /meta-python | |
| parent | dfbcc2f10dec2dbc18d5342808ce9c8296a9fd90 (diff) | |
| download | meta-openembedded-ee5a7f0c38498d9c0d26832701aa85b7877f47db.tar.gz | |
python3-pillow: switch to pytest --automake
* Also replace ${PYTHON_PN} with python3
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-pillow/run-ptest | 2 | ||||
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-pillow_10.1.0.bb | 21 |
2 files changed, 12 insertions, 11 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pillow/run-ptest b/meta-python/recipes-devtools/python/python3-pillow/run-ptest index 3385d68939..8d2017d39c 100644 --- a/meta-python/recipes-devtools/python/python3-pillow/run-ptest +++ b/meta-python/recipes-devtools/python/python3-pillow/run-ptest | |||
| @@ -1,3 +1,3 @@ | |||
| 1 | #!/bin/sh | 1 | #!/bin/sh |
| 2 | 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/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}}' | 3 | pytest --automake |
diff --git a/meta-python/recipes-devtools/python/python3-pillow_10.1.0.bb b/meta-python/recipes-devtools/python/python3-pillow_10.1.0.bb index 1cc833e1ba..91b02ea017 100644 --- a/meta-python/recipes-devtools/python/python3-pillow_10.1.0.bb +++ b/meta-python/recipes-devtools/python/python3-pillow_10.1.0.bb | |||
| @@ -27,9 +27,9 @@ DEPENDS += " \ | |||
| 27 | " | 27 | " |
| 28 | 28 | ||
| 29 | RDEPENDS:${PN} += " \ | 29 | RDEPENDS:${PN} += " \ |
| 30 | ${PYTHON_PN}-misc \ | 30 | python3-misc \ |
| 31 | ${PYTHON_PN}-logging \ | 31 | python3-logging \ |
| 32 | ${PYTHON_PN}-numbers \ | 32 | python3-numbers \ |
| 33 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'libxcb', '', d)} \ | 33 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'libxcb', '', d)} \ |
| 34 | " | 34 | " |
| 35 | 35 | ||
| @@ -38,13 +38,14 @@ RDEPENDS:${PN}-ptest += " \ | |||
| 38 | ghostscript \ | 38 | ghostscript \ |
| 39 | jpeg-tools \ | 39 | jpeg-tools \ |
| 40 | libwebp \ | 40 | libwebp \ |
| 41 | ${PYTHON_PN}-core \ | 41 | python3-core \ |
| 42 | ${PYTHON_PN}-image \ | 42 | python3-image \ |
| 43 | ${PYTHON_PN}-mmap \ | 43 | python3-mmap \ |
| 44 | ${PYTHON_PN}-pytest \ | 44 | python3-pytest \ |
| 45 | ${PYTHON_PN}-pytest-timeout \ | 45 | python3-pytest-timeout \ |
| 46 | ${PYTHON_PN}-resource \ | 46 | python3-resource \ |
| 47 | ${PYTHON_PN}-unixadmin\ | 47 | python3-unittest-automake-output \ |
| 48 | python3-unixadmin\ | ||
| 48 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'tk', '', d)} \ | 49 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'tk', '', d)} \ |
| 49 | " | 50 | " |
| 50 | 51 | ||
