From 82b0c7943e6fb695b6c5cb90f04bd7470acf326f Mon Sep 17 00:00:00 2001 From: Derek Straka Date: Thu, 30 Jan 2025 21:57:38 +0000 Subject: python3-dominate: update recipe to use the ptest-python-pytest class Signed-off-by: Derek Straka Signed-off-by: Khem Raj --- .../recipes-devtools/python/python3-dominate/run-ptest | 3 --- .../recipes-devtools/python/python3-dominate_2.9.1.bb | 13 +------------ 2 files changed, 1 insertion(+), 15 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-dominate/run-ptest (limited to 'meta-python/recipes-devtools/python') diff --git a/meta-python/recipes-devtools/python/python3-dominate/run-ptest b/meta-python/recipes-devtools/python/python3-dominate/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-dominate/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-dominate_2.9.1.bb b/meta-python/recipes-devtools/python/python3-dominate_2.9.1.bb index cce304498a..a0dd638087 100644 --- a/meta-python/recipes-devtools/python/python3-dominate_2.9.1.bb +++ b/meta-python/recipes-devtools/python/python3-dominate_2.9.1.bb @@ -4,23 +4,12 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b52f2d57d10c4f7ee67a7eb9615d5d24" SRC_URI[sha256sum] = "558284687d9b8aae1904e3d6051ad132dd4a8c0cf551b37ea4e7e42a31d19dc4" -inherit pypi ptest python_setuptools_build_meta +inherit pypi ptest-python-pytest python_setuptools_build_meta SRC_URI += " \ file://58f7d7fdb171f80ed6ce97e6ca4409723975c47f.patch \ - file://run-ptest \ " -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-numbers \ python3-threading \ -- cgit v1.2.3-54-g00ecf