From patchwork Tue Dec 10 02:20:42 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jamin Lin X-Patchwork-Id: 53861 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 002E7E7717D for ; Tue, 10 Dec 2024 02:20:45 +0000 (UTC) Received: from TWMBX01.aspeed.com (TWMBX01.aspeed.com [211.20.114.72]) by mx.groups.io with SMTP id smtpd.web10.1064.1733797245354384618 for ; Mon, 09 Dec 2024 18:20:45 -0800 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: aspeedtech.com, ip: 211.20.114.72, mailfrom: jamin_lin@aspeedtech.com) Received: from TWMBX01.aspeed.com (192.168.0.62) by TWMBX01.aspeed.com (192.168.0.62) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1258.12; Tue, 10 Dec 2024 10:20:42 +0800 Received: from localhost.localdomain (192.168.10.10) by TWMBX01.aspeed.com (192.168.0.62) with Microsoft SMTP Server id 15.2.1258.12 via Frontend Transport; Tue, 10 Dec 2024 10:20:42 +0800 From: Jamin Lin To: CC: , Subject: [meta-python][PATCH] python3-pyhsslms: Add 2.0.0 recipe Date: Tue, 10 Dec 2024 10:20:42 +0800 Message-ID: <20241210022042.3241438-1-jamin_lin@aspeedtech.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 10 Dec 2024 02:20:45 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/114258 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 --- .../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"