poky/meta/recipes-devtools/python/python3-psutil_5.9.8.bb
Richard Purdie 0b33104a97 python: Drop ${PYTHON_PN}
python 2 is gone and we don't need the abstraction now, drop the remaining usage
of this variable.

The definition in python3-dir.bbclass is left for now for other layers.

(From OE-Core rev: b566b1e32c7993d1ab7795562f648e52ce186a70)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-20 11:39:45 +00:00

42 lines
890 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] = "6be126e3225486dff286a8fb9a06246a5253f4c7c53b475ea5f5ac934e64194c"
inherit pypi setuptools3
PACKAGES =+ "${PN}-tests"
FILES:${PN}-tests += " \
${PYTHON_SITEPACKAGES_DIR}/psutil/test* \
${PYTHON_SITEPACKAGES_DIR}/psutil/__pycache__/test* \
"
RDEPENDS:${PN} += " \
python3-shell \
python3-threading \
python3-xml \
python3-netclient \
python3-ctypes \
python3-resource \
"
RDEPENDS:${PN}-tests += " \
${PN} \
python3 \
coreutils \
procps \
binutils \
gcc \
gcc-symlinks \
libstdc++ \
libstdc++-dev \
"
INSANE_SKIP:${PN}-tests += "dev-deps"
BBCLASSEXTEND = "native"