diff options
| author | Derek Straka <derek@asterius.io> | 2025-01-17 22:58:59 +0000 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-01-17 16:39:42 -0800 |
| commit | af7d47dd2c12fe2c1366508afee43d88c91c1e43 (patch) | |
| tree | 3cd1f313760b90e214e72386918753fcfc5c5e18 | |
| parent | 9e3ab586bd611c017e6e99767f2458cdf262e2ef (diff) | |
| download | meta-openembedded-af7d47dd2c12fe2c1366508afee43d88c91c1e43.tar.gz | |
python3-polyline: update recipe to use the ptest-python-pytest class
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-polyline/run-ptest | 3 | ||||
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-polyline_2.0.2.bb | 15 |
2 files changed, 1 insertions, 17 deletions
diff --git a/meta-python/recipes-devtools/python/python3-polyline/run-ptest b/meta-python/recipes-devtools/python/python3-polyline/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-polyline/run-ptest +++ /dev/null | |||
| @@ -1,3 +0,0 @@ | |||
| 1 | #!/bin/sh | ||
| 2 | |||
| 3 | pytest --automake | ||
diff --git a/meta-python/recipes-devtools/python/python3-polyline_2.0.2.bb b/meta-python/recipes-devtools/python/python3-polyline_2.0.2.bb index 00cb51be41..a91ceb76ee 100644 --- a/meta-python/recipes-devtools/python/python3-polyline_2.0.2.bb +++ b/meta-python/recipes-devtools/python/python3-polyline_2.0.2.bb | |||
| @@ -5,22 +5,9 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=1fb8d1dc685695195bb3c1e48adfef48" | |||
| 5 | 5 | ||
| 6 | SRC_URI[sha256sum] = "10541e759c5fd51f746ee304e9af94744089a4055b6257b293b3afd1df64e369" | 6 | SRC_URI[sha256sum] = "10541e759c5fd51f746ee304e9af94744089a4055b6257b293b3afd1df64e369" |
| 7 | 7 | ||
| 8 | inherit pypi python_setuptools_build_meta ptest | 8 | inherit pypi python_setuptools_build_meta ptest-python-pytest |
| 9 | 9 | ||
| 10 | RDEPENDS:${PN} += "python3-six" | 10 | RDEPENDS:${PN} += "python3-six" |
| 11 | 11 | ||
| 12 | BBCLASSEXTEND = "native nativesdk" | 12 | BBCLASSEXTEND = "native nativesdk" |
| 13 | 13 | ||
| 14 | SRC_URI += " \ | ||
| 15 | file://run-ptest \ | ||
| 16 | " | ||
| 17 | |||
| 18 | RDEPENDS:${PN}-ptest += " \ | ||
| 19 | python3-pytest \ | ||
| 20 | python3-unittest-automake-output \ | ||
| 21 | " | ||
| 22 | |||
| 23 | do_install_ptest() { | ||
| 24 | install -d ${D}${PTEST_PATH}/test | ||
| 25 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/test/ | ||
| 26 | } | ||
