mirror of
https://git.yoctoproject.org/poky
synced 2026-02-06 08:48:45 +01:00
The component has been reimplemented in rust, and comes with a large list of dependencies in Cargo.toml/Cargo.lock. Rather than list them by hand, use a file generated with cargo-update-recipe-crates class. (From OE-Core rev: f1ebc71d9c35ba3ff58851efe2fae4e193f481f1) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
33 lines
777 B
BlitzBasic
33 lines
777 B
BlitzBasic
DESCRIPTION = "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 += "${PYTHON_PN}-cffi-native"
|
|
|
|
SRC_URI[sha256sum] = "c59c170fc9225faad04dde1ba61d85b413946e8ce2e5f5f5ff30dfd67283f319"
|
|
|
|
inherit pypi python_setuptools3_rust ptest cargo-update-recipe-crates
|
|
|
|
SRC_URI += " \
|
|
file://run-ptest \
|
|
"
|
|
|
|
require ${BPN}-crates.inc
|
|
|
|
RDEPENDS:${PN}-ptest += " \
|
|
${PYTHON_PN}-pytest \
|
|
"
|
|
|
|
do_install_ptest() {
|
|
install -d ${D}${PTEST_PATH}/tests
|
|
cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
|
|
}
|
|
|
|
RDEPENDS:${PN}:class-target += "\
|
|
${PYTHON_PN}-cffi \
|
|
${PYTHON_PN}-ctypes \
|
|
${PYTHON_PN}-shell \
|
|
${PYTHON_PN}-six \
|
|
"
|