From 2df5845ee6c58fc6ab073063c3b702a2dd50832d Mon Sep 17 00:00:00 2001 From: Tim Orling Date: Sat, 8 Oct 2022 16:54:49 -0700 Subject: python3-pyopenssl: upgrade 22.0.0 -> 22.1.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 22.1.0 (2022-09-25) Backward-incompatible changes: Remove support for SSLv2 and SSLv3. The minimum cryptography version is now 38.0.x (and we now pin releases against cryptography major versions to prevent future breakage) The OpenSSL.crypto.X509StoreContextError exception has been refactored, changing its internal attributes. #1133 Deprecations: OpenSSL.SSL.SSLeay_version is deprecated in favor of OpenSSL.SSL.OpenSSL_version. The constants OpenSSL.SSL.SSLEAY_* are deprecated in favor of OpenSSL.SSL.OPENSSL_*. Changes: Add OpenSSL.SSL.Connection.set_verify and OpenSSL.SSL.Connection.get_verify_mode to override the context object’s verification flags. #1073 Add OpenSSL.SSL.Connection.use_certificate and OpenSSL.SSL.Connection.use_privatekey to set a certificate per connection (and not just per context) #1121. (From OE-Core rev: 5eb351b7c7445a33a43655a98a53353a665d1616) Signed-off-by: Tim Orling Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie --- .../python/python3-pyopenssl_22.1.0.bb | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 meta/recipes-devtools/python/python3-pyopenssl_22.1.0.bb (limited to 'meta/recipes-devtools/python/python3-pyopenssl_22.1.0.bb') diff --git a/meta/recipes-devtools/python/python3-pyopenssl_22.1.0.bb b/meta/recipes-devtools/python/python3-pyopenssl_22.1.0.bb new file mode 100644 index 0000000000..4d83b8c7d7 --- /dev/null +++ b/meta/recipes-devtools/python/python3-pyopenssl_22.1.0.bb @@ -0,0 +1,23 @@ +SUMMARY = "Simple Python wrapper around the OpenSSL library" +HOMEPAGE = "https://pyopenssl.org/" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" + +DEPENDS += "openssl ${PYTHON_PN}-cryptography" + +SRC_URI[sha256sum] = "7a83b7b272dd595222d672f5ce29aa030f1fb837630ef229f62e72e395ce8968" + +PYPI_PACKAGE = "pyOpenSSL" +inherit pypi setuptools3 + +PACKAGES =+ "${PN}-tests" +FILES:${PN}-tests = "${libdir}/${PYTHON_DIR}/site-packages/OpenSSL/test" + +RDEPENDS:${PN}:class-target = " \ + ${PYTHON_PN}-cryptography \ + ${PYTHON_PN}-six \ + ${PYTHON_PN}-threading \ +" +RDEPENDS:${PN}-tests = "${PN}" + +BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf