Skip to contentSkip to conversation

python3-bcrypt: fix ptest

PATCH New [email protected] 1 participant 1 message Feb 10, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python3-bcrypt: fix ptest

From: Chen Qi <[email protected]>

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.

---
 meta/recipes-devtools/python/python3-bcrypt_4.2.1.bb | 10 ----------
 1 file changed, 10 deletions(-)
meta/recipes-devtools/python/python3-bcrypt_4.2.1.bb +0 -10
index ce9237de36..004e8ce8b1 100644
@@ -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 \
Signature · 1 line
2.25.1