diff options
author | Derek Straka <derek@asterius.io> | 2025-01-31 01:39:30 +0000 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2025-01-30 18:23:33 -0800 |
commit | 18bd0aade78de00268f2d5f7769e5567aa561500 (patch) | |
tree | 0ecc5c909592a7e6ae0cd187bf9ee6ed4b0b732f /meta-python | |
parent | 00cb259fbdea566cdcd760d04b23f9feb6f8488c (diff) | |
download | meta-openembedded-18bd0aade78de00268f2d5f7769e5567aa561500.tar.gz |
python3-blinker: 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-blinker/run-ptest | 3 | ||||
-rw-r--r-- | meta-python/recipes-devtools/python/python3-blinker_1.9.0.bb | 14 |
2 files changed, 1 insertions, 16 deletions
diff --git a/meta-python/recipes-devtools/python/python3-blinker/run-ptest b/meta-python/recipes-devtools/python/python3-blinker/run-ptest deleted file mode 100644 index 69cd362f69..0000000000 --- a/meta-python/recipes-devtools/python/python3-blinker/run-ptest +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | pytest --automake | ||
diff --git a/meta-python/recipes-devtools/python/python3-blinker_1.9.0.bb b/meta-python/recipes-devtools/python/python3-blinker_1.9.0.bb index 33263ce6b3..2ee8133fbb 100644 --- a/meta-python/recipes-devtools/python/python3-blinker_1.9.0.bb +++ b/meta-python/recipes-devtools/python/python3-blinker_1.9.0.bb | |||
@@ -4,20 +4,8 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=42cd19c88fc13d1307a4efd64ee90e4e" | |||
4 | 4 | ||
5 | SRC_URI[sha256sum] = "b4ce2265a7abece45e7cc896e98dbebe6cead56bcf805a3d23136d145f5445bf" | 5 | SRC_URI[sha256sum] = "b4ce2265a7abece45e7cc896e98dbebe6cead56bcf805a3d23136d145f5445bf" |
6 | 6 | ||
7 | inherit pypi python_setuptools_build_meta ptest | 7 | inherit pypi python_setuptools_build_meta ptest-python-pytest |
8 | |||
9 | SRC_URI += "file://run-ptest" | ||
10 | 8 | ||
11 | RDEPENDS:${PN} += "\ | 9 | RDEPENDS:${PN} += "\ |
12 | python3-asyncio \ | 10 | python3-asyncio \ |
13 | " | 11 | " |
14 | |||
15 | RDEPENDS:${PN}-ptest += " \ | ||
16 | python3-pytest \ | ||
17 | python3-unittest-automake-output \ | ||
18 | " | ||
19 | |||
20 | do_install_ptest() { | ||
21 | install -d ${D}${PTEST_PATH}/tests | ||
22 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
23 | } | ||