summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python3-idna_3.10.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-idna_3.10.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-idna_3.10.bb')
-rw-r--r--meta/recipes-devtools/python/python3-idna_3.10.bb8
1 files changed, 1 insertions, 7 deletions
diff --git a/meta/recipes-devtools/python/python3-idna_3.10.bb b/meta/recipes-devtools/python/python3-idna_3.10.bb
index 854dc35242..bd6529e720 100644
--- a/meta/recipes-devtools/python/python3-idna_3.10.bb
+++ b/meta/recipes-devtools/python/python3-idna_3.10.bb
@@ -5,13 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.md;md5=204c0612e40a4dd46012a78d02c80fb1"
5 5
6SRC_URI[sha256sum] = "12f65c9b470abda6dc35cf8e63cc574b1c52b11df2c86030af0ac09b01b13ea9" 6SRC_URI[sha256sum] = "12f65c9b470abda6dc35cf8e63cc574b1c52b11df2c86030af0ac09b01b13ea9"
7 7
8SRC_URI += "file://run-ptest" 8inherit pypi python_flit_core ptest-python-pytest
9
10inherit pypi python_flit_core ptest
11
12do_install_ptest() {
13 cp -r ${S}/tests ${D}${PTEST_PATH}/
14}
15 9
16RDEPENDS:${PN} += "python3-codecs" 10RDEPENDS:${PN} += "python3-codecs"
17RDEPENDS:${PN}-ptest += "python3-unittest-automake-output" 11RDEPENDS:${PN}-ptest += "python3-unittest-automake-output"