summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python3-pefile_2024.8.26.bb
diff options
context:
space:
mode:
authorDerek Straka <derek@asterius.io>2024-12-18 18:05:48 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-01-08 12:37:20 +0000
commitcf6b12e5c95d0593970f945aa6930c818f7a819f (patch)
tree86c0e754eb04f0f8f372610c178b794b3091f9ca /meta/recipes-devtools/python/python3-pefile_2024.8.26.bb
parent095beae0085c94a105256b6df4bd71bd4a506104 (diff)
downloadpoky-cf6b12e5c95d0593970f945aa6930c818f7a819f.tar.gz
python3-*: Update recipes with pytest ptests to use the new ptest-python-pytest class
The newly added ptest-python-pytest removes duplication for: 1. Copying pytest files to the ptest directory 2. Adding standard pytest dependencies 3. Adding a common run-ptest script using pytest (From OE-Core rev: 8d84d9e19b9292b1863921611924714d77c41d21) Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python3-pefile_2024.8.26.bb')
-rw-r--r--meta/recipes-devtools/python/python3-pefile_2024.8.26.bb11
1 files changed, 1 insertions, 10 deletions
diff --git a/meta/recipes-devtools/python/python3-pefile_2024.8.26.bb b/meta/recipes-devtools/python/python3-pefile_2024.8.26.bb
index 87e651d9d5..6e72c93741 100644
--- a/meta/recipes-devtools/python/python3-pefile_2024.8.26.bb
+++ b/meta/recipes-devtools/python/python3-pefile_2024.8.26.bb
@@ -4,7 +4,7 @@ HOMEPAGE = "https://github.com/erocarrera/pefile"
4LICENSE = "MIT" 4LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=e34c75178086aca0a17551ffbacaca53" 5LIC_FILES_CHKSUM = "file://LICENSE;md5=e34c75178086aca0a17551ffbacaca53"
6 6
7inherit setuptools3 ptest 7inherit setuptools3 ptest-python-pytest
8SRCREV = "4b3b1e2e568a88d4f1897d694d684f23d9e270c4" 8SRCREV = "4b3b1e2e568a88d4f1897d694d684f23d9e270c4"
9SRC_URI = "git://github.com/erocarrera/pefile;branch=master;protocol=https \ 9SRC_URI = "git://github.com/erocarrera/pefile;branch=master;protocol=https \
10 file://run-ptest" 10 file://run-ptest"
@@ -12,17 +12,8 @@ S = "${WORKDIR}/git"
12 12
13BBCLASSEXTEND = "native nativesdk" 13BBCLASSEXTEND = "native nativesdk"
14 14
15do_install_ptest() {
16 install -d ${D}${PTEST_PATH}/tests
17 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
18}
19
20RDEPENDS:${PN} += " \ 15RDEPENDS:${PN} += " \
21 python3-mmap \ 16 python3-mmap \
22 python3-netclient \ 17 python3-netclient \
23 python3-stringold \ 18 python3-stringold \
24" 19"
25RDEPENDS:${PN}-ptest += "\
26 python3-pytest \
27 python3-unittest-automake-output \
28"