summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python
diff options
context:
space:
mode:
authorDerek Straka <derek@asterius.io>2025-01-17 20:30:24 +0000
committerKhem Raj <raj.khem@gmail.com>2025-01-17 16:39:41 -0800
commitf684aa3085c77e424d3832b830a4d2ad7fdf722d (patch)
tree3536d587fbada47cf7e01d4f7fcef077cbcade01 /meta-python/recipes-devtools/python
parent424dbf8fb97b263c9bb31962edf4c47c0d1a19ee (diff)
downloadmeta-openembedded-f684aa3085c77e424d3832b830a4d2ad7fdf722d.tar.gz
python3-pyasn1-modules: 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/recipes-devtools/python')
-rw-r--r--meta-python/recipes-devtools/python/python3-pyasn1-modules/run-ptest3
-rw-r--r--meta-python/recipes-devtools/python/python3-pyasn1-modules_0.4.1.bb15
2 files changed, 1 insertions, 17 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pyasn1-modules/run-ptest b/meta-python/recipes-devtools/python/python3-pyasn1-modules/run-ptest
deleted file mode 100644
index 8d2017d39c..0000000000
--- a/meta-python/recipes-devtools/python/python3-pyasn1-modules/run-ptest
+++ /dev/null
@@ -1,3 +0,0 @@
1#!/bin/sh
2
3pytest --automake
diff --git a/meta-python/recipes-devtools/python/python3-pyasn1-modules_0.4.1.bb b/meta-python/recipes-devtools/python/python3-pyasn1-modules_0.4.1.bb
index 225da562c4..0ef2eaa1da 100644
--- a/meta-python/recipes-devtools/python/python3-pyasn1-modules_0.4.1.bb
+++ b/meta-python/recipes-devtools/python/python3-pyasn1-modules_0.4.1.bb
@@ -12,22 +12,9 @@ SRC_URI[sha256sum] = "c28e2dbf9c06ad61c71a075c7e0f9fd0f1b0bb2d2ad4377f240d33ac2a
12PYPI_PACKAGE = "pyasn1_modules" 12PYPI_PACKAGE = "pyasn1_modules"
13UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" 13UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
14 14
15inherit pypi ptest python_setuptools_build_meta 15inherit pypi ptest-python-pytest python_setuptools_build_meta
16 16
17RDEPENDS:${PN} = "python3-pyasn1" 17RDEPENDS:${PN} = "python3-pyasn1"
18 18
19BBCLASSEXTEND = "native nativesdk" 19BBCLASSEXTEND = "native nativesdk"
20 20
21SRC_URI += " \
22 file://run-ptest \
23"
24
25RDEPENDS:${PN}-ptest += " \
26 python3-pytest \
27 python3-unittest-automake-output \
28"
29
30do_install_ptest() {
31 install -d ${D}${PTEST_PATH}/tests
32 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
33}