Subject: [bug#43967] [PATCH] Add python2-parallel

From: "Bonface M. K." <[email-masked]>
Date: Mon, 12 Oct 2020 21:22:29 +0300

Hi all.

Find attached a patch that adds
python2-parallel. Any feedback is welcome.

-- 
Bonface M. K. (https://www.bonfacemunyoki.com)
Chief Emacs Mchochezi / Twitter: @BonfaceKilz
GPG key = D4F09EB110177E03C28E2FE1F5BBAE1E0392253F
From 23d1ac31023d9c3bc1d35fba868d203a2d1d22ea Mon Sep 17 00:00:00 2001
From: BonfaceKilz <[email-masked]>
Date: Mon, 12 Oct 2020 21:04:01 +0300
Subject: [PATCH] gnu: Add python2-parallel.

* gnu/packages/python-xyz (python2-parallel): New package.
---
 gnu/packages/python-xyz.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 56c7bb84ab..e149328e35 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -85,6 +85,7 @@
 ;;; Copyright © 2020 Guy Fleury Iteriteka <[email-masked]>
 ;;; Copyright © 2020 Hendursaga <[email-masked]>
 ;;; Copyright © 2020 Malte Frank Gerdes <[email-masked]>
+;;; Copyright © 2020 Kilyungi Bonface Munyoki <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -22218,3 +22219,34 @@ NestedText is both simple and natural.  Only a small number of concepts and rule
 be kept in mind when creating it.  It is easily created, modified, or viewed with
 a text editor and easily understood and used by both programmers and non-programmers.")
     (license license:expat))) ; MIT license
+
+(define-public python2-parallel
+  (package
+    (name "python2-parallel")
+    (version "1.6.6")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://www.parallelpython.com/downloads/pp/pp-"
+             version ".zip"))
+       (sha256
+        (base32
+         "15fhpr6kv4j45f9i55mwi5smzskm0pfwwagya7wq3wwlfaz9pj5c"))))
+    (native-inputs
+     `(("unzip" ,unzip)))
+    (build-system python-build-system)
+    (arguments
+     `(#:python ,python-2
+       ; Package has no tests
+       #:tests? #f))
+    (home-page "https://www.parallelpython.com")
+    (synopsis "Parallel and distributed programming for Python")
+    (description "Parallel Python module (PP) provides an easy and efficient
+way to create parallel-enabled applications for SMP computers and clusters.
+PP module features cross-platform portability and dynamic load balancing.
+Thus application written with PP will parallelize efficiently even on
+heterogeneous and multi-platform clusters (including clusters running other
+application with variable CPU loads).  Visit http://www.parallelpython.com for
+further information.")
+    (license license:bsd-3)))
-- 
2.28.0