mirror of
https://git.yoctoproject.org/poky
synced 2026-02-05 16:28:43 +01:00
* python3-cryptography-crates.inc: update for 39.0.0 * python3-cryptography-vectors: upgrade 38.0.4 -> 39.0.0 Highlights from Changelog: https://cryptography.io/en/latest/changelog/#v39-0-0 39.0.0 - 2023-01-01 * BACKWARDS INCOMPATIBLE: Support for OpenSSL 1.1.0 has been removed. Users on older version of OpenSSL will need to upgrade. * BACKWARDS INCOMPATIBLE: Dropped support for LibreSSL < 3.5. The new minimum LibreSSL version is 3.5.0. Going forward our policy is to support versions of LibreSSL that are available in versions of OpenBSD that are still receiving security support. * BACKWARDS INCOMPATIBLE: Removed the encode_point and from_encoded_point methods on EllipticCurvePublicNumbers, which had been deprecated for several years. public_bytes() and from_encoded_point() should be used instead. * BACKWARDS INCOMPATIBLE: Support for using MD5 or SHA1 in CertificateBuilder, other X.509 builders, and PKCS7 has been removed. * ANNOUNCEMENT: The next version of cryptography (40.0) will change the way we link OpenSSL. This will only impact users who build cryptography from source (i.e., not from a wheel), and specify their own version of OpenSSL. For those users, the CFLAGS, LDFLAGS, INCLUDE, LIB, and CRYPTOGRAPHY_SUPPRESS_LINK_FLAGS environment variables will no longer be respected. (From OE-Core rev: 904574c49c51f1862c6b888a3e5889bd972df42d) 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>
30 lines
967 B
BlitzBasic
30 lines
967 B
BlitzBasic
SUMMARY = "Test vectors for the cryptography package."
|
|
HOMEPAGE = "https://cryptography.io/"
|
|
SECTION = "devel/python"
|
|
LICENSE = "Apache-2.0 | BSD-3-Clause"
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=8c3617db4fb6fae01f1d253ab91511e4 \
|
|
file://LICENSE.APACHE;md5=4e168cce331e5c827d4c2b68a6200e1b \
|
|
file://LICENSE.BSD;md5=5ae30ba4123bc4f2fa49aa0b0dce887b"
|
|
|
|
# NOTE: Make sure to keep this recipe at the same version as python3-cryptography
|
|
# Upgrade both recipes at the same time
|
|
|
|
SRC_URI[sha256sum] = "52e59670a0820b5bbfa85f724b8aebd61385787eb8b6607f64d533969124b2a0"
|
|
|
|
PYPI_PACKAGE = "cryptography_vectors"
|
|
|
|
inherit pypi setuptools3
|
|
|
|
DEPENDS += " \
|
|
${PYTHON_PN}-cryptography \
|
|
"
|
|
|
|
do_install:append () {
|
|
# Remove the sha256 checksum lines for pycache files
|
|
sed ${D}${PYTHON_SITEPACKAGES_DIR}/cryptography_vectors-${PV}.dist-info/RECORD -e '/__pycache__/d' -i
|
|
}
|
|
|
|
BBCLASSEXTEND = "native nativesdk"
|
|
|
|
UPSTREAM_CHECK_REGEX = ""
|