diff mbox series

[meta-python,16/23] python3-freezegun: update recipe to use the ptest-python-pytest class

Message ID 20250130215738.3280576-16-derek@asterius.io
State Accepted
Headers show
Series [meta-python,01/23] python3-inflection: update recipe to use the ptest-python-pytest class | expand

Commit Message

Derek Straka Jan. 30, 2025, 9:57 p.m. UTC
Signed-off-by: Derek Straka <derek@asterius.io>
---
 .../python/python3-freezegun/run-ptest                 |  3 ---
 .../recipes-devtools/python/python3-freezegun_1.5.1.bb | 10 +---------
 2 files changed, 1 insertion(+), 12 deletions(-)
 delete mode 100644 meta-python/recipes-devtools/python/python3-freezegun/run-ptest
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-freezegun/run-ptest b/meta-python/recipes-devtools/python/python3-freezegun/run-ptest
deleted file mode 100644
index 8d2017d39c..0000000000
--- a/meta-python/recipes-devtools/python/python3-freezegun/run-ptest
+++ /dev/null
@@ -1,3 +0,0 @@ 
-#!/bin/sh
-
-pytest --automake
diff --git a/meta-python/recipes-devtools/python/python3-freezegun_1.5.1.bb b/meta-python/recipes-devtools/python/python3-freezegun_1.5.1.bb
index 431843bde4..9d823da507 100644
--- a/meta-python/recipes-devtools/python/python3-freezegun_1.5.1.bb
+++ b/meta-python/recipes-devtools/python/python3-freezegun_1.5.1.bb
@@ -5,24 +5,16 @@  LIC_FILES_CHKSUM = "file://LICENSE;md5=acf1d209bb6eddae4cbe6ffd6a0144fe"
 
 SRC_URI[sha256sum] = "b29dedfcda6d5e8e083ce71b2b542753ad48cfec44037b3fc79702e2980a89e9"
 
-inherit pypi python_setuptools_build_meta ptest
+inherit pypi python_setuptools_build_meta ptest-python-pytest
 
 SRC_URI += " \
-        file://run-ptest \
         file://1777174bb97c0b514033a09b820078b0d117f4a8.patch \
 "
 
 RDEPENDS:${PN}-ptest += " \
-        python3-pytest \
         python3-sqlite3 \
-        python3-unittest-automake-output \
 "
 
-do_install_ptest() {
-        install -d ${D}${PTEST_PATH}/tests
-        cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
-}
-
 RDEPENDS:${PN} = "\
         python3-asyncio \
         python3-dateutil \