From 2bff1790a005d58048e850df80d0f8fef3ed1953 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Wed, 9 Oct 2024 13:49:05 +0800 Subject: python3-pefile: upgrade 2023.2.7 -> 2024.8.26 License-Update: Copyright year updated to 2024 Changelog: =========== - Close the data attribute before reassigning it - Floor division (//) does mathematical division with the floor function applied to the result. - Update new dvrt type and Load Config filed adapt to Windows11 - fix PE.get_data - Fix ambiguous string syntax for PEid parsing regexp - fixed a memory leak that caused the pe file to be access locked. - Exphash from sha256 to md5 to match imphash - More readable calls to superclass - Fix cache_adjust_FileAlignment to work with files not aligned to 0x200 - [StepSecurity] Apply security best practices - Create sets using curly brackets - Change IOError to OSError - Apply isort to sort all imports - Remove "OC Patch" comments - Update tox.ini Python versions - Use with statement to write to file - Remove distutils use - Use chaining comparison operators - Replace list comprehension with set comprehension - Use not in operator - Replace base class name with super() - Increase readability and consistency - Tiny comment improvements - Update oleaut32.py from oleaut32.dll - Improve parse_rich_header - Include ordinals for wsock32.dll - Update ws2_32.py from ws2_32.dll - Update pefile.py for typo - Add parsing for IMAGE_DEBUG_TYPE_EX_DLLCHARACTERISTICS (From OE-Core rev: 5cb8a606874d35f4e22e6ee9691bb3d9d281ce7c) Signed-off-by: Wang Mingyu Signed-off-by: Richard Purdie --- .../python/python3-pefile_2023.2.7.bb | 28 ---------------------- .../python/python3-pefile_2024.8.26.bb | 28 ++++++++++++++++++++++ 2 files changed, 28 insertions(+), 28 deletions(-) delete mode 100644 meta/recipes-devtools/python/python3-pefile_2023.2.7.bb create mode 100644 meta/recipes-devtools/python/python3-pefile_2024.8.26.bb (limited to 'meta') diff --git a/meta/recipes-devtools/python/python3-pefile_2023.2.7.bb b/meta/recipes-devtools/python/python3-pefile_2023.2.7.bb deleted file mode 100644 index e30b362323..0000000000 --- a/meta/recipes-devtools/python/python3-pefile_2023.2.7.bb +++ /dev/null @@ -1,28 +0,0 @@ -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 ptest -SRCREV = "1ab2807c4eec16041e791d7a6acc68cc23fd5266" -SRC_URI = "git://github.com/erocarrera/pefile;branch=master;protocol=https \ - file://run-ptest" -S = "${WORKDIR}/git" - -BBCLASSEXTEND = "native nativesdk" - -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ -} - -RDEPENDS:${PN} += " \ - python3-mmap \ - python3-netclient \ - python3-stringold \ -" -RDEPENDS:${PN}-ptest += "\ - python3-pytest \ - python3-unittest-automake-output \ -" diff --git a/meta/recipes-devtools/python/python3-pefile_2024.8.26.bb b/meta/recipes-devtools/python/python3-pefile_2024.8.26.bb new file mode 100644 index 0000000000..87e651d9d5 --- /dev/null +++ b/meta/recipes-devtools/python/python3-pefile_2024.8.26.bb @@ -0,0 +1,28 @@ +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=e34c75178086aca0a17551ffbacaca53" + +inherit setuptools3 ptest +SRCREV = "4b3b1e2e568a88d4f1897d694d684f23d9e270c4" +SRC_URI = "git://github.com/erocarrera/pefile;branch=master;protocol=https \ + file://run-ptest" +S = "${WORKDIR}/git" + +BBCLASSEXTEND = "native nativesdk" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/tests + cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ +} + +RDEPENDS:${PN} += " \ + python3-mmap \ + python3-netclient \ + python3-stringold \ +" +RDEPENDS:${PN}-ptest += "\ + python3-pytest \ + python3-unittest-automake-output \ +" -- cgit v1.2.3-54-g00ecf