summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python3-bcrypt_4.1.2.bb
diff options
context:
space:
mode:
authorTim Orling <ticotimo@gmail.com>2024-01-05 09:24:46 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-01-09 22:59:28 +0000
commit64a737df5f77024c4279eaad74cb6ee0c0958d1b (patch)
tree81ae2b607788b973c4c8772c6d00514de8a7f957 /meta/recipes-devtools/python/python3-bcrypt_4.1.2.bb
parent20278437b071a436033e1b64a541b4776849d3f0 (diff)
downloadpoky-64a737df5f77024c4279eaad74cb6ee0c0958d1b.tar.gz
python3-bcrypt: upgrade 4.1.1 -> 4.1.2
* Refresh -crates.inc https://github.com/pyca/bcrypt/compare/4.1.1...4.1.2 https://github.com/pyca/bcrypt/?tab=readme-ov-file#changelog https://github.com/pyca/bcrypt/?tab=readme-ov-file#412 * Publish both py37 and py39 wheels. This should resolve some errors relating to initializing a module multiple times per process. (From OE-Core rev: 2f428acc78e37aec78d11aac9605f0311b6b9c4a) Signed-off-by: Tim Orling <tim.orling@konsulko.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.1.2.bb')
-rw-r--r--meta/recipes-devtools/python/python3-bcrypt_4.1.2.bb36
1 files changed, 36 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3-bcrypt_4.1.2.bb b/meta/recipes-devtools/python/python3-bcrypt_4.1.2.bb
new file mode 100644
index 0000000000..860f291476
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-bcrypt_4.1.2.bb
@@ -0,0 +1,36 @@
1SUMMARY = "Modern password hashing for your software and your servers."
2LICENSE = "Apache-2.0"
3LIC_FILES_CHKSUM = "file://LICENSE;md5=8f7bb094c7232b058c7e9f2e431f389c"
4HOMEPAGE = "https://pypi.org/project/bcrypt/"
5
6DEPENDS += "${PYTHON_PN}-cffi-native"
7LDFLAGS:append = "${@bb.utils.contains('DISTRO_FEATURES', 'ptest', ' -fuse-ld=bfd', '', d)}"
8
9SRC_URI[sha256sum] = "33313a1200a3ae90b75587ceac502b048b840fc69e7f7a0905b5f87fac7a1258"
10
11inherit pypi python_setuptools3_rust ptest-cargo cargo-update-recipe-crates
12
13SRC_URI += " \
14 file://run-ptest \
15"
16
17CARGO_SRC_DIR = "src/_bcrypt"
18
19require ${BPN}-crates.inc
20
21RDEPENDS:${PN}-ptest += " \
22 ${PYTHON_PN}-pytest \
23 ${PYTHON_PN}-unittest-automake-output \
24"
25
26do_install_ptest() {
27 install -d ${D}${PTEST_PATH}/tests
28 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
29}
30
31RDEPENDS:${PN}:class-target += "\
32 ${PYTHON_PN}-cffi \
33 ${PYTHON_PN}-ctypes \
34 ${PYTHON_PN}-shell \
35 ${PYTHON_PN}-six \
36"