mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-05 02:50:46 +00:00
python3-pefile: Move from meta-python to meta-oe
- This recipe is needed by newer versions of fwupd from meta-oe - Add ptest support for python3-pefile - Add python3-pefile to PTESTS_FAST_META_OE since tests take < 30s Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -36,6 +36,7 @@ PTESTS_FAST_META_OE = "\
|
|||||||
oprofile \
|
oprofile \
|
||||||
protobuf \
|
protobuf \
|
||||||
pv \
|
pv \
|
||||||
|
python3-pefile \
|
||||||
sdbus-c++ \
|
sdbus-c++ \
|
||||||
uthash \
|
uthash \
|
||||||
xmlsec1 \
|
xmlsec1 \
|
||||||
|
|||||||
@@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
pytest --automake --ignore=./tests/pefile_test.py
|
||||||
+14
-2
@@ -4,13 +4,25 @@ HOMEPAGE = "https://github.com/erocarrera/pefile"
|
|||||||
LICENSE = "MIT"
|
LICENSE = "MIT"
|
||||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=38066667888b01d8118ff9cc23da1873"
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=38066667888b01d8118ff9cc23da1873"
|
||||||
|
|
||||||
inherit setuptools3 pypi ptest
|
inherit setuptools3 ptest
|
||||||
SRC_URI[sha256sum] = "82e6114004b3d6911c77c3953e3838654b04511b8b66e8583db70c65998017dc"
|
SRCREV = "1ab2807c4eec16041e791d7a6acc68cc23fd5266"
|
||||||
|
SRC_URI = "git://github.com/erocarrera/pefile;branch=master;protocol=https \
|
||||||
|
file://run-ptest"
|
||||||
|
S = "${WORKDIR}/git"
|
||||||
|
|
||||||
BBCLASSEXTEND = "native nativesdk"
|
BBCLASSEXTEND = "native nativesdk"
|
||||||
|
|
||||||
|
do_install_ptest() {
|
||||||
|
install -d ${D}${PTEST_PATH}/tests
|
||||||
|
cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
|
||||||
|
}
|
||||||
|
|
||||||
RDEPENDS:${PN} += " \
|
RDEPENDS:${PN} += " \
|
||||||
python3-mmap \
|
python3-mmap \
|
||||||
python3-netclient \
|
python3-netclient \
|
||||||
python3-stringold \
|
python3-stringold \
|
||||||
"
|
"
|
||||||
|
RDEPENDS:${PN}-ptest += "\
|
||||||
|
python3-pytest \
|
||||||
|
python3-unittest-automake-output \
|
||||||
|
"
|
||||||
Reference in New Issue
Block a user