summaryrefslogtreecommitdiff
path: root/meta-openembedded/meta-oe/recipes-devtools/python/python3-pefile_2024.8.26.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-openembedded/meta-oe/recipes-devtools/python/python3-pefile_2024.8.26.bb')
-rw-r--r--meta-openembedded/meta-oe/recipes-devtools/python/python3-pefile_2024.8.26.bb28
1 files changed, 28 insertions, 0 deletions
diff --git a/meta-openembedded/meta-oe/recipes-devtools/python/python3-pefile_2024.8.26.bb b/meta-openembedded/meta-oe/recipes-devtools/python/python3-pefile_2024.8.26.bb
new file mode 100644
index 0000000000..87e651d9d5
--- /dev/null
+++ b/meta-openembedded/meta-oe/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 \
+"