]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
python3-bcrypt: fix ptest
authorChen Qi <Qi.Chen@windriver.com>
Mon, 10 Feb 2025 03:40:08 +0000 (19:40 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 11 Feb 2025 11:42:23 +0000 (11:42 +0000)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/python/python3-bcrypt_4.2.1.bb

index ce9237de36cbec39adb69b1423be108d0a593e76..004e8ce8b12fe67eda56f19b9e80df52144c7c4a 100644 (file)
@@ -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 \