From cfaeb648d0f6dbee1f58c25402de8f9d72c1e305 Mon Sep 17 00:00:00 2001 From: Derek Straka Date: Thu, 30 Jan 2025 21:57:27 +0000 Subject: python3-intervals: update recipe to use the ptest-python-pytest class Signed-off-by: Derek Straka Signed-off-by: Khem Raj --- .../recipes-devtools/python/python3-intervals/run-ptest | 3 --- .../recipes-devtools/python/python3-intervals_1.10.0.bb | 13 ++----------- 2 files changed, 2 insertions(+), 14 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-intervals/run-ptest (limited to 'meta-python/recipes-devtools/python') diff --git a/meta-python/recipes-devtools/python/python3-intervals/run-ptest b/meta-python/recipes-devtools/python/python3-intervals/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-intervals/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-intervals_1.10.0.bb b/meta-python/recipes-devtools/python/python3-intervals_1.10.0.bb index 3c5be47806..dd9f88748b 100644 --- a/meta-python/recipes-devtools/python/python3-intervals_1.10.0.bb +++ b/meta-python/recipes-devtools/python/python3-intervals_1.10.0.bb @@ -7,18 +7,9 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=05f1e16a8e59ce3e9a979e881816c2ab" PYPI_PACKAGE := "python-intervals" -SRC_URI += " \ - file://run-ptest \ -" +inherit pypi setuptools3 ptest-python-pytest -inherit pypi setuptools3 ptest - -RDEPENDS:${PN}-ptest += " \ - python3-pytest \ - python3-unittest-automake-output \ -" - -do_install_ptest() { +do_install_ptest:append () { cp -f ${S}/test_intervals.py ${D}${PTEST_PATH} cp -f ${S}/README.md ${D}${PTEST_PATH} } -- cgit v1.2.3-54-g00ecf