diff options
| author | Derek Straka <derek@asterius.io> | 2025-01-31 01:39:35 +0000 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-01-30 18:23:33 -0800 |
| commit | e5abb3281aabdfd1e5cbe30744197ae43db67a49 (patch) | |
| tree | 4e0f91a5fe8651472610034e86efb803b0a6d5b7 /meta-python | |
| parent | 0b7b1e25264f7be41df806dc8eccbf1607b933ce (diff) | |
| download | meta-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>
Diffstat (limited to 'meta-python')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-asgiref/run-ptest | 3 | ||||
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-asgiref_3.8.1.bb | 12 |
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 | |||
| 3 | pytest --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" | |||
| 4 | LICENSE = "BSD-3-Clause" | 4 | LICENSE = "BSD-3-Clause" |
| 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=f09eb47206614a4954c51db8a94840fa" | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=f09eb47206614a4954c51db8a94840fa" |
| 6 | 6 | ||
| 7 | SRC_URI += "file://run-ptest \ | ||
| 8 | " | ||
| 9 | 7 | ||
| 10 | SRC_URI[sha256sum] = "c343bd80a0bec947a9860adb4c432ffa7db769836c64238fc34bdc3fec84d590" | 8 | SRC_URI[sha256sum] = "c343bd80a0bec947a9860adb4c432ffa7db769836c64238fc34bdc3fec84d590" |
| 11 | 9 | ||
| 12 | export BUILD_SYS | 10 | export BUILD_SYS |
| 13 | export HOST_SYS | 11 | export HOST_SYS |
| 14 | 12 | ||
| 15 | inherit pypi ptest setuptools3 | 13 | inherit pypi ptest-python-pytest setuptools3 |
| 16 | 14 | ||
| 17 | RDEPENDS:${PN}-ptest += " \ | 15 | RDEPENDS:${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 | ||
| 25 | do_install_ptest() { | ||
| 26 | install -d ${D}${PTEST_PATH}/tests | ||
| 27 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
| 28 | } | ||
| 29 | |||
| 30 | BBCLASSEXTEND = "native nativesdk" | 22 | BBCLASSEXTEND = "native nativesdk" |
