Message ID | 20250117225902.4103075-1-derek@asterius.io |
---|---|
State | Accepted |
Headers | show |
Series | [meta-python,1/4] python3-polyline: update recipe to use the ptest-python-pytest class | expand |
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 8d2017d39..000000000 --- a/meta-python/recipes-devtools/python/python3-polyline/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -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 00cb51be4..a91ceb76e 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" SRC_URI[sha256sum] = "10541e759c5fd51f746ee304e9af94744089a4055b6257b293b3afd1df64e369" -inherit pypi python_setuptools_build_meta ptest +inherit pypi python_setuptools_build_meta ptest-python-pytest RDEPENDS:${PN} += "python3-six" BBCLASSEXTEND = "native nativesdk" -SRC_URI += " \ - file://run-ptest \ -" - -RDEPENDS:${PN}-ptest += " \ - python3-pytest \ - python3-unittest-automake-output \ -" - -do_install_ptest() { - install -d ${D}${PTEST_PATH}/test - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/test/ -}
Signed-off-by: Derek Straka <derek@asterius.io> --- .../python/python3-polyline/run-ptest | 3 --- .../python/python3-polyline_2.0.2.bb | 15 +-------------- 2 files changed, 1 insertion(+), 17 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-polyline/run-ptest