summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python3-markupsafe_3.0.2.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-markupsafe_3.0.2.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-markupsafe_3.0.2.bb')
-rw-r--r--meta/recipes-devtools/python/python3-markupsafe_3.0.2.bb16
1 files changed, 1 insertions, 15 deletions
diff --git a/meta/recipes-devtools/python/python3-markupsafe_3.0.2.bb b/meta/recipes-devtools/python/python3-markupsafe_3.0.2.bb
index e5feb8fe5f..b90dd84f48 100644
--- a/meta/recipes-devtools/python/python3-markupsafe_3.0.2.bb
+++ b/meta/recipes-devtools/python/python3-markupsafe_3.0.2.bb
@@ -6,22 +6,8 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=ffeffa59c90c9c4a033c7574f8f3fb75"
6SRC_URI[sha256sum] = "ee55d3edf80167e48ea11a923c7386f4669df67d7994554387f84e7d8b0a2bf0" 6SRC_URI[sha256sum] = "ee55d3edf80167e48ea11a923c7386f4669df67d7994554387f84e7d8b0a2bf0"
7 7
8PYPI_PACKAGE = "markupsafe" 8PYPI_PACKAGE = "markupsafe"
9inherit pypi python_setuptools_build_meta ptest 9inherit pypi python_setuptools_build_meta ptest-python-pytest
10 10
11RDEPENDS:${PN} += "python3-html python3-stringold" 11RDEPENDS:${PN} += "python3-html python3-stringold"
12 12
13BBCLASSEXTEND = "native nativesdk" 13BBCLASSEXTEND = "native nativesdk"
14
15SRC_URI += " \
16 file://run-ptest \
17"
18
19RDEPENDS:${PN}-ptest += " \
20 python3-pytest \
21 python3-unittest-automake-output \
22"
23
24do_install_ptest() {
25 install -d ${D}${PTEST_PATH}/tests
26 cp -f ${S}/tests/* ${D}${PTEST_PATH}/tests/
27}