diff options
author | Derek Straka <derek@asterius.io> | 2025-01-17 20:30:24 +0000 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2025-01-17 16:39:41 -0800 |
commit | f684aa3085c77e424d3832b830a4d2ad7fdf722d (patch) | |
tree | 3536d587fbada47cf7e01d4f7fcef077cbcade01 /meta-python/recipes-devtools/python | |
parent | 424dbf8fb97b263c9bb31962edf4c47c0d1a19ee (diff) | |
download | meta-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-ptest | 3 | ||||
-rw-r--r-- | meta-python/recipes-devtools/python/python3-pyasn1-modules_0.4.1.bb | 15 |
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 | |||
3 | pytest --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 | |||
12 | PYPI_PACKAGE = "pyasn1_modules" | 12 | PYPI_PACKAGE = "pyasn1_modules" |
13 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | 13 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" |
14 | 14 | ||
15 | inherit pypi ptest python_setuptools_build_meta | 15 | inherit pypi ptest-python-pytest python_setuptools_build_meta |
16 | 16 | ||
17 | RDEPENDS:${PN} = "python3-pyasn1" | 17 | RDEPENDS:${PN} = "python3-pyasn1" |
18 | 18 | ||
19 | BBCLASSEXTEND = "native nativesdk" | 19 | BBCLASSEXTEND = "native nativesdk" |
20 | 20 | ||
21 | SRC_URI += " \ | ||
22 | file://run-ptest \ | ||
23 | " | ||
24 | |||
25 | RDEPENDS:${PN}-ptest += " \ | ||
26 | python3-pytest \ | ||
27 | python3-unittest-automake-output \ | ||
28 | " | ||
29 | |||
30 | do_install_ptest() { | ||
31 | install -d ${D}${PTEST_PATH}/tests | ||
32 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
33 | } | ||