diff options
| author | Wang Mingyu <wangmy@fujitsu.com> | 2024-07-29 09:09:47 +0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-08-03 07:47:35 +0100 |
| commit | 3c2021ed9a7c4690a2abd3dd92a85f3e02f08a52 (patch) | |
| tree | d0505197250acb9c13704ca9a03def9d25b18290 /meta/recipes-devtools/python/python3-bcrypt_4.2.0.bb | |
| parent | 5feabe1133a6581b229b8b03cc12187761f7db5d (diff) | |
| download | poky-3c2021ed9a7c4690a2abd3dd92a85f3e02f08a52.tar.gz | |
python3-bcrypt: upgrade 4.1.3 -> 4.2.0
(From OE-Core rev: 5d02d9bde0805b5782db36a06c8c4ac5e4839662)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python3-bcrypt_4.2.0.bb')
| -rw-r--r-- | meta/recipes-devtools/python/python3-bcrypt_4.2.0.bb | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3-bcrypt_4.2.0.bb b/meta/recipes-devtools/python/python3-bcrypt_4.2.0.bb new file mode 100644 index 0000000000..0887d88d36 --- /dev/null +++ b/meta/recipes-devtools/python/python3-bcrypt_4.2.0.bb | |||
| @@ -0,0 +1,35 @@ | |||
| 1 | SUMMARY = "Modern password hashing for your software and your servers." | ||
| 2 | LICENSE = "Apache-2.0" | ||
| 3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=8f7bb094c7232b058c7e9f2e431f389c" | ||
| 4 | HOMEPAGE = "https://pypi.org/project/bcrypt/" | ||
| 5 | |||
| 6 | DEPENDS += "python3-cffi-native" | ||
| 7 | LDFLAGS += "${@bb.utils.contains('DISTRO_FEATURES', 'ptest', '-fuse-ld=bfd', '', d)}" | ||
| 8 | |||
| 9 | SRC_URI[sha256sum] = "cf69eaf5185fd58f268f805b505ce31f9b9fc2d64b376642164e9244540c1221" | ||
| 10 | |||
| 11 | inherit pypi python_setuptools3_rust ptest-cargo cargo-update-recipe-crates | ||
| 12 | |||
| 13 | SRC_URI += " \ | ||
| 14 | file://run-ptest \ | ||
| 15 | " | ||
| 16 | |||
| 17 | CARGO_SRC_DIR = "src/_bcrypt" | ||
| 18 | |||
| 19 | require ${BPN}-crates.inc | ||
| 20 | |||
| 21 | RDEPENDS:${PN}-ptest += " \ | ||
| 22 | python3-pytest \ | ||
| 23 | python3-unittest-automake-output \ | ||
| 24 | " | ||
| 25 | |||
| 26 | do_install_ptest() { | ||
| 27 | install -d ${D}${PTEST_PATH}/tests | ||
| 28 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
| 29 | } | ||
| 30 | |||
| 31 | RDEPENDS:${PN}:class-target += "\ | ||
| 32 | python3-cffi \ | ||
| 33 | python3-ctypes \ | ||
| 34 | python3-shell \ | ||
| 35 | " | ||
