From 96d39d9d9d9eb3636fdf4939c4e8e357c4e7d4da Mon Sep 17 00:00:00 2001 From: Jamin Lin Date: Tue, 10 Dec 2024 10:20:42 +0800 Subject: 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 Signed-off-by: Jamin Lin Signed-off-by: Khem Raj --- .../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 (limited to '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 0000000000..3b54e36199 --- /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" -- cgit v1.2.3-54-g00ecf