Skip to contentSkip to conversation

python-psutil: update to version 5.4.2

PATCH New Derek Straka 1 participant 1 message Dec 19, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python-psutil: update to version 5.4.2

Create a tests package
Update RDEPENDS

---
 meta-python/recipes-devtools/python/python-psutil.inc       | 13 +++++++++++--
 .../{python-psutil_5.4.1.bb => python-psutil_5.4.2.bb}      |  0
 .../{python3-psutil_5.4.1.bb => python3-psutil_5.4.2.bb}    |  0
 3 files changed, 11 insertions(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python-psutil_5.4.1.bb => python-psutil_5.4.2.bb} (100%)
 rename meta-python/recipes-devtools/python/{python3-psutil_5.4.1.bb => python3-psutil_5.4.2.bb} (100%)
meta-python/recipes-devtools/python/python-psutil.inc +11 -2
index 23f8e07..a50d905 100644
@@ -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 \
 "
meta-python/recipes-devtools/python/python-psutil_5.4.2.bb renamed from meta-python/recipes-devtools/python/python-psutil_5.4.1.bb +0 -0
similarity index 100%
rename from meta-python/recipes-devtools/python/python-psutil_5.4.1.bb
rename to meta-python/recipes-devtools/python/python-psutil_5.4.2.bb
meta-python/recipes-devtools/python/python3-psutil_5.4.2.bb renamed from meta-python/recipes-devtools/python/python3-psutil_5.4.1.bb +0 -0
similarity index 100%
rename from meta-python/recipes-devtools/python/python3-psutil_5.4.1.bb
rename to meta-python/recipes-devtools/python/python3-psutil_5.4.2.bb
Signature · 1 line
2.7.4