diff options
| -rw-r--r-- | meta/recipes-devtools/python/python3-bcrypt_3.2.2.bb | 30 | ||||
| -rw-r--r-- | meta/recipes-devtools/python/python3-bcrypt_4.0.0.bb | 79 |
2 files changed, 79 insertions, 30 deletions
diff --git a/meta/recipes-devtools/python/python3-bcrypt_3.2.2.bb b/meta/recipes-devtools/python/python3-bcrypt_3.2.2.bb deleted file mode 100644 index 54070e4b9c..0000000000 --- a/meta/recipes-devtools/python/python3-bcrypt_3.2.2.bb +++ /dev/null | |||
| @@ -1,30 +0,0 @@ | |||
| 1 | DESCRIPTION = "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 += "${PYTHON_PN}-cffi-native" | ||
| 7 | |||
| 8 | SRC_URI[sha256sum] = "433c410c2177057705da2a9f2cd01dd157493b2a7ac14c8593a16b3dab6b6bfb" | ||
| 9 | |||
| 10 | inherit pypi python_setuptools_build_meta ptest | ||
| 11 | |||
| 12 | SRC_URI += " \ | ||
| 13 | file://run-ptest \ | ||
| 14 | " | ||
| 15 | |||
| 16 | RDEPENDS:${PN}-ptest += " \ | ||
| 17 | ${PYTHON_PN}-pytest \ | ||
| 18 | " | ||
| 19 | |||
| 20 | do_install_ptest() { | ||
| 21 | install -d ${D}${PTEST_PATH}/tests | ||
| 22 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
| 23 | } | ||
| 24 | |||
| 25 | RDEPENDS:${PN}:class-target += "\ | ||
| 26 | ${PYTHON_PN}-cffi \ | ||
| 27 | ${PYTHON_PN}-ctypes \ | ||
| 28 | ${PYTHON_PN}-shell \ | ||
| 29 | ${PYTHON_PN}-six \ | ||
| 30 | " | ||
diff --git a/meta/recipes-devtools/python/python3-bcrypt_4.0.0.bb b/meta/recipes-devtools/python/python3-bcrypt_4.0.0.bb new file mode 100644 index 0000000000..ac795ca8ab --- /dev/null +++ b/meta/recipes-devtools/python/python3-bcrypt_4.0.0.bb | |||
| @@ -0,0 +1,79 @@ | |||
| 1 | DESCRIPTION = "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 += "${PYTHON_PN}-cffi-native" | ||
| 7 | |||
| 8 | SRC_URI[sha256sum] = "c59c170fc9225faad04dde1ba61d85b413946e8ce2e5f5f5ff30dfd67283f319" | ||
| 9 | |||
| 10 | inherit pypi python_setuptools3_rust ptest | ||
| 11 | |||
| 12 | SRC_URI += " \ | ||
| 13 | crate://crates.io/autocfg/1.1.0 \ | ||
| 14 | crate://crates.io/base64/0.13.0 \ | ||
| 15 | crate://crates.io/bcrypt-pbkdf/0.8.1 \ | ||
| 16 | crate://crates.io/bcrypt/0.13.0 \ | ||
| 17 | crate://crates.io/bitflags/1.3.2 \ | ||
| 18 | crate://crates.io/block-buffer/0.10.2 \ | ||
| 19 | crate://crates.io/blowfish/0.9.1 \ | ||
| 20 | crate://crates.io/byteorder/1.4.3 \ | ||
| 21 | crate://crates.io/cfg-if/1.0.0 \ | ||
| 22 | crate://crates.io/cipher/0.4.3 \ | ||
| 23 | crate://crates.io/cpufeatures/0.2.4 \ | ||
| 24 | crate://crates.io/crypto-common/0.1.6 \ | ||
| 25 | crate://crates.io/digest/0.10.3 \ | ||
| 26 | crate://crates.io/generic-array/0.14.6 \ | ||
| 27 | crate://crates.io/getrandom/0.2.7 \ | ||
| 28 | crate://crates.io/indoc-impl/0.3.6 \ | ||
| 29 | crate://crates.io/indoc/0.3.6 \ | ||
| 30 | crate://crates.io/inout/0.1.3 \ | ||
| 31 | crate://crates.io/instant/0.1.12 \ | ||
| 32 | crate://crates.io/libc/0.2.132 \ | ||
| 33 | crate://crates.io/lock_api/0.4.7 \ | ||
| 34 | crate://crates.io/once_cell/1.13.1 \ | ||
| 35 | crate://crates.io/parking_lot/0.11.2 \ | ||
| 36 | crate://crates.io/parking_lot_core/0.8.5 \ | ||
| 37 | crate://crates.io/paste-impl/0.1.18 \ | ||
| 38 | crate://crates.io/paste/0.1.18 \ | ||
| 39 | crate://crates.io/pbkdf2/0.10.1 \ | ||
| 40 | crate://crates.io/proc-macro-hack/0.5.19 \ | ||
| 41 | crate://crates.io/proc-macro2/1.0.43 \ | ||
| 42 | crate://crates.io/pyo3-build-config/0.15.2 \ | ||
| 43 | crate://crates.io/pyo3-macros-backend/0.15.2 \ | ||
| 44 | crate://crates.io/pyo3-macros/0.15.2 \ | ||
| 45 | crate://crates.io/pyo3/0.15.2 \ | ||
| 46 | crate://crates.io/quote/1.0.21 \ | ||
| 47 | crate://crates.io/redox_syscall/0.2.16 \ | ||
| 48 | crate://crates.io/scopeguard/1.1.0 \ | ||
| 49 | crate://crates.io/sha2/0.10.2 \ | ||
| 50 | crate://crates.io/smallvec/1.9.0 \ | ||
| 51 | crate://crates.io/subtle/2.4.1 \ | ||
| 52 | crate://crates.io/syn/1.0.99 \ | ||
| 53 | crate://crates.io/typenum/1.15.0 \ | ||
| 54 | crate://crates.io/unicode-ident/1.0.3 \ | ||
| 55 | crate://crates.io/unindent/0.1.10 \ | ||
| 56 | crate://crates.io/version_check/0.9.4 \ | ||
| 57 | crate://crates.io/wasi/0.11.0+wasi-snapshot-preview1 \ | ||
| 58 | crate://crates.io/winapi-i686-pc-windows-gnu/0.4.0 \ | ||
| 59 | crate://crates.io/winapi-x86_64-pc-windows-gnu/0.4.0 \ | ||
| 60 | crate://crates.io/winapi/0.3.9 \ | ||
| 61 | crate://crates.io/zeroize/1.5.7 \ | ||
| 62 | file://run-ptest \ | ||
| 63 | " | ||
| 64 | |||
| 65 | RDEPENDS:${PN}-ptest += " \ | ||
| 66 | ${PYTHON_PN}-pytest \ | ||
| 67 | " | ||
| 68 | |||
| 69 | do_install_ptest() { | ||
| 70 | install -d ${D}${PTEST_PATH}/tests | ||
| 71 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
| 72 | } | ||
| 73 | |||
| 74 | RDEPENDS:${PN}:class-target += "\ | ||
| 75 | ${PYTHON_PN}-cffi \ | ||
| 76 | ${PYTHON_PN}-ctypes \ | ||
| 77 | ${PYTHON_PN}-shell \ | ||
| 78 | ${PYTHON_PN}-six \ | ||
| 79 | " | ||
