All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package: add python-psutil
@ 2014-12-03  8:42 Peter Korsgaard
  2014-12-05 22:47 ` Thomas Petazzoni
  2014-12-07 22:12 ` Thomas Petazzoni
  0 siblings, 2 replies; 4+ messages in thread
From: Peter Korsgaard @ 2014-12-03  8:42 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
 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

diff --git a/package/Config.in b/package/Config.in
index b8fc7d1..2bc8f31 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -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"
diff --git a/package/python-psutil/Config.in b/package/python-psutil/Config.in
new file mode 100644
index 0000000..c64eeee
--- /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 0000000..7897b15
--- /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 0000000..870984d
--- /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))
-- 
2.1.3

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH] package: add python-psutil
  2014-12-03  8:42 [Buildroot] [PATCH] package: add python-psutil Peter Korsgaard
@ 2014-12-05 22:47 ` Thomas Petazzoni
  2014-12-06  8:48   ` Peter Korsgaard
  2014-12-07 22:12 ` Thomas Petazzoni
  1 sibling, 1 reply; 4+ messages in thread
From: Thomas Petazzoni @ 2014-12-05 22:47 UTC (permalink / raw)
  To: buildroot

Dear Peter Korsgaard,

On Wed,  3 Dec 2014 09:42:51 +0100, Peter Korsgaard wrote:
> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
> ---
>  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

Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

 (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
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH] package: add python-psutil
  2014-12-05 22:47 ` Thomas Petazzoni
@ 2014-12-06  8:48   ` Peter Korsgaard
  0 siblings, 0 replies; 4+ messages in thread
From: Peter Korsgaard @ 2014-12-06  8:48 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

Hi,

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

 > Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

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

Thanks for the reviews!

 > 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.

-- 
Venlig hilsen,
Peter Korsgaard 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH] package: add python-psutil
  2014-12-03  8:42 [Buildroot] [PATCH] package: add python-psutil Peter Korsgaard
  2014-12-05 22:47 ` Thomas Petazzoni
@ 2014-12-07 22:12 ` Thomas Petazzoni
  1 sibling, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2014-12-07 22:12 UTC (permalink / raw)
  To: buildroot

Dear Peter Korsgaard,

On Wed,  3 Dec 2014 09:42:51 +0100, Peter Korsgaard wrote:
> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
> ---
>  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
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-12-07 22:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-03  8:42 [Buildroot] [PATCH] package: add python-psutil Peter Korsgaard
2014-12-05 22:47 ` Thomas Petazzoni
2014-12-06  8:48   ` Peter Korsgaard
2014-12-07 22:12 ` Thomas Petazzoni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.