From 97db0edb4ba6ca9f7a419d23a63b166763b0f07e Mon Sep 17 00:00:00 2001 From: Derek Straka Date: Thu, 30 Jan 2025 21:57:26 +0000 Subject: python3-ipy: update recipe to use the ptest-python-pytest class Signed-off-by: Derek Straka Signed-off-by: Khem Raj --- .../recipes-devtools/python/python3-ipy/run-ptest | 3 --- meta-python/recipes-devtools/python/python3-ipy_1.01.bb | 16 ++-------------- 2 files changed, 2 insertions(+), 17 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-ipy/run-ptest (limited to 'meta-python') diff --git a/meta-python/recipes-devtools/python/python3-ipy/run-ptest b/meta-python/recipes-devtools/python/python3-ipy/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-ipy/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-ipy_1.01.bb b/meta-python/recipes-devtools/python/python3-ipy_1.01.bb index 817d04444e..6a35e12ffe 100644 --- a/meta-python/recipes-devtools/python/python3-ipy_1.01.bb +++ b/meta-python/recipes-devtools/python/python3-ipy_1.01.bb @@ -11,21 +11,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=848d24919845901b4f48bae5f13252e6" SRC_URI[sha256sum] = "edeca741dea2d54aca568fa23740288c3fe86c0f3ea700344571e9ef14a7cc1a" -inherit pypi setuptools3_legacy ptest +inherit pypi setuptools3_legacy ptest-python-pytest -SRC_URI += " \ - file://run-ptest \ -" - -RDEPENDS:${PN}-ptest += " \ - python3-pytest \ - python3-unittest-automake-output \ -" - -do_install_ptest() { - install -d ${D}${PTEST_PATH}/test/ - cp -rf ${S}/test/* ${D}${PTEST_PATH}/test -} +PTEST_PYTEST_DIR = "test" PYPI_PACKAGE = "IPy" UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" -- cgit v1.2.3-54-g00ecf