From deffc9a9468ae868a59a3bc6a5ddb89f97377de1 Mon Sep 17 00:00:00 2001 From: Derek Straka Date: Fri, 10 Jan 2025 20:08:17 +0000 Subject: python3-unidiff: update recipe to use the ptest-python-pytest class Signed-off-by: Derek Straka Signed-off-by: Khem Raj --- .../recipes-devtools/python/python3-unidiff/run-ptest | 3 --- .../recipes-devtools/python/python3-unidiff_0.7.5.bb | 16 +--------------- 2 files changed, 1 insertion(+), 18 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-unidiff/run-ptest (limited to 'meta-python/recipes-devtools/python') diff --git a/meta-python/recipes-devtools/python/python3-unidiff/run-ptest b/meta-python/recipes-devtools/python/python3-unidiff/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-unidiff/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-unidiff_0.7.5.bb b/meta-python/recipes-devtools/python/python3-unidiff_0.7.5.bb index d77252beac..c1e931e07e 100644 --- a/meta-python/recipes-devtools/python/python3-unidiff_0.7.5.bb +++ b/meta-python/recipes-devtools/python/python3-unidiff_0.7.5.bb @@ -5,21 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=4c434b08ef42fea235bb019b5e5a97b3" SRC_URI[sha256sum] = "2e5f0162052248946b9f0970a40e9e124236bf86c82b70821143a6fc1dea2574" -inherit pypi setuptools3 ptest - -SRC_URI += " \ - 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/ -} +inherit pypi setuptools3 ptest-python-pytest RDEPENDS:${PN} += " \ python3-codecs \ -- cgit v1.2.3-54-g00ecf