[oe] [PATCH 02/13] python3-psutil: add python3 version of psutil
Andreas Müller
schnitzeltony at googlemail.com
Mon Oct 31 22:10:38 UTC 2016
Split out common code to python-psutil.inc
Signed-off-by: Andreas Müller <schnitzeltony at googlemail.com>
---
meta-python/recipes-devtools/python/python-psutil.inc | 10 ++++++++++
meta-python/recipes-devtools/python/python-psutil_4.2.0.bb | 12 +++---------
meta-python/recipes-devtools/python/python3-psutil_4.2.0.bb | 6 ++++++
3 files changed, 19 insertions(+), 9 deletions(-)
create mode 100644 meta-python/recipes-devtools/python/python-psutil.inc
create mode 100644 meta-python/recipes-devtools/python/python3-psutil_4.2.0.bb
diff --git a/meta-python/recipes-devtools/python/python-psutil.inc b/meta-python/recipes-devtools/python/python-psutil.inc
new file mode 100644
index 0000000..33573fc
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-psutil.inc
@@ -0,0 +1,10 @@
+SUMMARY = "A cross-platform process and system utilities module for Python"
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=0f02e99f7f3c9a7fe8ecfc5d44c2be62"
+
+SRC_URI[md5sum] = "713f259f917a0c26acfbb7e6ae632ef7"
+SRC_URI[sha256sum] = "544f013a0aea7199e07e3efe5627f5d4165179a04c66050b234cc3be2eca1ace"
+
+RDEPENDS_${PN} += " \
+ python-subprocess \
+"
diff --git a/meta-python/recipes-devtools/python/python-psutil_4.2.0.bb b/meta-python/recipes-devtools/python/python-psutil_4.2.0.bb
index a5703da..d718011 100644
--- a/meta-python/recipes-devtools/python/python-psutil_4.2.0.bb
+++ b/meta-python/recipes-devtools/python/python-psutil_4.2.0.bb
@@ -1,12 +1,6 @@
-SUMMARY = "A cross-platform process and system utilities module for Python"
-LICENSE = "BSD"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=0f02e99f7f3c9a7fe8ecfc5d44c2be62"
-
-SRC_URI[md5sum] = "713f259f917a0c26acfbb7e6ae632ef7"
-SRC_URI[sha256sum] = "544f013a0aea7199e07e3efe5627f5d4165179a04c66050b234cc3be2eca1ace"
+inherit pypi setuptools
+require python-psutil.inc
RDEPENDS_${PN} += " \
python-subprocess \
- "
-
-inherit pypi setuptools
+"
diff --git a/meta-python/recipes-devtools/python/python3-psutil_4.2.0.bb b/meta-python/recipes-devtools/python/python3-psutil_4.2.0.bb
new file mode 100644
index 0000000..d95332c
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-psutil_4.2.0.bb
@@ -0,0 +1,6 @@
+inherit pypi setuptools3
+require python-psutil.inc
+
+RDEPENDS_${PN} += " \
+ python3-subprocess \
+"
--
2.5.5
More information about the Openembedded-devel
mailing list