summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDerek Straka <derek@asterius.io>2025-01-31 01:39:35 +0000
committerKhem Raj <raj.khem@gmail.com>2025-01-30 18:23:33 -0800
commite5abb3281aabdfd1e5cbe30744197ae43db67a49 (patch)
tree4e0f91a5fe8651472610034e86efb803b0a6d5b7
parent0b7b1e25264f7be41df806dc8eccbf1607b933ce (diff)
downloadmeta-openembedded-e5abb3281aabdfd1e5cbe30744197ae43db67a49.tar.gz
python3-asgiref: update recipe to use the ptest-python-pytest class
Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-python/recipes-devtools/python/python3-asgiref/run-ptest3
-rw-r--r--meta-python/recipes-devtools/python/python3-asgiref_3.8.1.bb12
2 files changed, 2 insertions, 13 deletions
diff --git a/meta-python/recipes-devtools/python/python3-asgiref/run-ptest b/meta-python/recipes-devtools/python/python3-asgiref/run-ptest
deleted file mode 100644
index 8d2017d39c..0000000000
--- a/meta-python/recipes-devtools/python/python3-asgiref/run-ptest
+++ /dev/null
@@ -1,3 +0,0 @@
1#!/bin/sh
2
3pytest --automake
diff --git a/meta-python/recipes-devtools/python/python3-asgiref_3.8.1.bb b/meta-python/recipes-devtools/python/python3-asgiref_3.8.1.bb
index 3b90eda5bb..5d68b3e3f9 100644
--- a/meta-python/recipes-devtools/python/python3-asgiref_3.8.1.bb
+++ b/meta-python/recipes-devtools/python/python3-asgiref_3.8.1.bb
@@ -4,27 +4,19 @@ SECTION = "devel/python"
4LICENSE = "BSD-3-Clause" 4LICENSE = "BSD-3-Clause"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=f09eb47206614a4954c51db8a94840fa" 5LIC_FILES_CHKSUM = "file://LICENSE;md5=f09eb47206614a4954c51db8a94840fa"
6 6
7SRC_URI += "file://run-ptest \
8 "
9 7
10SRC_URI[sha256sum] = "c343bd80a0bec947a9860adb4c432ffa7db769836c64238fc34bdc3fec84d590" 8SRC_URI[sha256sum] = "c343bd80a0bec947a9860adb4c432ffa7db769836c64238fc34bdc3fec84d590"
11 9
12export BUILD_SYS 10export BUILD_SYS
13export HOST_SYS 11export HOST_SYS
14 12
15inherit pypi ptest setuptools3 13inherit pypi ptest-python-pytest setuptools3
16 14
17RDEPENDS:${PN}-ptest += " \ 15RDEPENDS:${PN}-ptest += " \
18 python3-asyncio \ 16 python3-asyncio \
19 python3-io \ 17 python3-io \
20 python3-multiprocessing \ 18 python3-multiprocessing \
21 python3-pytest \ 19 python3-pytest-asyncio \
22 python3-unittest-automake-output \
23" 20"
24 21
25do_install_ptest() {
26 install -d ${D}${PTEST_PATH}/tests
27 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
28}
29
30BBCLASSEXTEND = "native nativesdk" 22BBCLASSEXTEND = "native nativesdk"