python3-psutil: add python3 version of psutil

Split out common code to python-psutil.inc

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Andreas Müller 2016-10-31 23:10:38 +01:00 committed by Martin Jansa
parent 913d1ea5d1
commit 6864b60104
3 changed files with 19 additions and 9 deletions

View File

@ -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 \
"

View File

@ -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
"

View File

@ -0,0 +1,6 @@
inherit pypi setuptools3
require python-psutil.inc
RDEPENDS_${PN} += " \
python3-subprocess \
"