From mboxrd@z Thu Jan 1 00:00:00 1970 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 83699C43217 for ; Thu, 1 Dec 2022 08:37:50 +0000 (UTC) Subject: Re: [meta-python][PATCH 2/2] python3-uefi-firmware: add recipe for version 1.9 To: openembedded-devel@lists.openembedded.org From: "tomzy" X-Originating-Location: Warsaw, Mazovia, PL (84.10.27.202) X-Originating-Platform: Linux Firefox 107 User-Agent: GROUPS.IO Web Poster MIME-Version: 1.0 Date: Thu, 01 Dec 2022 00:37:40 -0800 References: <61866268-84e1-7ad5-5992-f78281e1bb3a@gmail.com> In-Reply-To: <61866268-84e1-7ad5-5992-f78281e1bb3a@gmail.com> Message-ID: <13060.1669883860311865393@lists.openembedded.org> Content-Type: multipart/alternative; boundary="CD643M5BN7ZCleM5crsT" 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 ; Thu, 01 Dec 2022 08:37:50 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/99884 --CD643M5BN7ZCleM5crsT Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable On Wed, Nov 30, 2022 at 09:08 PM, Khem Raj wrote: >=20 > On 11/29/22 11:29 PM, tomzy wrote: >=20 >> On Fri, Nov 25, 2022 at 3:44 AM tomzy > > wrote: >>=20 >> Install uefi-firmware-parser tool >>=20 >> Signed-off-by: Tomasz =C5=BByjewski > > >> --- >> .../python/python3-uefi-firmware_1.9.bb >> < http://python3-uefi-firmware_1.9.bb >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0| 17 +++++++++++++++++ >> 1 file changed, 17 insertions(+) >> create mode 100644 >> meta-python/recipes-devtools/python/python3-uefi-firmware_1.9.bb >> < http://python3-uefi-firmware_1.9.bb > >>=20 >> diff --git >> a/meta-python/recipes-devtools/python/python3-uefi-firmware_1.9.bb >> < http://python3-uefi-firmware_1.9.bb > >> b/meta-python/recipes-devtools/python/python3-uefi-firmware_1.9.bb >> < http://python3-uefi-firmware_1.9.bb > >> new file mode 100644 >> index 000000000000..ba3124b36e60 >> --- /dev/null >> +++ >> b/meta-python/recipes-devtools/python/python3-uefi-firmware_1.9.bb >> < http://python3-uefi-firmware_1.9.bb > >> @@ -0,0 +1,17 @@ >> +SUMMARY =3D "Various data structures and parsing tools for UEFI >> firmware." >> +DESCRIPTION =3D "This package contains Python UEFI firmware parser >> tool. The \ >> +UEFI firmware parser is a simple module and set of scripts for >> parsing, \ >> +extracting, and recreating UEFI firmware volumes. This includes >> parsing \ >> +modules for BIOS, OptionROM, Intel ME and other formats too." >> +HOMEPAGE =3D " https://github.com/theopolis/uefi-firmware-parser >> < https://github.com/theopolis/uefi-firmware-parser>" >> +AUTHOR =3D "Teddy Reed >" >> +LICENSE =3D "BSD-2-Clause & BSD-3-Clause" >> +LIC_FILES_CHKSUM =3D >> "file://setup.py;md5=3D90fa5bae1547550f1c1993f651eda955" >> + >> +SRC_URI =3D >> " https://files.pythonhosted.org/packages/7e/b4/a4ec646d24a1aad709fdb83d= e6e5eddd6cb24faec02f3a94a3af3b0aba28/uefi_firmware- >> ${PV}.tar.gz < https://files.pythonhosted.org/packages/7e/b4/a4ec646d24a= 1aad709fdb83de6e5eddd6cb24faec02f3a94a3af3b0aba28/uefi_firmware- >> $%7BPV%7D.tar.gz>" >>=20 >> If you=E2=80=99re fetching from =C2=A0pythonhosted, you could very likel= y >> simplify the recipe by inheriting pypi bbclass >>=20 >> +SRC_URI[md5sum] =3D "ee5011b4d0bcb0eb7c06295e0107894f" >>=20 >> These days, we only really use the sha256sum >> +SRC_URI[sha256sum] =3D >> "234119dd92780c67cce3b664e86119c41d0b2af188d7f372b69789b32c5d5cd0" + >> +S =3D "${WORKDIR}/uefi_firmware-${PV}" + +inherit setuptools3 -- 2.25.1 >>=20 >>=20 >> Used git fetcher here, I just send PATCH V2, not sure if it visible on >> mailing list. >=20 > Its not. Where did you send it ? I must had something wrong with my email settings. Now it is sent. Just pus= hed V3 because of typo in subject-prefix. uefi-firmware: https://lists.openembedded.org/g/openembedded-devel/message/= 99883 binwalk: https://lists.openembedded.org/g/openembedded-devel/message/99882 --CD643M5BN7ZCleM5crsT Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable On Wed, Nov 30, 2022 at 09:08 PM, Khem Raj wrote:
On 11/29/22 11:29 PM, tomzy wrote:
On Fri, Nov 25, 2022 at 3:44 AM tomzy <tomasz.zyjewski@...<mailto:tomasz.zyjewski@...>> wrote:

Install uefi-f= irmware-parser tool

Signed-off-by: Tomasz =C5=BByjewski <toma= sz.zyjewski@...
<mailto:tomasz.zyjewski@...>>
---
&= nbsp;.../python/python3-uefi-firmware_1.9.bb
<http://python= 3-uefi-firmware_1.9.bb>         | 17 ++++++= +++++++++++
 1 file changed, 17 insertions(+)
 create m= ode 100644
meta-python/recipes-devtools/python/python3-uefi-firmware_1= .9.bb
<http://python3-uefi-firmware_1.9.bb>
diff --git
a/meta-python/recipes-devtools/python/python3-uefi-firmw= are_1.9.bb
<http://python3-uefi-firmware_1.9.bb>b/meta-python/recipes-devtools/python/python3-uefi-firmware_1.9.bb
= <http://python3-uefi-firmware_1.9.bb>
new file mod= e 100644
index 000000000000..ba3124b36e60
--- /dev/null
+++<= br />b/meta-python/recipes-devtools/python/python3-uefi-firmware_1.9.bb
<http://python3-uefi-firmware_1.9.bb>
@@ -0,0 +1,1= 7 @@
+SUMMARY =3D "Various data structures and parsing tools for UEFI<= br />firmware."
+DESCRIPTION =3D "This package contains Python UEFI fi= rmware parser
tool. The \
+UEFI firmware parser is a simple modul= e and set of scripts for
parsing, \
+extracting, and recreating U= EFI firmware volumes. This includes
parsing \
+modules for BIOS, = OptionROM, Intel ME and other formats too."
+HOMEPAGE =3D "https://github.com/theopolis/uefi-firmware-parser
<<= a href=3D"https://github.com/theopolis/uefi-firmware-parser>"" targ= et=3D"_blank" rel=3D"noopener">https://github.com/theopolis/uefi-firmware-p= arser>"
+AUTHOR =3D "Teddy Reed <teddy@... <mailto:teddy@= ...>>"
+LICENSE =3D "BSD-2-Clause & BSD-3-Clause"
+LIC_= FILES_CHKSUM =3D
"file://setup.py;md5=3D90fa5bae1547550f1c1993f651eda9= 55"
+
+SRC_URI =3D
"https://files.pythonh= osted.org/packages/7e/b4/a4ec646d24a1aad709fdb83de6e5eddd6cb24faec02f3a94a3= af3b0aba28/uefi_firmware-${PV}.tar.gz <https://fi= les.pythonhosted.org/packages/7e/b4/a4ec646d24a1aad709fdb83de6e5eddd6cb24fa= ec02f3a94a3af3b0aba28/uefi_firmware-$%7BPV%7D.tar.gz>"

If= you’re fetching from  pythonhosted, you could very likely
= simplify the recipe by inheriting pypi bbclass

+SRC_URI[md5sum] = =3D "ee5011b4d0bcb0eb7c06295e0107894f"

These days, we only reall= y use the sha256sum
+SRC_URI[sha256sum] =3D
"234119dd92780c67cce3= b664e86119c41d0b2af188d7f372b69789b32c5d5cd0" +
+S =3D "${WORKDIR}/uef= i_firmware-${PV}" + +inherit setuptools3 -- 2.25.1


Used gi= t fetcher here, I just send PATCH V2, not sure if it visible on
maili= ng list.
Its not. Where did you send it ?

I must had something wrong with my email settings. Now it is sent. Just = pushed V3 because of typo in subject-prefix.

uefi-firmware: https://lists.opene= mbedded.org/g/openembedded-devel/message/99883

binwalk: https://lists.openembedded.org/g/openembedded-devel/message/998= 82

--CD643M5BN7ZCleM5crsT--