From 2c9f19d7973647a638c0af5e0c2ae99fe0ebf8c9 Mon Sep 17 00:00:00 2001 From: Derek Straka Date: Fri, 17 Jan 2025 18:59:38 +0000 Subject: python3-requests-file: update recipe to use the ptest-python-pytest class Signed-off-by: Derek Straka Signed-off-by: Khem Raj --- .../python/python3-requests-file_2.1.0.bb | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) (limited to 'meta-python/recipes-devtools/python/python3-requests-file_2.1.0.bb') diff --git a/meta-python/recipes-devtools/python/python3-requests-file_2.1.0.bb b/meta-python/recipes-devtools/python/python3-requests-file_2.1.0.bb index 670a36a64c..6e20a10f42 100644 --- a/meta-python/recipes-devtools/python/python3-requests-file_2.1.0.bb +++ b/meta-python/recipes-devtools/python/python3-requests-file_2.1.0.bb @@ -8,24 +8,10 @@ SRC_URI[sha256sum] = "0f549a3f3b0699415ac04d167e9cb39bccfb730cb832b4d20be3d98673 PYPI_PACKAGE = "requests_file" UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" -inherit pypi python_setuptools_build_meta ptest - -SRC_URI += " \ - file://run-ptest \ -" +inherit pypi python_setuptools_build_meta ptest-python-pytest DEPENDS += "python3-setuptools-scm-native" -RDEPENDS:${PN}-ptest += " \ - python3-pytest \ - python3-unittest-automake-output \ -" - -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ -} - RDEPENDS:${PN} += " \ python3-requests \ " -- cgit v1.2.3-54-g00ecf