Skip to contentSkip to conversation

package: add python-psutil

PATCH New Peter Korsgaard 2 participants 4 messages Dec 3, 2014 – Dec 7, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package: add python-psutil

---
 package/Config.in                        |  1 +
 package/python-psutil/Config.in          |  8 ++++++++
 package/python-psutil/python-psutil.hash |  3 +++
 package/python-psutil/python-psutil.mk   | 14 ++++++++++++++
 4 files changed, 26 insertions(+)
 create mode 100644 package/python-psutil/Config.in
 create mode 100644 package/python-psutil/python-psutil.hash
 create mode 100644 package/python-psutil/python-psutil.mk
package/Config.in +1 -0
index b8fc7d1..2bc8f31 100644
@@ -513,6 +513,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"
package/python-psutil/Config.in new file +8 -0
new file mode 100644
index 0000000..c64eeee
@@ -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
package/python-psutil/python-psutil.hash new file +3 -0
new file mode 100644
index 0000000..7897b15
@@ -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
package/python-psutil/python-psutil.mk new file +14 -0
new file mode 100644
index 0000000..870984d
@@ -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))
Signature · 1 line
2.1.3
#1 lore raw

PATCH 1/1 package: add python-psutil

Dear Peter Korsgaard,

Quoted 10 lines · Peter Korsgaard
---
 package/Config.in                        |  1 +
 package/python-psutil/Config.in          |  8 ++++++++
 package/python-psutil/python-psutil.hash |  3 +++
 package/python-psutil/python-psutil.mk   | 14 ++++++++++++++
 4 files changed, 26 insertions(+)
 create mode 100644 package/python-psutil/Config.in
 create mode 100644 package/python-psutil/python-psutil.hash
 create mode 100644 package/python-psutil/python-psutil.mk

(code reviewed, license checked, built and runtime tested on ARM/uClibc)

Note however that the commit title for package additions should normally be "<pkg>: new package", but it can be fixed while applying, of course :-)

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#2 lore raw

PATCH 1/1 package: add python-psutil

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thomas" == Thomas Petazzoni <[email protected]> writes:

Hi,

Quoted 8 lines
Quoted 3 lines

create mode 100644 package/python-psutil/Config.in create mode 100644 package/python-psutil/python-psutil.hash create mode 100644 package/python-psutil/python-psutil.mk

(code reviewed, license checked, built and runtime tested on ARM/uClibc)

Thanks for the reviews!

Quoted 3 lines

Note however that the commit title for package additions should normally be "<pkg>: new package", but it can be fixed while applying, of course :-)

I don't think we have really formalized that, and looking at the git history we do have a mix of 'package: add foo' and 'foo: new package' or even 'foo: add new package' - But I'll change it when applying.

Signature · 2 lines
Venlig hilsen,
Peter Korsgaard 
#3 lore raw

PATCH 1/1 package: add python-psutil

In reply to Peter Korsgaard

Dear Peter Korsgaard,

Quoted 10 lines · Peter Korsgaard
---
 package/Config.in                        |  1 +
 package/python-psutil/Config.in          |  8 ++++++++
 package/python-psutil/python-psutil.hash |  3 +++
 package/python-psutil/python-psutil.mk   | 14 ++++++++++++++
 4 files changed, 26 insertions(+)
 create mode 100644 package/python-psutil/Config.in
 create mode 100644 package/python-psutil/python-psutil.hash
 create mode 100644 package/python-psutil/python-psutil.mk

Applied after tweaking the commit title, thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com