From c9033d87f34cbd02cebdc2e800c3399e5587e080 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Fri, 7 Jan 2022 19:47:26 +0200 Subject: python3-psutil: Upgrade 5.8.0 -> 5.9.0 Upgrade to release 5.9.0: - [Linux]: cpu_freq() is slow on systems with many CPUs. Read current frequency values for all CPUs from /proc/cpuinfo instead of opening many files in /sys fs. (patch by marxin) - NoSuchProcess message now specifies if the PID has been reused. - error classes (NoSuchProcess, AccessDenied, etc.) now have a better formatted and separated __repr__ and __str__ implementations. - [BSD]: add support for MidnightBSD. - [Linux]: disk_partitions(): convert /dev/root device (an alias used on some Linux distros) to real root device path. - PSUTIL_DEBUG mode now prints file name and line number of the debug messages coming from C extension modules. - rewrite HISTORY.rst to use hyperlinks pointing to psutil API doc. Signed-off-by: Leon Anavi Signed-off-by: Khem Raj Signed-off-by: Trevor Gamblin --- .../python/python3-psutil_5.8.0.bb | 24 -------------------- .../python/python3-psutil_5.9.0.bb | 26 ++++++++++++++++++++++ 2 files changed, 26 insertions(+), 24 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-psutil_5.8.0.bb create mode 100644 meta-python/recipes-devtools/python/python3-psutil_5.9.0.bb diff --git a/meta-python/recipes-devtools/python/python3-psutil_5.8.0.bb b/meta-python/recipes-devtools/python/python3-psutil_5.8.0.bb deleted file mode 100644 index 7186d3c975..0000000000 --- a/meta-python/recipes-devtools/python/python3-psutil_5.8.0.bb +++ /dev/null @@ -1,24 +0,0 @@ -SUMMARY = "A cross-platform process and system utilities module for Python" -LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://LICENSE;md5=e35fd9f271d19d5f742f20a9d1f8bb8b" - -SRC_URI[sha256sum] = "0c9ccb99ab76025f2f0bbecf341d4656e9c1351db8cc8a03ccd62e318ab4b5c6" - -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 \ -" - -BBCLASSEXTEND = "native nativesdk" diff --git a/meta-python/recipes-devtools/python/python3-psutil_5.9.0.bb b/meta-python/recipes-devtools/python/python3-psutil_5.9.0.bb new file mode 100644 index 0000000000..cf3e0b39c8 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-psutil_5.9.0.bb @@ -0,0 +1,26 @@ +SUMMARY = "A cross-platform process and system utilities module for Python" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=e35fd9f271d19d5f742f20a9d1f8bb8b" + +SRC_URI[sha256sum] = "869842dbd66bb80c3217158e629d6fceaecc3a3166d3d1faee515b05dd26ca25" + +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 \ +" + +BBCLASSEXTEND = "native nativesdk" -- cgit 1.2.3-korg