From 4ede2afe4ecb628078f69ba015bb43cfa214b076 Mon Sep 17 00:00:00 2001 From: Derek Straka Date: Fri, 17 Jan 2025 22:59:01 +0000 Subject: python3-pint: 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-pint/run-ptest | 3 --- meta-python/recipes-devtools/python/python3-pint_0.24.4.bb | 12 ++---------- 2 files changed, 2 insertions(+), 13 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-pint/run-ptest (limited to 'meta-python/recipes-devtools/python') diff --git a/meta-python/recipes-devtools/python/python3-pint/run-ptest b/meta-python/recipes-devtools/python/python3-pint/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-pint/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-pint_0.24.4.bb b/meta-python/recipes-devtools/python/python3-pint_0.24.4.bb index 88efefff58..1bf62ca729 100644 --- a/meta-python/recipes-devtools/python/python3-pint_0.24.4.bb +++ b/meta-python/recipes-devtools/python/python3-pint_0.24.4.bb @@ -6,7 +6,7 @@ SECTION = "devel/python" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=bccf824202692270a1e0829a62e3f47b" -inherit pypi ptest python_setuptools_build_meta +inherit pypi ptest-python-pytest python_setuptools_build_meta SRC_URI[sha256sum] = "35275439b574837a6cd3020a5a4a73645eb125ce4152a73a2f126bf164b91b80" @@ -14,9 +14,7 @@ DEPENDS += "python3-setuptools-scm-native" BBCLASSEXTEND = "native nativesdk" -SRC_URI += " \ - file://run-ptest \ -" +PTEST_PYTEST_DIR = "pint" RDEPENDS:${PN} += " \ python3-setuptools \ @@ -30,14 +28,8 @@ RDEPENDS:${PN}-ptest += " \ python3-flexcache \ python3-flexparser \ python3-misc \ - python3-pytest \ python3-pytest-benchmark \ python3-pytest-subtests \ python3-statistics \ - python3-unittest-automake-output \ " -do_install_ptest() { - install -d ${D}${PTEST_PATH}/testsuite - cp -rf ${S}/pint/* ${D}${PTEST_PATH}/ -} -- cgit v1.2.3-54-g00ecf