diff mbox series

python3-bcrypt: fix ptest

Message ID 20250210034008.2995682-1-Qi.Chen@windriver.com
State Accepted, archived
Commit 9640c89ae0fcc72b53fdf59b01616ab2b62469ed
Headers show
Series python3-bcrypt: fix ptest | expand

Commit Message

ChenQi Feb. 10, 2025, 3:40 a.m. UTC
From: Chen Qi <Qi.Chen@windriver.com>

For now, python3-bcrypt's ptest package does not have run-ptest script.

The ptest-python-pytest.bbclass has do_install_ptest which will generate
run-ptest. So the do_install_ptest in pytho3n-bcrypt is not needed,
and it does not generate run-ptest.

Also remove the RDEPENDS setting because ptest-python-pytest.bbclass
has set it.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
---
 meta/recipes-devtools/python/python3-bcrypt_4.2.1.bb | 10 ----------
 1 file changed, 10 deletions(-)
diff mbox series

Patch

diff --git a/meta/recipes-devtools/python/python3-bcrypt_4.2.1.bb b/meta/recipes-devtools/python/python3-bcrypt_4.2.1.bb
index ce9237de36..004e8ce8b1 100644
--- a/meta/recipes-devtools/python/python3-bcrypt_4.2.1.bb
+++ b/meta/recipes-devtools/python/python3-bcrypt_4.2.1.bb
@@ -14,16 +14,6 @@  CARGO_SRC_DIR = "src/_bcrypt"
 
 require ${BPN}-crates.inc
 
-RDEPENDS:${PN}-ptest += " \
-	python3-pytest \
-	python3-unittest-automake-output \
-"
-
-do_install_ptest() {
-	install -d ${D}${PTEST_PATH}/tests
-	cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
-}
-
 RDEPENDS:${PN}:class-target += "\
     python3-cffi \
     python3-ctypes \