Message ID | 20250130215738.3280576-21-derek@asterius.io |
---|---|
State | Accepted |
Headers | show |
Series | [meta-python,01/23] python3-inflection: update recipe to use the ptest-python-pytest class | expand |
diff --git a/meta-python/recipes-devtools/python/python3-execnet/run-ptest b/meta-python/recipes-devtools/python/python3-execnet/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-execnet/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-execnet_2.1.1.bb b/meta-python/recipes-devtools/python/python3-execnet_2.1.1.bb index 94c1a228e3..54c102bec7 100644 --- a/meta-python/recipes-devtools/python/python3-execnet_2.1.1.bb +++ b/meta-python/recipes-devtools/python/python3-execnet_2.1.1.bb @@ -11,21 +11,11 @@ DEPENDS += "\ python3-hatch-vcs-native \ " -SRC_URI += "file://run-ptest \ - " SRC_URI[sha256sum] = "5189b52c6121c24feae288166ab41b32549c7e2348652736540b9e6e7d4e72e3" -inherit ptest pypi python_hatchling +inherit ptest-python-pytest pypi python_hatchling -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/testing/* ${D}${PTEST_PATH}/tests/ -} - -RDEPENDS:${PN}-ptest += "\ - python3-pytest \ - python3-unittest-automake-output \ -" +PTEST_PYTEST_DIR = "testing" RDEPENDS:${PN} += "python3-core python3-crypt python3-ctypes python3-fcntl python3-io python3-shell python3-threading"
Signed-off-by: Derek Straka <derek@asterius.io> --- .../python/python3-execnet/run-ptest | 3 --- .../python/python3-execnet_2.1.1.bb | 14 ++------------ 2 files changed, 2 insertions(+), 15 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-execnet/run-ptest