From df8f1ad5ccf59a2c4276513ba3e6fa859f6a2358 Mon Sep 17 00:00:00 2001 From: Chen Qi Date: Sun, 9 Feb 2025 19:40:08 -0800 Subject: [PATCH] python3-bcrypt: fix ptest 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. (From OE-Core rev: 9640c89ae0fcc72b53fdf59b01616ab2b62469ed) Signed-off-by: Chen Qi Signed-off-by: Richard Purdie --- meta/recipes-devtools/python/python3-bcrypt_4.2.1.bb | 10 ---------- 1 file changed, 10 deletions(-) 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 \