summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python3-pefile_2023.2.7.bb
blob: e30b36232322dc803f4da509bd1b1ad22e052d96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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 \
"