diff options
| author | Chen Qi <Qi.Chen@windriver.com> | 2025-02-09 19:40:08 -0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-02-11 11:44:19 +0000 |
| commit | df8f1ad5ccf59a2c4276513ba3e6fa859f6a2358 (patch) | |
| tree | fd5c9002528b3a1c5abe8bbe08a28c70590c7cb0 /meta/recipes-devtools/python | |
| parent | 0a20b836bd61fc575bbc9c5267cd3122d0123dfb (diff) | |
| download | poky-df8f1ad5ccf59a2c4276513ba3e6fa859f6a2358.tar.gz | |
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 <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python')
| -rw-r--r-- | meta/recipes-devtools/python/python3-bcrypt_4.2.1.bb | 10 |
1 files changed, 0 insertions, 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" | |||
| 14 | 14 | ||
| 15 | require ${BPN}-crates.inc | 15 | require ${BPN}-crates.inc |
| 16 | 16 | ||
| 17 | RDEPENDS:${PN}-ptest += " \ | ||
| 18 | python3-pytest \ | ||
| 19 | python3-unittest-automake-output \ | ||
| 20 | " | ||
| 21 | |||
| 22 | do_install_ptest() { | ||
| 23 | install -d ${D}${PTEST_PATH}/tests | ||
| 24 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
| 25 | } | ||
| 26 | |||
| 27 | RDEPENDS:${PN}:class-target += "\ | 17 | RDEPENDS:${PN}:class-target += "\ |
| 28 | python3-cffi \ | 18 | python3-cffi \ |
| 29 | python3-ctypes \ | 19 | python3-ctypes \ |
