diff mbox series

[meta-oe,2/3] python3-pefile: Add initial support

Message ID 20230509065940.1584276-3-jun.nie@linaro.org
State Under Review
Headers show
Series Add necessary lib and python tool to handle CoSWID tag | expand

Commit Message

Jun Nie May 9, 2023, 6:59 a.m. UTC
To parse and work with Portable Executable (PE) files

Signed-off-by: Jun Nie <jun.nie@linaro.org>
---
 .../python/python3-pefile_2023.2.7.bb               | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-pefile_2023.2.7.bb

Comments

Khem Raj May 10, 2023, 12:23 a.m. UTC | #1
how was this tested ?

For new recipes its always good to do a bitbake -ccleanall <recipe> &&
bitbake recipe as a sanity check before sending.

I am seeing fetch errors like below

File: '/mnt/b/yoe/master/downloads/pefile-2023.2.7.tar.gz.tmp' has
sha256 checksum
'82e6114004b3d6911c77c3953e3838654b04511b8b66e8583db70c65998017dc'
when '11cd7ed7082d5256e9741e8b98c654f061723fafb5b2719c01a0b4cc6f
89e09d' was expected
If this change is expected (e.g. you have upgraded to a new version
without updating the checksums) then you can use these lines within
the recipe:
SRC_URI[sha256sum] =
"82e6114004b3d6911c77c3953e3838654b04511b8b66e8583db70c65998017dc"

On Mon, May 8, 2023 at 11:58 PM Jun Nie <jun.nie@linaro.org> wrote:
>
> To parse and work with Portable Executable (PE) files
>
> Signed-off-by: Jun Nie <jun.nie@linaro.org>
> ---
>  .../python/python3-pefile_2023.2.7.bb               | 13 +++++++++++++
>  1 file changed, 13 insertions(+)
>  create mode 100644 meta-python/recipes-devtools/python/python3-pefile_2023.2.7.bb
>
> diff --git a/meta-python/recipes-devtools/python/python3-pefile_2023.2.7.bb b/meta-python/recipes-devtools/python/python3-pefile_2023.2.7.bb
> new file mode 100644
> index 0000000000..37e27b1a03
> --- /dev/null
> +++ b/meta-python/recipes-devtools/python/python3-pefile_2023.2.7.bb
> @@ -0,0 +1,13 @@
> +SUMMARY = "Python PE parsing module"
> +DESCRIPTION = "A multi-platform Python module to parse and work with Portable Executable (PE) files."
> +HOMEPAGE = "https://github.com/erocarrera/pefile"
> +LICENSE = "MIT"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=38066667888b01d8118ff9cc23da1873"
> +
> +inherit setuptools3 pypi ptest
> +SRC_URI[sha256sum] = "11cd7ed7082d5256e9741e8b98c654f061723fafb5b2719c01a0b4cc6f89e09d"
> +
> +PIP_INSTALL_PACKAGE = "pefile"
> +PIP_INSTALL_DIST_PATH = "${S}/dist"
> +
> +BBCLASSEXTEND = "native nativesdk"
> --
> 2.34.1
>
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-pefile_2023.2.7.bb b/meta-python/recipes-devtools/python/python3-pefile_2023.2.7.bb
new file mode 100644
index 0000000000..37e27b1a03
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pefile_2023.2.7.bb
@@ -0,0 +1,13 @@ 
+SUMMARY = "Python PE parsing module"
+DESCRIPTION = "A multi-platform Python module to parse and work with Portable Executable (PE) files."
+HOMEPAGE = "https://github.com/erocarrera/pefile"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=38066667888b01d8118ff9cc23da1873"
+
+inherit setuptools3 pypi ptest
+SRC_URI[sha256sum] = "11cd7ed7082d5256e9741e8b98c654f061723fafb5b2719c01a0b4cc6f89e09d"
+
+PIP_INSTALL_PACKAGE = "pefile"
+PIP_INSTALL_DIST_PATH = "${S}/dist"
+
+BBCLASSEXTEND = "native nativesdk"