From: Chen Qi Date: Mon, 10 Feb 2025 03:40:08 +0000 (-0800) Subject: python3-bcrypt: fix ptest X-Git-Tag: yocto-5.2~526 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9640c89ae0fcc72b53fdf59b01616ab2b62469ed;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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. Signed-off-by: Chen Qi Signed-off-by: Richard Purdie --- 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 ce9237de36c..004e8ce8b12 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 \