summaryrefslogtreecommitdiff
path: root/poky/meta/recipes-devtools/python/python3-pyopenssl_24.2.1.bb
diff options
context:
space:
mode:
Diffstat (limited to 'poky/meta/recipes-devtools/python/python3-pyopenssl_24.2.1.bb')
-rw-r--r--poky/meta/recipes-devtools/python/python3-pyopenssl_24.2.1.bb22
1 files changed, 22 insertions, 0 deletions
diff --git a/poky/meta/recipes-devtools/python/python3-pyopenssl_24.2.1.bb b/poky/meta/recipes-devtools/python/python3-pyopenssl_24.2.1.bb
new file mode 100644
index 0000000000..d9ccd553a1
--- /dev/null
+++ b/poky/meta/recipes-devtools/python/python3-pyopenssl_24.2.1.bb
@@ -0,0 +1,22 @@
+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 python3-cryptography"
+
+SRC_URI[sha256sum] = "4247f0dbe3748d560dcbb2ff3ea01af0f9a1a001ef5f7c4c647956ed8cbf0e95"
+UPSTREAM_CHECK_PYPI_PACKAGE = "pyOpenSSL"
+
+inherit pypi setuptools3
+
+PACKAGES =+ "${PN}-tests"
+FILES:${PN}-tests = "${libdir}/${PYTHON_DIR}/site-packages/OpenSSL/test"
+
+RDEPENDS:${PN}:class-target = " \
+ python3-cryptography \
+ python3-threading \
+"
+RDEPENDS:${PN}-tests = "${PN}"
+
+BBCLASSEXTEND = "native nativesdk"