Message ID | 20250117185944.3434424-6-derek@asterius.io |
---|---|
State | Accepted |
Headers | show |
Series | [meta-python,01/10] python3-semver: update recipe to use the ptest-python-pytest class | expand |
diff --git a/meta-python/recipes-devtools/python/python3-pyyaml-include/run-ptest b/meta-python/recipes-devtools/python/python3-pyyaml-include/run-ptest deleted file mode 100755 index 8d2017d39..000000000 --- a/meta-python/recipes-devtools/python/python3-pyyaml-include/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-pyyaml-include_2.2.bb b/meta-python/recipes-devtools/python/python3-pyyaml-include_2.2.bb index a93a2391d..49e643c71 100644 --- a/meta-python/recipes-devtools/python/python3-pyyaml-include_2.2.bb +++ b/meta-python/recipes-devtools/python/python3-pyyaml-include_2.2.bb @@ -7,17 +7,11 @@ SRCREV = "c5be2b7dfc4aaa91e44dbeb6fa42adc80936ef9d" SRC_URI = " \ git://github.com/tanbro/pyyaml-include;protocol=https;branch=main \ - file://run-ptest \ " S = "${WORKDIR}/git" -inherit python_setuptools_build_meta ptest - -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ -} +inherit python_setuptools_build_meta ptest-python-pytest RDEPENDS:${PN} += " \ python3-pyyaml \ @@ -27,7 +21,5 @@ RDEPENDS:${PN}-ptest += " \ python3-fsspec \ python3-aiohttp \ python3-requests \ - python3-pytest \ - python3-unittest-automake-output \ " BBCLASSEXTEND = "native nativesdk"
Signed-off-by: Derek Straka <derek@asterius.io> --- .../python/python3-pyyaml-include/run-ptest | 3 --- .../python/python3-pyyaml-include_2.2.bb | 10 +--------- 2 files changed, 1 insertion(+), 12 deletions(-) delete mode 100755 meta-python/recipes-devtools/python/python3-pyyaml-include/run-ptest