diff options
Diffstat (limited to 'meta/recipes-devtools/python/python3-cryptography.bb')
| -rw-r--r-- | meta/recipes-devtools/python/python3-cryptography.bb | 71 |
1 files changed, 0 insertions, 71 deletions
diff --git a/meta/recipes-devtools/python/python3-cryptography.bb b/meta/recipes-devtools/python/python3-cryptography.bb deleted file mode 100644 index 55fdf13972..0000000000 --- a/meta/recipes-devtools/python/python3-cryptography.bb +++ /dev/null | |||
| @@ -1,71 +0,0 @@ | |||
| 1 | SUMMARY = "Provides cryptographic recipes and primitives to python developers" | ||
| 2 | HOMEPAGE = "https://cryptography.io/" | ||
| 3 | SECTION = "devel/python" | ||
| 4 | LICENSE = "Apache-2.0 | BSD-3-Clause" | ||
| 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=8c3617db4fb6fae01f1d253ab91511e4 \ | ||
| 6 | file://LICENSE.APACHE;md5=4e168cce331e5c827d4c2b68a6200e1b \ | ||
| 7 | file://LICENSE.BSD;md5=5ae30ba4123bc4f2fa49aa0b0dce887b \ | ||
| 8 | " | ||
| 9 | LDSHARED += "-pthread" | ||
| 10 | |||
| 11 | # NOTE: Make sure to keep this recipe at the same version as python3-cryptography-vectors | ||
| 12 | # Upgrade both recipes at the same time | ||
| 13 | require python3-cryptography-common.inc | ||
| 14 | SRC_URI[sha256sum] = "4b1654dfc64ea479c242508eb8c724044f1e964a47d1d1cacc5132292d851971" | ||
| 15 | |||
| 16 | SRC_URI += "file://0001-pyproject.toml-remove-benchmark-disable-option.patch \ | ||
| 17 | file://check-memfree.py \ | ||
| 18 | file://run-ptest \ | ||
| 19 | " | ||
| 20 | |||
| 21 | require ${BPN}-crates.inc | ||
| 22 | |||
| 23 | inherit pypi python_maturin cargo-update-recipe-crates pkgconfig | ||
| 24 | |||
| 25 | DEPENDS += " \ | ||
| 26 | python3-cffi-native \ | ||
| 27 | openssl \ | ||
| 28 | " | ||
| 29 | |||
| 30 | RDEPENDS:${PN} += " \ | ||
| 31 | python3-cffi \ | ||
| 32 | " | ||
| 33 | |||
| 34 | RDEPENDS:${PN}:append:class-target = " \ | ||
| 35 | python3-numbers \ | ||
| 36 | python3-threading \ | ||
| 37 | " | ||
| 38 | |||
| 39 | RDEPENDS:${PN}-ptest += " \ | ||
| 40 | python3-bcrypt \ | ||
| 41 | python3-cryptography-vectors (= ${PV}) \ | ||
| 42 | python3-hypothesis \ | ||
| 43 | python3-iso8601 \ | ||
| 44 | python3-mmap \ | ||
| 45 | python3-pretend \ | ||
| 46 | python3-psutil \ | ||
| 47 | python3-pytest \ | ||
| 48 | python3-unittest-automake-output \ | ||
| 49 | python3-pytest-subtests \ | ||
| 50 | python3-pytz \ | ||
| 51 | " | ||
| 52 | |||
| 53 | inherit ptest | ||
| 54 | |||
| 55 | do_install_ptest() { | ||
| 56 | install -D ${UNPACKDIR}/check-memfree.py ${D}${PTEST_PATH}/ | ||
| 57 | install -d ${D}${PTEST_PATH}/tests | ||
| 58 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
| 59 | # remove test_x509.py as it needs benchmark and we don't | ||
| 60 | # want to introduce the benchmark dependency | ||
| 61 | rm -rf ${D}${PTEST_PATH}/tests/bench/test_x509.py | ||
| 62 | install -d ${D}${PTEST_PATH}/tests/hazmat | ||
| 63 | cp -rf ${S}/tests/hazmat/* ${D}${PTEST_PATH}/tests/hazmat/ | ||
| 64 | cp -r ${S}/pyproject.toml ${D}${PTEST_PATH}/ | ||
| 65 | } | ||
| 66 | |||
| 67 | FILES:${PN}-dbg += " \ | ||
| 68 | ${PYTHON_SITEPACKAGES_DIR}/${SRCNAME}/hazmat/bindings/.debug \ | ||
| 69 | " | ||
| 70 | |||
| 71 | BBCLASSEXTEND = "native nativesdk" | ||
