* [PATCH] Add Gridmap + psutils.
@ 2015-07-10 12:59 Ricardo Wurmus
2015-07-10 13:11 ` Eric Bavier
0 siblings, 1 reply; 3+ messages in thread
From: Ricardo Wurmus @ 2015-07-10 12:59 UTC (permalink / raw)
To: Guix-devel
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: 0001-gnu-Add-python-psutil.patch --]
[-- Type: text/x-patch, Size: 1981 bytes --]
From 0f415a0c5a18083c5ead7cf0c84c201234a806e0 Mon Sep 17 00:00:00 2001
From: Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>
Date: Fri, 10 Jul 2015 14:57:05 +0200
Subject: [PATCH 1/2] gnu: Add python-psutil.
* gnu/packages/python.scm (python-psutil, python2-psutil): New variables.
---
gnu/packages/python.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 5cad200..a1e8843 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -249,6 +249,36 @@ data types.")
"\n\nThis wrapper package provides symbolic links to the python binaries
without version suffix."))))
+(define-public python-psutil
+ (package
+ (name "python-psutil")
+ (version "3.0.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://pypi.python.org/packages/source/p/psutil/psutil-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "00c8h1mzqysih99z8pnbmdv117d2naldf11yjy50dhykxsf3n89z"))))
+ (build-system python-build-system)
+ (native-inputs
+ `(("python-setuptools" ,python-setuptools)))
+ (home-page "https://pypi.python.org/pypi/psutil/")
+ (synopsis "Library for retrieving information on running processes")
+ (description
+ "psutil (Python system and process utilities) is a library for retrieving
+information on running processes and system utilization (CPU, memory, disks,
+network) in Python. It is useful mainly for system monitoring, profiling and
+limiting process resources and management of running processes. It implements
+many functionalities offered by command line tools such as: ps, top, lsof,
+netstat, ifconfig, who, df, kill, free, nice, ionice, iostat, iotop, uptime,
+pidof, tty, taskset, pmap.")
+ (license bsd-3)))
+
+(define-public python2-psutil
+ (package-with-python2 python-psutil))
(define-public python-pytz
(package
--
2.1.0
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0002-gnu-Add-python-gridmap.patch --]
[-- Type: text/x-patch, Size: 1934 bytes --]
From 772798dcaba2097d17ad969b0acdad3f10a047e3 Mon Sep 17 00:00:00 2001
From: Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>
Date: Fri, 10 Jul 2015 14:58:09 +0200
Subject: [PATCH 2/2] gnu: Add python-gridmap.
* gnu/packages/python.scm (python-gridmap, python2-gridmap): New variables.
---
gnu/packages/python.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index a1e8843..dea7f8f 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -3234,6 +3234,38 @@ Python language binding specification.")
(define-public python2-drmaa
(package-with-python2 python-drmaa))
+(define-public python-gridmap
+ (package
+ (name "python-gridmap")
+ (version "0.13.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://github.com/pygridtools/gridmap/archive/v"
+ version ".tar.gz"))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1gzjg2k6f14i1msm2b0ax8d9ds1hvk6qd5nlaivg8m4cxqp4cp1x"))))
+ (build-system python-build-system)
+ (inputs
+ `(("python-psutil" ,python-psutil)
+ ("python-drmaa" ,python-drmaa)
+ ("python-pyzmq" ,python-pyzmq)))
+ (native-inputs
+ `(;("python-nose" ,python-nose)
+ ("python-setuptools" ,python-setuptools)))
+ (home-page "https://github.com/pygridtools/gridmap")
+ (synopsis "Create jobs on a cluster directly from Python")
+ (description
+ "Gridmap is a Python package to allow you to easily create jobs on the
+cluster directly from Python. You can directly map Python functions onto the
+cluster without needing to write any wrapper code yourself.")
+ (license gpl3+)))
+
+(define-public python2-gridmap
+ (package-with-python2 python-gridmap))
+
(define-public python-ipython
(package
(name "python-ipython")
--
2.1.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] Add Gridmap + psutils.
2015-07-10 12:59 [PATCH] Add Gridmap + psutils Ricardo Wurmus
@ 2015-07-10 13:11 ` Eric Bavier
2015-07-10 13:30 ` Ricardo Wurmus
0 siblings, 1 reply; 3+ messages in thread
From: Eric Bavier @ 2015-07-10 13:11 UTC (permalink / raw)
To: Ricardo Wurmus; +Cc: Guix-devel, guix-devel-bounces+ericbavier=openmailbox.org
On 2015-07-10 07:59, Ricardo Wurmus wrote:
> * gnu/packages/python.scm (python-psutil, python2-psutil): New
> variables.
[...]
> + (native-inputs
> + `(("python-setuptools" ,python-setuptools)))
Nitpick: I believe the '`' should align with the 'n'.
--
`~Eric
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] Add Gridmap + psutils.
2015-07-10 13:11 ` Eric Bavier
@ 2015-07-10 13:30 ` Ricardo Wurmus
0 siblings, 0 replies; 3+ messages in thread
From: Ricardo Wurmus @ 2015-07-10 13:30 UTC (permalink / raw)
To: Eric Bavier; +Cc: Guix-devel, guix-devel-bounces+ericbavier=openmailbox.org
Eric Bavier <ericbavier@openmailbox.org> writes:
> On 2015-07-10 07:59, Ricardo Wurmus wrote:
>> * gnu/packages/python.scm (python-psutil, python2-psutil): New
>> variables.
> [...]
>> + (native-inputs
>> + `(("python-setuptools" ,python-setuptools)))
>
> Nitpick: I believe the '`' should align with the 'n'.
Oh, yes. I forgot to hit TAB.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-07-10 13:30 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-10 12:59 [PATCH] Add Gridmap + psutils Ricardo Wurmus
2015-07-10 13:11 ` Eric Bavier
2015-07-10 13:30 ` Ricardo Wurmus
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).