Files
poky/meta/recipes-devtools/python/python3-bcrypt_4.2.1.bb
Chen Qi df8f1ad5cc 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>
2025-02-11 11:44:19 +00:00

22 lines
663 B
BlitzBasic

SUMMARY = "Modern password hashing for your software and your servers."
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=8f7bb094c7232b058c7e9f2e431f389c"
HOMEPAGE = "https://pypi.org/project/bcrypt/"
DEPENDS += "python3-cffi-native"
LDFLAGS += "${@bb.utils.contains('DISTRO_FEATURES', 'ptest', '-fuse-ld=bfd', '', d)}"
SRC_URI[sha256sum] = "6765386e3ab87f569b276988742039baab087b2cdb01e809d74e74503c2faafe"
inherit pypi python_setuptools3_rust cargo-update-recipe-crates ptest-python-pytest
CARGO_SRC_DIR = "src/_bcrypt"
require ${BPN}-crates.inc
RDEPENDS:${PN}:class-target += "\
python3-cffi \
python3-ctypes \
python3-shell \
"