Message ID | 20250131013935.3714521-10-derek@asterius.io |
---|---|
State | Accepted |
Headers | show |
Series | [meta-python,01/11] python3-dasbus: update recipe to use the ptest-python-pytest class | expand |
diff --git a/meta-python/recipes-devtools/python/python3-appdirs/run-ptest b/meta-python/recipes-devtools/python/python3-appdirs/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-appdirs/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-appdirs_1.4.4.bb b/meta-python/recipes-devtools/python/python3-appdirs_1.4.4.bb index eab39312ae..bee0b7d815 100644 --- a/meta-python/recipes-devtools/python/python3-appdirs_1.4.4.bb +++ b/meta-python/recipes-devtools/python/python3-appdirs_1.4.4.bb @@ -2,22 +2,10 @@ SUMMARY = "A small Python module for determining appropriate + platform-specific LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=31625363c45eb0c67c630a2f73e438e4" -SRC_URI += " \ - file://run-ptest \ -" - SRC_URI[sha256sum] = "7d5d0167b2b1ba821647616af46a749d1c653740dd0d2415100fe26e27afdf41" -inherit pypi setuptools3 ptest - -RDEPENDS:${PN}-ptest += " \ - python3-pytest \ - python3-unittest-automake-output \ -" +inherit pypi setuptools3 ptest-python-pytest -do_install_ptest() { - install -d ${D}${PTEST_PATH}/test - cp -rf ${S}/test/* ${D}${PTEST_PATH}/test/ -} +PTEST_PYTEST_DIR = "test" BBCLASSEXTEND = "native nativesdk"
Signed-off-by: Derek Straka <derek@asterius.io> --- .../python/python3-appdirs/run-ptest | 3 --- .../python/python3-appdirs_1.4.4.bb | 16 ++-------------- 2 files changed, 2 insertions(+), 17 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-appdirs/run-ptest