mirror of
https://git.yoctoproject.org/poky
synced 2026-02-05 16:28:43 +01:00
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>
29 lines
811 B
BlitzBasic
29 lines
811 B
BlitzBasic
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 \
|
|
"
|