mirror of
https://git.yoctoproject.org/poky
synced 2026-05-08 17:19:20 +00:00
python3-pefile: add recipe from meta-openembedded
It is needed by systemd ukify tool and uki.bbclass to generate UEFI boot binaries. Added to fast list in ptest-packagelists.inc. (From OE-Core rev: 4069c485046fe6d008dd0c48269f29d92146d923) Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
d41667a653
commit
996146db8f
@@ -70,6 +70,7 @@ PTESTS_FAST = "\
|
||||
python3-more-itertools \
|
||||
python3-packaging \
|
||||
python3-pluggy \
|
||||
python3-pefile \
|
||||
python3-pyasn1 \
|
||||
python3-pytz \
|
||||
python3-pyyaml \
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
pytest --automake --ignore=./tests/pefile_test.py
|
||||
@@ -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=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 \
|
||||
"
|
||||
Reference in New Issue
Block a user