You've already forked meta-qcom-extras
mirror of
https://github.com/linux-msm/meta-qcom-extras.git
synced 2026-02-25 13:14:43 -08:00
python3-pefile: vendor in the recipe
Vendor the recipe from meta-oe, commit 0e6ba2d70844 ("python3-pefile:
upgrade 2023.2.7 -> 2024.8.26") This allows us to build the
esp-qcom-image without adding dependency on the meta-oe. Python-pefile
should be moved from meta-oe to OE-Core, then this recipe can be
dropped.
Suggested-by: Ricardo Salveti <ricardo@foundries.io>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
This commit is contained in:
3
recipes-vendor-in/python/python3-pefile/run-ptest
Normal file
3
recipes-vendor-in/python/python3-pefile/run-ptest
Normal file
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
pytest --automake --ignore=./tests/pefile_test.py
|
||||
28
recipes-vendor-in/python/python3-pefile_2024.8.26.bb
Normal file
28
recipes-vendor-in/python/python3-pefile_2024.8.26.bb
Normal file
@@ -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 \
|
||||
"
|
||||
Reference in New Issue
Block a user