From be00ed17a7ef6dfc79f7daa83d67035c0a3ad313 Mon Sep 17 00:00:00 2001 From: Derek Straka Date: Fri, 10 Jan 2025 20:08:14 +0000 Subject: python3-wrapt: update recipe to use the ptest-python-pytest class Signed-off-by: Derek Straka Signed-off-by: Khem Raj --- meta-python/recipes-devtools/python/python3-wrapt/run-ptest | 3 --- meta-python/recipes-devtools/python/python3-wrapt_1.17.0.bb | 10 +--------- 2 files changed, 1 insertion(+), 12 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-wrapt/run-ptest (limited to 'meta-python') diff --git a/meta-python/recipes-devtools/python/python3-wrapt/run-ptest b/meta-python/recipes-devtools/python/python3-wrapt/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-wrapt/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-wrapt_1.17.0.bb b/meta-python/recipes-devtools/python/python3-wrapt_1.17.0.bb index b72bafb6de..fae45fb705 100644 --- a/meta-python/recipes-devtools/python/python3-wrapt_1.17.0.bb +++ b/meta-python/recipes-devtools/python/python3-wrapt_1.17.0.bb @@ -6,11 +6,10 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=dc34cbad60bc961452eb7ade801d25f7" SRC_URI[sha256sum] = "5f370f952971e7d17c7d1ead40e49f32345a7f7a5373571ef44d800d06b1899d" -inherit setuptools3 ptest +inherit setuptools3 ptest-python-pytest SRCREV = "e663d4910a81d666786ac773ad7c16199b01d31b" SRC_URI += "git://github.com/GrahamDumpleton/wrapt;protocol=https;branch=develop \ - file://run-ptest \ " S = "${WORKDIR}/git" @@ -18,15 +17,8 @@ S = "${WORKDIR}/git" # python3-misc for 'this' module RDEPENDS:${PN}-ptest += " \ python3-misc \ - 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}:class-target += "\ python3-stringold \ python3-threading \ -- cgit v1.2.3-54-g00ecf