From 23d5e7b0bb9e1064838c7815e1e633ee077f61b0 Mon Sep 17 00:00:00 2001 From: Derek Straka Date: Thu, 30 Jan 2025 21:57:23 +0000 Subject: python3-lz4: 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-lz4/run-ptest | 3 --- meta-python/recipes-devtools/python/python3-lz4_4.3.3.bb | 9 ++------- 2 files changed, 2 insertions(+), 10 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-lz4/run-ptest (limited to 'meta-python/recipes-devtools/python') diff --git a/meta-python/recipes-devtools/python/python3-lz4/run-ptest b/meta-python/recipes-devtools/python/python3-lz4/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-lz4/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-lz4_4.3.3.bb b/meta-python/recipes-devtools/python/python3-lz4_4.3.3.bb index 746926da4e..7bbe59e8b7 100644 --- a/meta-python/recipes-devtools/python/python3-lz4_4.3.3.bb +++ b/meta-python/recipes-devtools/python/python3-lz4_4.3.3.bb @@ -9,24 +9,19 @@ DEPENDS += " \ python3-pkgconfig-native \ " -SRC_URI += "file://run-ptest" - SRC_URI[sha256sum] = "01fe674ef2889dbb9899d8a67361e0c4a2c833af5aeb37dd505727cf5d2a131e" -inherit pkgconfig pypi python_setuptools_build_meta ptest +inherit pkgconfig pypi python_setuptools_build_meta ptest-python-pytest RDEPENDS:${PN}-ptest += "\ python3-coverage \ - python3-pytest \ python3-pytest-cov \ python3-pytest-runner \ python3-multiprocessing \ python3-psutil \ - python3-unittest-automake-output \ " -do_install_ptest() { - cp -rf ${S}/tests/ ${D}${PTEST_PATH}/ +do_install_ptest:append () { # The stream API is experimental and not enabled yet, so don't ship the test suite rm -rf ${D}${PTEST_PATH}/tests/stream } -- cgit v1.2.3-54-g00ecf