aboutsummaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python-psutil.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta-python/recipes-devtools/python/python-psutil.inc')
-rw-r--r--meta-python/recipes-devtools/python/python-psutil.inc13
1 files changed, 11 insertions, 2 deletions
diff --git a/meta-python/recipes-devtools/python/python-psutil.inc b/meta-python/recipes-devtools/python/python-psutil.inc
index 23f8e07fbf..a50d905dd2 100644
--- a/meta-python/recipes-devtools/python/python-psutil.inc
+++ b/meta-python/recipes-devtools/python/python-psutil.inc
@@ -2,11 +2,20 @@ SUMMARY = "A cross-platform process and system utilities module for Python"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://LICENSE;md5=0f02e99f7f3c9a7fe8ecfc5d44c2be62"
-SRC_URI[md5sum] = "c0aa7823e416b4e2ee908c2d387d2662"
-SRC_URI[sha256sum] = "42e2de159e3c987435cb3b47d6f37035db190a1499f3af714ba7af5c379b6ba2"
+SRC_URI[md5sum] = "38aee50427a58533064491286dc2e3c5"
+SRC_URI[sha256sum] = "00a1f9ff8d1e035fba7bfdd6977fa8ea7937afdb4477339e5df3dba78194fe11"
+
+PACKAGES =+ "${PN}-tests"
+
+FILES_${PN}-tests += " \
+ ${PYTHON_SITEPACKAGES_DIR}/psutil/test* \
+ ${PYTHON_SITEPACKAGES_DIR}/psutil/__pycache__/test* \
+"
+
RDEPENDS_${PN} += " \
${PYTHON_PN}-shell \
${PYTHON_PN}-subprocess \
${PYTHON_PN}-threading \
+ ${PYTHON_PN}-xml \
"