diff mbox series

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

Message ID 20250130215738.3280576-20-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-fastjsonschema/run-ptest           |  3 ---
 .../python/python3-fastjsonschema_2.21.1.bb           | 11 +----------
 2 files changed, 1 insertion(+), 13 deletions(-)
 delete mode 100644 meta-python/recipes-devtools/python/python3-fastjsonschema/run-ptest
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-fastjsonschema/run-ptest b/meta-python/recipes-devtools/python/python3-fastjsonschema/run-ptest
deleted file mode 100644
index 8d2017d39c..0000000000
--- a/meta-python/recipes-devtools/python/python3-fastjsonschema/run-ptest
+++ /dev/null
@@ -1,3 +0,0 @@ 
-#!/bin/sh
-
-pytest --automake
diff --git a/meta-python/recipes-devtools/python/python3-fastjsonschema_2.21.1.bb b/meta-python/recipes-devtools/python/python3-fastjsonschema_2.21.1.bb
index ecd92d5a74..11fc6de8d6 100644
--- a/meta-python/recipes-devtools/python/python3-fastjsonschema_2.21.1.bb
+++ b/meta-python/recipes-devtools/python/python3-fastjsonschema_2.21.1.bb
@@ -8,14 +8,7 @@  LIC_FILES_CHKSUM = "file://LICENSE;md5=18950e8362b69c0c617b42b8bd8e7532"
 
 SRC_URI[sha256sum] = "794d4f0a58f848961ba16af7b9c85a3e88cd360df008c59aac6fc5ae9323b5d4"
 
-SRC_URI += "file://run-ptest"
-
-inherit ptest pypi setuptools3
-
-do_install_ptest() {
-	install -d ${D}${PTEST_PATH}/tests
-	cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
-}
+inherit ptest-python-pytest pypi setuptools3
 
 # python3-misc for timeit.py
 RDEPENDS:${PN}-ptest += "\
@@ -23,11 +16,9 @@  RDEPENDS:${PN}-ptest += "\
     python3-jsonschema \
     python3-misc \
     python3-pylint \
-    python3-pytest \
     python3-pytest-benchmark \
     python3-pytest-cache \
     python3-statistics \
-    python3-unittest-automake-output \
 "
 RDEPENDS:${PN} += "\
     python3-core \