summaryrefslogtreecommitdiffstats
path: root/meta-python
diff options
context:
space:
mode:
authorDerek Straka <derek@asterius.io>2025-01-31 01:39:32 +0000
committerKhem Raj <raj.khem@gmail.com>2025-01-30 18:23:33 -0800
commit217c9d3d1df4dbcc7d97dcb95257076300934a1e (patch)
tree50ac92c006d592f65a8b04f43030ad84c7d337bb /meta-python
parent34f377625064e9960ff86ab7e1cd646cbcb7f0c1 (diff)
downloadmeta-openembedded-217c9d3d1df4dbcc7d97dcb95257076300934a1e.tar.gz
python3-cbor2: 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-cbor2/run-ptest3
-rw-r--r--meta-python/recipes-devtools/python/python3-cbor2_5.6.5.bb12
2 files changed, 1 insertions, 14 deletions
diff --git a/meta-python/recipes-devtools/python/python3-cbor2/run-ptest b/meta-python/recipes-devtools/python/python3-cbor2/run-ptest
deleted file mode 100644
index 8d2017d39c..0000000000
--- a/meta-python/recipes-devtools/python/python3-cbor2/run-ptest
+++ /dev/null
@@ -1,3 +0,0 @@
1#!/bin/sh
2
3pytest --automake
diff --git a/meta-python/recipes-devtools/python/python3-cbor2_5.6.5.bb b/meta-python/recipes-devtools/python/python3-cbor2_5.6.5.bb
index 6dd9f0cd15..834bad6865 100644
--- a/meta-python/recipes-devtools/python/python3-cbor2_5.6.5.bb
+++ b/meta-python/recipes-devtools/python/python3-cbor2_5.6.5.bb
@@ -4,21 +4,11 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=a79e64179819c7ce293372c059f1dbd8"
4DEPENDS += "python3-setuptools-scm-native" 4DEPENDS += "python3-setuptools-scm-native"
5 5
6SRC_URI[sha256sum] = "b682820677ee1dbba45f7da11898d2720f92e06be36acec290867d5ebf3d7e09" 6SRC_URI[sha256sum] = "b682820677ee1dbba45f7da11898d2720f92e06be36acec290867d5ebf3d7e09"
7SRC_URI += " \
8 file://run-ptest \
9"
10
11inherit pypi python_setuptools_build_meta ptest
12 7
13do_install_ptest() { 8inherit pypi python_setuptools_build_meta ptest-python-pytest
14 install -d ${D}${PTEST_PATH}/tests
15 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
16}
17 9
18RDEPENDS:${PN}-ptest += " \ 10RDEPENDS:${PN}-ptest += " \
19 python3-hypothesis \ 11 python3-hypothesis \
20 python3-pytest \
21 python3-unittest-automake-output \
22 python3-unixadmin \ 12 python3-unixadmin \
23" 13"
24RDEPENDS:${PN} += " \ 14RDEPENDS:${PN} += " \