mirror of
https://git.yoctoproject.org/poky
synced 2026-02-01 06:18:43 +01:00
Changelog: =========== -enforce Ruff rule raw-string-in-exception, which helps providing clearer tracebacks when exceptions are raised by psutil. -[PyPy]: psutil did not compile on PyPy due to missing PyErr_SetExcFromWindowsErrWithFilenameObject cPython API. (From OE-Core rev: 69bc749e385848239407de1693d0c3db9692b72c) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
42 lines
925 B
BlitzBasic
42 lines
925 B
BlitzBasic
SUMMARY = "A cross-platform process and system utilities module for Python"
|
|
LICENSE = "BSD-3-Clause"
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=a9c72113a843d0d732a0ac1c200d81b1"
|
|
HOMEPAGE = "https://pypi.org/project/psutil/"
|
|
|
|
SRC_URI[sha256sum] = "3f02134e82cfb5d089fddf20bb2e03fd5cd52395321d1c8458a9e58500ff417c"
|
|
|
|
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"
|