summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Korsgaard <peter@korsgaard.com>2014-12-03 09:42:51 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-12-07 23:12:14 +0100
commit5be4d61943ce283da75dabb684a13fcc039c2faa (patch)
tree76157f3caa245f9b302b0e86570404205e47c692
parent2312af53747815527f41643a9d59eb074f2c4dae (diff)
python-psutil: new package
Signed-off-by: Peter Korsgaard <peter@korsgaard.com> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/Config.in1
-rw-r--r--package/python-psutil/Config.in8
-rw-r--r--package/python-psutil/python-psutil.hash3
-rw-r--r--package/python-psutil/python-psutil.mk14
4 files changed, 26 insertions, 0 deletions
diff --git a/package/Config.in b/package/Config.in
index 1ebf853e8..f06a48650 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -517,6 +517,7 @@ menu "external python modules"
source "package/python-numpy/Config.in"
source "package/python-posix-ipc/Config.in"
source "package/python-protobuf/Config.in"
+ source "package/python-psutil/Config.in"
source "package/python-pyasn/Config.in"
source "package/python-pycrypto/Config.in"
source "package/python-pygame/Config.in"
diff --git a/package/python-psutil/Config.in b/package/python-psutil/Config.in
new file mode 100644
index 000000000..c64eeeed6
--- /dev/null
+++ b/package/python-psutil/Config.in
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_PYTHON_PSUTIL
+ bool "python-psutil"
+ help
+ psutil is a cross-platform library for retrieving
+ information on running processes and system utilization
+ (CPU, memory, disks, network) in Python.
+
+ https://pypi.python.org/pypi/psutil
diff --git a/package/python-psutil/python-psutil.hash b/package/python-psutil/python-psutil.hash
new file mode 100644
index 000000000..7897b1573
--- /dev/null
+++ b/package/python-psutil/python-psutil.hash
@@ -0,0 +1,3 @@
+# md5 from https://pypi.python.org/pypi?:action=show_md5&digest=015a013c46bb9bc30b5c344f26dea0d3, sha256 locally computed
+md5 015a013c46bb9bc30b5c344f26dea0d3 psutil-2.1.3.tar.gz
+sha256 b434c75f01715777391f10f456002e33d0ca14633f96fdbd9ff9139b42d9452c psutil-2.1.3.tar.gz
diff --git a/package/python-psutil/python-psutil.mk b/package/python-psutil/python-psutil.mk
new file mode 100644
index 000000000..870984dce
--- /dev/null
+++ b/package/python-psutil/python-psutil.mk
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-psutil
+#
+################################################################################
+
+PYTHON_PSUTIL_VERSION = 2.1.3
+PYTHON_PSUTIL_SOURCE = psutil-$(PYTHON_PSUTIL_VERSION).tar.gz
+PYTHON_PSUTIL_SITE = http://pypi.python.org/packages/source/p/psutil
+PYTHON_PSUTIL_SETUP_TYPE = setuptools
+PYTHON_PSUTIL_LICENSE = BSD-3c
+PYTHON_PSUTIL_LICENSE_FILES = LICENSE
+
+$(eval $(python-package))