From d61a246a555df1e069feae7b475cedbbf5441631 Mon Sep 17 00:00:00 2001 From: Derek Straka Date: Fri, 10 Jan 2025 20:08:20 +0000 Subject: python3-tzdata: 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-tzdata/run-ptest | 3 --- meta-python/recipes-devtools/python/python3-tzdata_2024.2.bb | 11 ++--------- 2 files changed, 2 insertions(+), 12 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-tzdata/run-ptest (limited to 'meta-python/recipes-devtools/python') diff --git a/meta-python/recipes-devtools/python/python3-tzdata/run-ptest b/meta-python/recipes-devtools/python/python3-tzdata/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-tzdata/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-tzdata_2024.2.bb b/meta-python/recipes-devtools/python/python3-tzdata_2024.2.bb index 614d813e84..20e9715dd5 100644 --- a/meta-python/recipes-devtools/python/python3-tzdata_2024.2.bb +++ b/meta-python/recipes-devtools/python/python3-tzdata_2024.2.bb @@ -6,20 +6,13 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=fca9fd5c15a28eb874ba38577a585d48 \ SRC_URI[sha256sum] = "7d85cc416e9382e69095b7bdf4afd9e3880418a2413feec7069d533d6b4e31cc" -inherit pypi python_setuptools_build_meta - -inherit ptest - -SRC_URI += "file://run-ptest" +inherit pypi python_setuptools_build_meta ptest-python-pytest RDEPENDS:${PN}-ptest += "\ python3-attrs \ - python3-pytest \ python3-pytest-subtests \ - python3-unittest-automake-output \ " -do_install_ptest() { - cp -rf ${S}/tests/ ${D}${PTEST_PATH}/ +do_install_ptest:append() { install ${S}/VERSION ${D}${PTEST_PATH}/ } -- cgit v1.2.3-54-g00ecf