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 <[email protected]>
---
 .../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 --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"
-- 
2.25.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#114258): 
https://lists.openembedded.org/g/openembedded-devel/message/114258
Mute This Topic: https://lists.openembedded.org/mt/110019029/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to