diff options
| author | Wang Mingyu <wangmy@fujitsu.com> | 2024-10-09 13:49:05 +0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-10-11 12:17:02 +0100 |
| commit | 2bff1790a005d58048e850df80d0f8fef3ed1953 (patch) | |
| tree | 5551db72e4fbadcb8bab47750c9681304144a127 /meta/recipes-devtools/python/python3-pefile_2024.8.26.bb | |
| parent | 018bfb123042fc1851f1ad9be28a39aaa9583ac4 (diff) | |
| download | poky-2bff1790a005d58048e850df80d0f8fef3ed1953.tar.gz | |
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 <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python3-pefile_2024.8.26.bb')
| -rw-r--r-- | meta/recipes-devtools/python/python3-pefile_2024.8.26.bb | 28 |
1 files changed, 28 insertions, 0 deletions
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 @@ | |||
| 1 | SUMMARY = "Python PE parsing module" | ||
| 2 | DESCRIPTION = "A multi-platform Python module to parse and work with Portable Executable (PE) files." | ||
| 3 | HOMEPAGE = "https://github.com/erocarrera/pefile" | ||
| 4 | LICENSE = "MIT" | ||
| 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=e34c75178086aca0a17551ffbacaca53" | ||
| 6 | |||
| 7 | inherit setuptools3 ptest | ||
| 8 | SRCREV = "4b3b1e2e568a88d4f1897d694d684f23d9e270c4" | ||
| 9 | SRC_URI = "git://github.com/erocarrera/pefile;branch=master;protocol=https \ | ||
| 10 | file://run-ptest" | ||
| 11 | S = "${WORKDIR}/git" | ||
| 12 | |||
| 13 | BBCLASSEXTEND = "native nativesdk" | ||
| 14 | |||
| 15 | do_install_ptest() { | ||
| 16 | install -d ${D}${PTEST_PATH}/tests | ||
| 17 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
| 18 | } | ||
| 19 | |||
| 20 | RDEPENDS:${PN} += " \ | ||
| 21 | python3-mmap \ | ||
| 22 | python3-netclient \ | ||
| 23 | python3-stringold \ | ||
| 24 | " | ||
| 25 | RDEPENDS:${PN}-ptest += "\ | ||
| 26 | python3-pytest \ | ||
| 27 | python3-unittest-automake-output \ | ||
| 28 | " | ||
