From 56014ae1a5158546ff867eb56662085e7265d2fc Mon Sep 17 00:00:00 2001 From: Derek Straka Date: Fri, 10 Jan 2025 20:08:21 +0000 Subject: python3-typeguard: update recipe to use the ptest-python-pytest class Signed-off-by: Derek Straka Signed-off-by: Khem Raj --- .../recipes-devtools/python/python3-typeguard/run-ptest | 3 --- .../recipes-devtools/python/python3-typeguard_4.4.1.bb | 13 +------------ 2 files changed, 1 insertion(+), 15 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-typeguard/run-ptest (limited to 'meta-python/recipes-devtools/python') diff --git a/meta-python/recipes-devtools/python/python3-typeguard/run-ptest b/meta-python/recipes-devtools/python/python3-typeguard/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-typeguard/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-typeguard_4.4.1.bb b/meta-python/recipes-devtools/python/python3-typeguard_4.4.1.bb index 8b2604e4a2..45b32f5120 100644 --- a/meta-python/recipes-devtools/python/python3-typeguard_4.4.1.bb +++ b/meta-python/recipes-devtools/python/python3-typeguard_4.4.1.bb @@ -5,11 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=f0e423eea5c91e7aa21bdb70184b3e53" SRC_URI[sha256sum] = "0d22a89d00b453b47c49875f42b6601b961757541a2e1e0ef517b6e24213c21b" -inherit pypi python_setuptools_build_meta ptest - -SRC_URI += " \ - file://run-ptest \ -" +inherit pypi python_setuptools_build_meta ptest-python-pytest RDEPENDS:${PN} += " \ python3-core \ @@ -19,18 +15,11 @@ RDEPENDS:${PN} += " \ " RDEPENDS:${PN}-ptest += " \ - python3-pytest \ python3-typing-extensions \ - python3-unittest-automake-output \ python3-unixadmin \ python3-mypy \ " -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ -} - DEPENDS += "\ python3-distutils-extra-native \ python3-setuptools-scm-native \ -- cgit v1.2.3-54-g00ecf