summaryrefslogtreecommitdiffstats
path: root/meta-python
diff options
context:
space:
mode:
authorDerek Straka <derek@asterius.io>2025-01-31 01:39:30 +0000
committerKhem Raj <raj.khem@gmail.com>2025-01-30 18:23:33 -0800
commit18bd0aade78de00268f2d5f7769e5567aa561500 (patch)
tree0ecc5c909592a7e6ae0cd187bf9ee6ed4b0b732f /meta-python
parent00cb259fbdea566cdcd760d04b23f9feb6f8488c (diff)
downloadmeta-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-ptest3
-rw-r--r--meta-python/recipes-devtools/python/python3-blinker_1.9.0.bb14
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
3pytest --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
5SRC_URI[sha256sum] = "b4ce2265a7abece45e7cc896e98dbebe6cead56bcf805a3d23136d145f5445bf" 5SRC_URI[sha256sum] = "b4ce2265a7abece45e7cc896e98dbebe6cead56bcf805a3d23136d145f5445bf"
6 6
7inherit pypi python_setuptools_build_meta ptest 7inherit pypi python_setuptools_build_meta ptest-python-pytest
8
9SRC_URI += "file://run-ptest"
10 8
11RDEPENDS:${PN} += "\ 9RDEPENDS:${PN} += "\
12 python3-asyncio \ 10 python3-asyncio \
13" 11"
14
15RDEPENDS:${PN}-ptest += " \
16 python3-pytest \
17 python3-unittest-automake-output \
18"
19
20do_install_ptest() {
21 install -d ${D}${PTEST_PATH}/tests
22 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
23}