Skip to contentSkip to conversation

python3-pyhsslms: Add 2.0.0 recipe

PATCH New Jamin Lin 1 participant 1 message Dec 10, 2024

lore
Share & tools
lore

Jamin Lin

author
#0 lore raw

PATCH 1/1 python3-pyhsslms: Add 2.0.0 recipe

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

---
 .../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
meta-python/recipes-devtools/python/python3-pyhsslms_2.0.0.bb new file +21 -0
new file mode 100644
index 000000000..3b54e3619
@@ -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"
Signature · 1 line
2.25.1