mirror of
https://git.yoctoproject.org/poky
synced 2026-02-05 16:28:43 +01:00
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>
42 lines
935 B
BlitzBasic
42 lines
935 B
BlitzBasic
SUMMARY = "A cross-platform process and system utilities module for Python"
|
|
LICENSE = "BSD-3-Clause"
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=e35fd9f271d19d5f742f20a9d1f8bb8b"
|
|
HOMEPAGE = "https://pypi.org/project/psutil/"
|
|
|
|
SRC_URI[sha256sum] = "3d7f9739eb435d4b1338944abe23f49584bde5395f27487d2ee25ad9a8774a62"
|
|
|
|
inherit pypi setuptools3
|
|
|
|
PACKAGES =+ "${PN}-tests"
|
|
|
|
FILES:${PN}-tests += " \
|
|
${PYTHON_SITEPACKAGES_DIR}/psutil/test* \
|
|
${PYTHON_SITEPACKAGES_DIR}/psutil/__pycache__/test* \
|
|
"
|
|
|
|
|
|
RDEPENDS:${PN} += " \
|
|
${PYTHON_PN}-shell \
|
|
${PYTHON_PN}-threading \
|
|
${PYTHON_PN}-xml \
|
|
${PYTHON_PN}-netclient \
|
|
${PYTHON_PN}-ctypes \
|
|
${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"
|