Subject: bug#32602: closed (Re: [bug#32602] [PATCH] gnu: Add python-clustershell.)

From: [email-masked] (GNU bug Tracking System)
Date: Thu, 13 Sep 2018 17:03:03 +0000

Your bug report

#32602: [PATCH] gnu: Add python-clustershell.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
32602: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=32602
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#32602] [PATCH] gnu: Add python-clustershell.
From: [email-masked] (Ludovic Courtès)
To: Jonathan Brielmaier <[email-masked]>
Cc: Manuel Graf <[email-masked]>, [email-masked]
Date: Thu, 13 Sep 2018 19:02:22 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello,

Thanks for the review Jonathan.  Manuel, I made the changes that
Jonathan suggested on your behalf, and also a couple of other things:

  • Moved the package to ssh.scm;

  • Renamed it to “clusterssh” since it’s primarily/often used from the
    command line and not as a Python library.

  • Added a phase to record the absolute file name of the “ssh” binary.

Let me know if you have any comments!

Thank you!

Ludo’.

Subject: [PATCH] gnu: Add python-clustershell.
From: Manuel Graf <[email-masked]>
To: [email-masked]
Cc: Manuel Graf <[email-masked]>
Date: Fri, 31 Aug 2018 16:55:57 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/python.scm (python-clustershell): New variable.
---
 gnu/packages/python.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index f59e24d5f..9dbeb0cf3 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -14005,3 +14005,31 @@ scalable way of keeping track of data together with learned annotations and
 reduces the code overhead typically encountered when using a mostly
 object-oriented library such as @code{scikit-learn}.")
     (license license:bsd-3)))
+
+(define-public python-clustershell
+  (package
+    (name "python-clustershell")
+    (version "1.8")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://github.com/cea-hpc/clustershell/archive/v"
+                           version
+                           ".tar.gz"))
+       (sha256
+        (base32 "1qyf6zp5ikk8rk7zvx5ssbgr9si2bqv3a3415590kd07s7i16nmd"))))
+    (build-system python-build-system)
+    (propagated-inputs `(("python-pyyaml" ,python-pyyaml)
+                         ("openssh" ,openssh)))
+    (home-page "https://cea-hpc.github.io/clustershell/")
+    (synopsis
+     "Scalable event-driven Python Framework for cluster administration")
+    (description
+     "ClusterShell is an event-driven open source Python framework, designed to
+run local or distant commands in parallel on server farms or on large Linux
+clusters. It will take care of common issues encountered on HPC clusters, such
+as operating on groups of nodes, running distributed commands using optimized
+execution algorithms, as well as gathering results and merging identical
+outputs, or retrieving return codes. ClusterShell takes advantage of existing
+remote shell facilities already installed on your systems, like SSH.")
+    (license license:lgpl2.1)))
-- 
2.14.4