diff options
author | Derek Straka <derek@asterius.io> | 2025-01-17 20:30:25 +0000 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2025-01-17 16:39:41 -0800 |
commit | 57d6a4ea1f7db943e08f535a0e559873ece01692 (patch) | |
tree | 81401e65380f4ffed9b26710c98c82f5ac7a22f5 /meta-python | |
parent | f684aa3085c77e424d3832b830a4d2ad7fdf722d (diff) | |
download | meta-openembedded-57d6a4ea1f7db943e08f535a0e559873ece01692.tar.gz |
python3-py-cpuinfo: 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-py-cpuinfo/run-ptest | 3 | ||||
-rw-r--r-- | meta-python/recipes-devtools/python/python3-py-cpuinfo_9.0.0.bb | 11 |
2 files changed, 2 insertions, 12 deletions
diff --git a/meta-python/recipes-devtools/python/python3-py-cpuinfo/run-ptest b/meta-python/recipes-devtools/python/python3-py-cpuinfo/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-py-cpuinfo/run-ptest +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | pytest --automake | ||
diff --git a/meta-python/recipes-devtools/python/python3-py-cpuinfo_9.0.0.bb b/meta-python/recipes-devtools/python/python3-py-cpuinfo_9.0.0.bb index 2d59a99b14..8aef266e37 100644 --- a/meta-python/recipes-devtools/python/python3-py-cpuinfo_9.0.0.bb +++ b/meta-python/recipes-devtools/python/python3-py-cpuinfo_9.0.0.bb | |||
@@ -8,9 +8,9 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=d2379ecb0d7a8299101b1e4c160cd1f7" | |||
8 | 8 | ||
9 | SRC_URI[sha256sum] = "3cdbbf3fac90dc6f118bfd64384f309edeadd902d7c8fb17f02ffa1fc3f49690" | 9 | SRC_URI[sha256sum] = "3cdbbf3fac90dc6f118bfd64384f309edeadd902d7c8fb17f02ffa1fc3f49690" |
10 | 10 | ||
11 | inherit ptest pypi python_setuptools_build_meta | 11 | inherit ptest-python-pytest pypi python_setuptools_build_meta |
12 | 12 | ||
13 | SRC_URI += "file://run-ptest \ | 13 | SRC_URI += " \ |
14 | file://0001-test_cli.py-disable.patch \ | 14 | file://0001-test_cli.py-disable.patch \ |
15 | " | 15 | " |
16 | 16 | ||
@@ -21,15 +21,8 @@ do_install:append() { | |||
21 | done | 21 | done |
22 | } | 22 | } |
23 | 23 | ||
24 | do_install_ptest() { | ||
25 | install -d ${D}${PTEST_PATH}/tests | ||
26 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
27 | } | ||
28 | |||
29 | RDEPENDS:${PN}-ptest += "\ | 24 | RDEPENDS:${PN}-ptest += "\ |
30 | python3-compile \ | 25 | python3-compile \ |
31 | python3-pytest \ | ||
32 | python3-unittest-automake-output \ | ||
33 | " | 26 | " |
34 | 27 | ||
35 | RDEPENDS:${PN} += "python3-core python3-ctypes python3-datetime python3-json python3-io python3-mmap python3-multiprocessing python3-netclient python3-pickle python3-pprint python3-shell" | 28 | RDEPENDS:${PN} += "python3-core python3-ctypes python3-datetime python3-json python3-io python3-mmap python3-multiprocessing python3-netclient python3-pickle python3-pprint python3-shell" |