diff options
author | Mark Asselstine <mark.asselstine@windriver.com> | 2023-04-07 19:36:01 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-04-13 11:56:07 +0100 |
commit | b44a87156d735fc9bc7d200c3481eec9fa2007de (patch) | |
tree | d0e1785e5afadfd05eab4d0ed69ebfa00e53d338 /meta/recipes-devtools/python/python3-psutil_5.9.4.bb | |
parent | 73f1b93e7d3db3ebb29408941529885214134778 (diff) | |
download | poky-b44a87156d735fc9bc7d200c3481eec9fa2007de.tar.gz |
python3-psutil: fix-up -tests runtime dependencies
The psutil.tests module makes use of gcc, other tools and a minimal
set of headers and build tools. If these are missing you will see
======================================================================
ERROR: psutil.tests.test_process.TestProcess.test_weird_environ
----------------------------------------------------------------------
Traceback (most recent call last):
File "./psutil/tests/test_process.py", line 1452, in test_weird_environ
create_exe(path, c_code=code)
File "./psutil/tests/__init__.py", line 831, in create_exe
raise ValueError("gcc is not installed")
ValueError: gcc is not installed
along with other errors related to the missing tools and headers.
Add the missing RDEPENDS for the -tests package such that simply
adding the -tests package to an image will be all that is needed.
(From OE-Core rev: c50135a3893d8bb7736b0ab34d960026fbbc7012)
Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python3-psutil_5.9.4.bb')
-rw-r--r-- | meta/recipes-devtools/python/python3-psutil_5.9.4.bb | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3-psutil_5.9.4.bb b/meta/recipes-devtools/python/python3-psutil_5.9.4.bb index 54d5784a0d..c0977c74d3 100644 --- a/meta/recipes-devtools/python/python3-psutil_5.9.4.bb +++ b/meta/recipes-devtools/python/python3-psutil_5.9.4.bb | |||
@@ -24,4 +24,18 @@ RDEPENDS:${PN} += " \ | |||
24 | ${PYTHON_PN}-resource \ | 24 | ${PYTHON_PN}-resource \ |
25 | " | 25 | " |
26 | 26 | ||
27 | RDEPENDS:${PN}-tests += " \ | ||
28 | ${PN} \ | ||
29 | ${PYTHON_PN} \ | ||
30 | coreutils \ | ||
31 | procps \ | ||
32 | binutils \ | ||
33 | gcc \ | ||
34 | gcc-symlinks \ | ||
35 | libstdc++ \ | ||
36 | libstdc++-dev \ | ||
37 | " | ||
38 | |||
39 | INSANE_SKIP:${PN}-tests += "dev-deps" | ||
40 | |||
27 | BBCLASSEXTEND = "native nativesdk" | 41 | BBCLASSEXTEND = "native nativesdk" |