diff mbox series

[meta-python] python3-pyhsslms: Add 2.0.0 recipe

Message ID 20241210022042.3241438-1-jamin_lin@aspeedtech.com
State Accepted
Headers show
Series [meta-python] python3-pyhsslms: Add 2.0.0 recipe | expand

Commit Message

Jamin Lin Dec. 10, 2024, 2:20 a.m. UTC
This recipe was placed in meta-arm meta layer,
https://git.yoctoproject.org/meta-arm/tree/meta-arm/recipes-devtools/python/python3-pyhsslms_2.0.0.bb

However, users may want to build this python module but do not want to add
"meta-arm" meta layer. To make this recipe more flexible, move this recipe from
"meta-arm" to "meta-openembedded/meta-python" meta layer.

This python module is used for supporting LMS algorithm and it use pure
Software to sign/verify with LMS algorithm. Please see official github for
detail, https://github.com/russhousley/pyhsslms

Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com>
---
 .../python/python3-pyhsslms_2.0.0.bb          | 21 +++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-pyhsslms_2.0.0.bb
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-pyhsslms_2.0.0.bb b/meta-python/recipes-devtools/python/python3-pyhsslms_2.0.0.bb
new file mode 100644
index 000000000..3b54e3619
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pyhsslms_2.0.0.bb
@@ -0,0 +1,21 @@ 
+SUMMARY = "Pure-Python implementation of HSS/LMS Digital Signatures (RFC 8554)"
+HOMEPAGE ="https://pypi.org/project/pyhsslms"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=bbc59ef8bf238c2902ca816b87b58571"
+
+inherit python_setuptools_build_meta
+
+# Maintainer refused to upload source to pypi.org, but said he would in a
+# future release. In the meantime, do github
+SRC_URI = "git:///github.com/russhousley/pyhsslms.git;branch=master;protocol=https"
+SRCREV = "c798728deed6d3f681c9e6bfd7fe8a6705f5638b"
+
+S = "${WORKDIR}/git"
+
+RDEPENDS:${PN} += " \
+    python3-core \
+    python3-crypt \
+    python3-netclient \
+"
+
+BBCLASSEXTEND = "native nativesdk"