diff --git a/recipes-devtools/python/python-psutil.inc b/recipes-devtools/python/python-psutil.inc new file mode 100644 index 0000000..67ae118 --- /dev/null +++ b/recipes-devtools/python/python-psutil.inc @@ -0,0 +1,20 @@ +SUMMARY = "A cross-platform process and system utilities module for Python" +LICENSE = "BSD" +LIC_FILES_CHKSUM = "file://LICENSE;md5=0f02e99f7f3c9a7fe8ecfc5d44c2be62" + +SRC_URI[md5sum] = "200e073cdd56cc7a9ba9a06088569200" +SRC_URI[sha256sum] = "686e5a35fe4c0acc25f3466c32e716f2d498aaae7b7edc03e2305b682226bcf6" + +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 \ +" diff --git a/recipes-devtools/python/python-psutil_5.4.6.bb b/recipes-devtools/python/python-psutil_5.4.6.bb new file mode 100644 index 0000000..9aabfb2 --- /dev/null +++ b/recipes-devtools/python/python-psutil_5.4.6.bb @@ -0,0 +1,6 @@ +inherit pypi setuptools +require python-psutil.inc + +RDEPENDS_${PN} += " \ + ${PYTHON_PN}-subprocess \ +" diff --git a/recipes-devtools/python/python3-psutil_5.4.6.bb b/recipes-devtools/python/python3-psutil_5.4.6.bb new file mode 100644 index 0000000..c1969ea --- /dev/null +++ b/recipes-devtools/python/python3-psutil_5.4.6.bb @@ -0,0 +1,4 @@ +inherit pypi setuptools3 +require python-psutil.inc + +RDEPENDS_${PN} += "${PYTHON_PN}-netclient"