From 38e61c5c8e866990dcba7242b8e8857a3a25128c Mon Sep 17 00:00:00 2001 From: Derek Straka Date: Fri, 10 Jan 2025 22:31:30 +0000 Subject: python3-soupsieve: update recipe to use the ptest-python-pytest class Signed-off-by: Derek Straka Signed-off-by: Khem Raj --- .../recipes-devtools/python/python3-soupsieve/run-ptest | 3 --- meta-python/recipes-devtools/python/python3-soupsieve_2.6.bb | 12 +----------- 2 files changed, 1 insertion(+), 14 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-soupsieve/run-ptest (limited to 'meta-python/recipes-devtools/python') diff --git a/meta-python/recipes-devtools/python/python3-soupsieve/run-ptest b/meta-python/recipes-devtools/python/python3-soupsieve/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-soupsieve/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-soupsieve_2.6.bb b/meta-python/recipes-devtools/python/python3-soupsieve_2.6.bb index dc317ea6c0..dfcd9f4842 100644 --- a/meta-python/recipes-devtools/python/python3-soupsieve_2.6.bb +++ b/meta-python/recipes-devtools/python/python3-soupsieve_2.6.bb @@ -6,11 +6,8 @@ LIC_FILES_CHKSUM = "file://LICENSE.md;md5=1bdfa4c8e8b6830bcf8e78cba1669e4d" SRC_URI[sha256sum] = "e2e68417777af359ec65daac1057404a3c8a5455bb8abc36f1a9866ab1a51abb" -inherit pypi python_hatchling python_setuptools_build_meta ptest +inherit pypi python_hatchling python_setuptools_build_meta ptest-python-pytest -SRC_URI += " \ - file://run-ptest \ -" RDEPENDS:${PN} += " \ python3-core \ python3-datetime \ @@ -21,13 +18,6 @@ RDEPENDS:${PN}:append:class-target = " \ RDEPENDS:${PN}-ptest += " \ python3-beautifulsoup4 \ - python3-pytest \ - python3-unittest-automake-output \ " -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ -} - BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf