From: James Hilliard <james.hilliard1@gmail.com>
To: buildroot@buildroot.org
Cc: Eric Le Bihan <eric.le.bihan.dev@free.fr>,
James Hilliard <james.hilliard1@gmail.com>,
Asaf Kahlon <asafka7@gmail.com>,
Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Subject: [Buildroot] [PATCH v3 3/5] package/python-uswid: new host package
Date: Tue, 16 Jul 2024 11:50:35 -0600 [thread overview]
Message-ID: <20240716175037.1844929-3-james.hilliard1@gmail.com> (raw)
In-Reply-To: <20240716175037.1844929-1-james.hilliard1@gmail.com>
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
---
package/python-uswid/python-uswid.hash | 5 +++++
package/python-uswid/python-uswid.mk | 18 ++++++++++++++++++
2 files changed, 23 insertions(+)
create mode 100644 package/python-uswid/python-uswid.hash
create mode 100644 package/python-uswid/python-uswid.mk
diff --git a/package/python-uswid/python-uswid.hash b/package/python-uswid/python-uswid.hash
new file mode 100644
index 0000000000..b6bf09c713
--- /dev/null
+++ b/package/python-uswid/python-uswid.hash
@@ -0,0 +1,5 @@
+# md5, sha256 from https://pypi.org/pypi/uswid/json
+md5 e43ff6d49ddcda0c95338d3271694b91 uswid-0.5.0.tar.gz
+sha256 bdcd7ee5afac1da60ee688c357aa12f5f8d74bc28012446b10e2b4a9cf52fc6d uswid-0.5.0.tar.gz
+# Locally computed sha256 checksums
+sha256 98bc07f3fb70d05b01ff740e8191b9f29c080159f01588991fbd872c611236f9 LICENSE
diff --git a/package/python-uswid/python-uswid.mk b/package/python-uswid/python-uswid.mk
new file mode 100644
index 0000000000..2092a06f52
--- /dev/null
+++ b/package/python-uswid/python-uswid.mk
@@ -0,0 +1,18 @@
+################################################################################
+#
+# python-uswid
+#
+################################################################################
+
+PYTHON_USWID_VERSION = 0.5.0
+PYTHON_USWID_SOURCE = uswid-$(PYTHON_USWID_VERSION).tar.gz
+PYTHON_USWID_SITE = https://files.pythonhosted.org/packages/dc/bf/05291df12037befeacda2083c798e98691043978e07ca4a00b4eb94aeb61
+PYTHON_USWID_SETUP_TYPE = setuptools
+PYTHON_USWID_LICENSE = BSD-2-Clause-Patent
+PYTHON_USWID_LICENSE_FILES = LICENSE
+HOST_PYTHON_USWID_DEPENDENCIES = \
+ host-python-cbor2 \
+ host-python-lxml \
+ host-python-pefile
+
+$(eval $(host-python-package))
--
2.34.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2024-07-16 17:50 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-16 17:50 [Buildroot] [PATCH v3 1/5] package/python-pefile: new host package James Hilliard
2024-07-16 17:50 ` [Buildroot] [PATCH v3 2/5] package/python-cbor2: enable host build James Hilliard
2024-07-16 17:50 ` James Hilliard [this message]
2024-07-18 21:38 ` [Buildroot] [PATCH v3 3/5] package/python-uswid: new host package Thomas Petazzoni via buildroot
2024-07-16 17:50 ` [Buildroot] [PATCH v3 4/5] package/fwupd-efi: new package James Hilliard
2024-07-16 17:50 ` [Buildroot] [PATCH v3 5/5] package/fwupd: " James Hilliard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240716175037.1844929-3-james.hilliard1@gmail.com \
--to=james.hilliard1@gmail.com \
--cc=asafka7@gmail.com \
--cc=buildroot@buildroot.org \
--cc=eric.le.bihan.dev@free.fr \
--cc=thomas.petazzoni@bootlin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox