diff mbox series

[meta-python,07/10] python3-propcache: update recipe to use the ptest-python-pytest class

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

Commit Message

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

Patch

diff --git a/meta-python/recipes-devtools/python/python3-propcache/run-ptest b/meta-python/recipes-devtools/python/python3-propcache/run-ptest
deleted file mode 100644
index 8d2017d39..000000000
--- a/meta-python/recipes-devtools/python/python3-propcache/run-ptest
+++ /dev/null
@@ -1,3 +0,0 @@ 
-#!/bin/sh
-
-pytest --automake
diff --git a/meta-python/recipes-devtools/python/python3-propcache_0.2.1.bb b/meta-python/recipes-devtools/python/python3-propcache_0.2.1.bb
index 0ea24e8bc..d15ead920 100644
--- a/meta-python/recipes-devtools/python/python3-propcache_0.2.1.bb
+++ b/meta-python/recipes-devtools/python/python3-propcache_0.2.1.bb
@@ -5,26 +5,16 @@  LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
 
 SRC_URI[sha256sum] = "3f77ce728b19cb537714499928fe800c3dda29e8d9428778fc7c186da4c09a64"
 
-inherit pypi python_setuptools_build_meta ptest cython
-
-SRC_URI += " \
-	file://run-ptest \
-"
+inherit pypi python_setuptools_build_meta ptest-python-pytest cython
 
 DEPENDS += " \
 	python3-expandvars-native \
 "
 
 RDEPENDS:${PN}-ptest += " \
-	python3-pytest \
 	python3-pytest-codspeed \
 	python3-pytest-xdist \
 	python3-rich \
 	python3-statistics \
-	python3-unittest-automake-output \
 "
 
-do_install_ptest() {
-	install -d ${D}${PTEST_PATH}/tests
-	cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
-}