mirror of
https://git.yoctoproject.org/poky
synced 2026-03-26 04:02:21 +01:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
73f1b93e7d
commit
b44a87156d
@@ -24,4 +24,18 @@ RDEPENDS:${PN} += " \
|
||||
${PYTHON_PN}-resource \
|
||||
"
|
||||
|
||||
RDEPENDS:${PN}-tests += " \
|
||||
${PN} \
|
||||
${PYTHON_PN} \
|
||||
coreutils \
|
||||
procps \
|
||||
binutils \
|
||||
gcc \
|
||||
gcc-symlinks \
|
||||
libstdc++ \
|
||||
libstdc++-dev \
|
||||
"
|
||||
|
||||
INSANE_SKIP:${PN}-tests += "dev-deps"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
||||
Reference in New Issue
Block a user