From c5446ed39a09bd8bfcb3d1e804d515e89930d6cb Mon Sep 17 00:00:00 2001 From: Herb Kuta Date: Sun, 26 May 2019 20:59:11 -0700 Subject: [PATCH] DRAFT [morty] Import python*-psutil v5.4.6 from meta-python@c821fe0f2f08b49ab545e44c888f7cfacfe6c0f2 --- recipes-devtools/python/python-psutil.inc | 20 +++++++++++++++++++ .../python/python-psutil_5.4.6.bb | 6 ++++++ .../python/python3-psutil_5.4.6.bb | 4 ++++ 3 files changed, 30 insertions(+) create mode 100644 recipes-devtools/python/python-psutil.inc create mode 100644 recipes-devtools/python/python-psutil_5.4.6.bb create mode 100644 recipes-devtools/python/python3-psutil_5.4.6.bb 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"