unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#43967] [PATCH] Add python2-parallel
@ 2020-10-12 18:22 Bonface M. K.
  2020-10-13  7:13 ` Efraim Flashner
                   ` (4 more replies)
  0 siblings, 5 replies; 18+ messages in thread
From: Bonface M. K. @ 2020-10-12 18:22 UTC (permalink / raw)
  To: 43967


[-- Attachment #1.1: Type: text/plain, Size: 242 bytes --]

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

[-- Attachment #1.2: 0001-gnu-Add-python2-parallel.patch --]
[-- Type: text/x-patch, Size: 2457 bytes --]

From 23d1ac31023d9c3bc1d35fba868d203a2d1d22ea Mon Sep 17 00:00:00 2001
From: BonfaceKilz <bonfacemunyoki@gmail.com>
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 <gfleury@disroot.org>
 ;;; Copyright © 2020 Hendursaga <hendursaga@yahoo.com>
 ;;; Copyright © 2020 Malte Frank Gerdes <malte.f.gerdes@gmail.com>
+;;; Copyright © 2020 Kilyungi Bonface Munyoki <bonfacemunyoki@gmail.com>
 ;;;
 ;;; 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


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 869 bytes --]

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

* [bug#43967] [PATCH] Add python2-parallel
  2020-10-12 18:22 [bug#43967] [PATCH] Add python2-parallel Bonface M. K.
@ 2020-10-13  7:13 ` Efraim Flashner
  2020-10-13  8:08   ` Bonface M. K.
  2020-10-16  1:31 ` [bug#43967] [PATCH v2 0/2] " BonfaceKilz
                   ` (3 subsequent siblings)
  4 siblings, 1 reply; 18+ messages in thread
From: Efraim Flashner @ 2020-10-13  7:13 UTC (permalink / raw)
  To: Bonface M. K.; +Cc: 43967

[-- Attachment #1: Type: text/plain, Size: 3466 bytes --]

On Mon, Oct 12, 2020 at 09:22:29PM +0300, Bonface M. K. wrote:
> 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 <bonfacemunyoki@gmail.com>
> 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 <gfleury@disroot.org>
>  ;;; Copyright © 2020 Hendursaga <hendursaga@yahoo.com>
>  ;;; Copyright © 2020 Malte Frank Gerdes <malte.f.gerdes@gmail.com>
> +;;; Copyright © 2020 Kilyungi Bonface Munyoki <bonfacemunyoki@gmail.com>
>  ;;;
>  ;;; 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"))

There is a tar.gz and a tar.bz2 version also available. Any reason in
particular for the zip version?

> +       (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.")

I think we can drop the "visit the webpage" line.

> +    (license license:bsd-3)))
> -- 
> 2.28.0
> 

I haven't been able to find a back catalog of their releases and ended
up dropping back from 1.6.1 to 1.5.7 since there's a copy stored on IPFS
I can add to the store when needed.


-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

* [bug#43967] [PATCH] Add python2-parallel
  2020-10-13  7:13 ` Efraim Flashner
@ 2020-10-13  8:08   ` Bonface M. K.
  2020-10-13  8:19     ` Efraim Flashner
  0 siblings, 1 reply; 18+ messages in thread
From: Bonface M. K. @ 2020-10-13  8:08 UTC (permalink / raw)
  To: Efraim Flashner; +Cc: 43967

[-- Attachment #1: Type: text/plain, Size: 3887 bytes --]

Efraim Flashner <efraim@flashner.co.il> writes:

> On Mon, Oct 12, 2020 at 09:22:29PM +0300, Bonface M. K. wrote:
>> 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 <bonfacemunyoki@gmail.com>
>> 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 <gfleury@disroot.org>
>>  ;;; Copyright © 2020 Hendursaga <hendursaga@yahoo.com>
>>  ;;; Copyright © 2020 Malte Frank Gerdes <malte.f.gerdes@gmail.com>
>> +;;; Copyright © 2020 Kilyungi Bonface Munyoki <bonfacemunyoki@gmail.com>
>>  ;;;
>>  ;;; 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"))
>
> There is a tar.gz and a tar.bz2 version also available. Any reason in
> particular for the zip version?
>

I don't have a good reason. I wanted to upstream
this package from gn2- and unzip was used
there. Is there a preference to use tar.gz or
tar.bz2 (as oppossed to zip)? I'm guessing better
compression? I can resubmit this with the tar.gz.

>> +       (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.")
>
> I think we can drop the "visit the webpage" line.
>

Sure!

>> +    (license license:bsd-3)))
>> -- 
>> 2.28.0
>> 
>
> I haven't been able to find a back catalog of their releases and ended
> up dropping back from 1.6.1 to 1.5.7 since there's a copy stored on IPFS
> I can add to the store when needed.

Ah yes. This would be useful. And I'm guessing
that would go to guix-past right?

-- 
Bonface M. K. (https://www.bonfacemunyoki.com)
Chief Emacs Mchochezi / Twitter: @BonfaceKilz
GPG key = D4F09EB110177E03C28E2FE1F5BBAE1E0392253F

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 869 bytes --]

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

* [bug#43967] [PATCH] Add python2-parallel
  2020-10-13  8:08   ` Bonface M. K.
@ 2020-10-13  8:19     ` Efraim Flashner
  0 siblings, 0 replies; 18+ messages in thread
From: Efraim Flashner @ 2020-10-13  8:19 UTC (permalink / raw)
  To: Bonface M. K.; +Cc: 43967

[-- Attachment #1: Type: text/plain, Size: 4622 bytes --]

On Tue, Oct 13, 2020 at 11:08:19AM +0300, Bonface M. K. wrote:
> Efraim Flashner <efraim@flashner.co.il> writes:
> 
> > On Mon, Oct 12, 2020 at 09:22:29PM +0300, Bonface M. K. wrote:
> >> 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 <bonfacemunyoki@gmail.com>
> >> 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 <gfleury@disroot.org>
> >>  ;;; Copyright © 2020 Hendursaga <hendursaga@yahoo.com>
> >>  ;;; Copyright © 2020 Malte Frank Gerdes <malte.f.gerdes@gmail.com>
> >> +;;; Copyright © 2020 Kilyungi Bonface Munyoki <bonfacemunyoki@gmail.com>
> >>  ;;;
> >>  ;;; 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"))
> >
> > There is a tar.gz and a tar.bz2 version also available. Any reason in
> > particular for the zip version?
> >
> 
> I don't have a good reason. I wanted to upstream
> this package from gn2- and unzip was used
> there. Is there a preference to use tar.gz or
> tar.bz2 (as oppossed to zip)? I'm guessing better
> compression? I can resubmit this with the tar.gz.
> 

The decompressors (there's got to be a better word) for gzip and bzip2
are already in the build environment so it means we don't need to pull
in unzip also.

> >> +       (sha256
> >> +        (base32
> >> +         "15fhpr6kv4j45f9i55mwi5smzskm0pfwwagya7wq3wwlfaz9pj5c"))))
> >> +    (native-inputs
> >> +     `(("unzip" ,unzip)))
> >> +    (build-system python-build-system)
> >> +    (arguments
> >> +     `(#:python ,python-2

Also, does it build with python3? I think we're trying to not add too
many more python2-only packages now that python2 is end of life.

> >> +       ; 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.")
> >
> > I think we can drop the "visit the webpage" line.
> >
> 
> Sure!
> 
> >> +    (license license:bsd-3)))
> >> -- 
> >> 2.28.0
> >> 
> >
> > I haven't been able to find a back catalog of their releases and ended
> > up dropping back from 1.6.1 to 1.5.7 since there's a copy stored on IPFS
> > I can add to the store when needed.
> 
> Ah yes. This would be useful. And I'm guessing
> that would go to guix-past right?
> 

The problem Really is that once they update the package the source for
the current package disappears.


-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

* [bug#43967] [PATCH v2 0/2] Add python2-parallel
  2020-10-12 18:22 [bug#43967] [PATCH] Add python2-parallel Bonface M. K.
  2020-10-13  7:13 ` Efraim Flashner
@ 2020-10-16  1:31 ` BonfaceKilz
  2020-10-16  1:31   ` [bug#43967] [PATCH v2 1/2] * gnu/packages/python-xyz (python-parallel): New package BonfaceKilz
  2020-10-16  1:31   ` [bug#43967] [PATCH v2 2/2] * gnu/packages/python-xyz (python2-parallel): " BonfaceKilz
  2020-10-16  2:02 ` [bug#43967] [PATCH v3 0/2] Add python2-parallel BonfaceKilz
                   ` (2 subsequent siblings)
  4 siblings, 2 replies; 18+ messages in thread
From: BonfaceKilz @ 2020-10-16  1:31 UTC (permalink / raw)
  To: 43967; +Cc: BonfaceKilz

Hi, Find the new patch series. I've been able to
build the python3 version of the python-parallel;
I've used this definition to create the python2
variant using the convenient function:
"package-with-python2".

BonfaceKilz (2):
  * gnu/packages/python-xyz (python-parallel): New package.
  * gnu/packages/python-xyz (python2-parallel): New package.

 gnu/packages/python-xyz.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

-- 
2.28.0





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

* [bug#43967] [PATCH v2 1/2] * gnu/packages/python-xyz (python-parallel): New package.
  2020-10-16  1:31 ` [bug#43967] [PATCH v2 0/2] " BonfaceKilz
@ 2020-10-16  1:31   ` BonfaceKilz
  2020-10-16  2:55     ` Brett Gilio
  2020-10-16  1:31   ` [bug#43967] [PATCH v2 2/2] * gnu/packages/python-xyz (python2-parallel): " BonfaceKilz
  1 sibling, 1 reply; 18+ messages in thread
From: BonfaceKilz @ 2020-10-16  1:31 UTC (permalink / raw)
  To: 43967; +Cc: BonfaceKilz

---
 gnu/packages/python-xyz.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index d98be1c3b8..51bee25f66 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -87,6 +87,7 @@
 ;;; Copyright © 2020 Malte Frank Gerdes <malte.f.gerdes@gmail.com>
 ;;; Copyright © 2020 Joseph LaFreniere <joseph@lafreniere.xyz>
 ;;; Copyright © 2020 Tim Gesthuizen <tim.gesthuizen@yahoo.de>
+;;; Copyright © 2020 Bonface Munyoki Kilyungi <bonfacemunyoki@gmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -22332,3 +22333,32 @@ 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 python-parallel
+  (package
+    (name "python-parallel")
+    (version "1.6.4.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://www.parallelpython.com/downloads/pp/pp-"
+             version ".zip"))
+       (sha256
+        (base32
+         "1mzk4yabxj6r149fswhis18hd8dnag5sj8i4wb06450zq3pi8dh7"))))
+    (native-inputs
+     `(("unzip" ,unzip)))
+    (build-system python-build-system)
+    (arguments
+     `(#: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





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

* [bug#43967] [PATCH v2 2/2] * gnu/packages/python-xyz (python2-parallel): New package.
  2020-10-16  1:31 ` [bug#43967] [PATCH v2 0/2] " BonfaceKilz
  2020-10-16  1:31   ` [bug#43967] [PATCH v2 1/2] * gnu/packages/python-xyz (python-parallel): New package BonfaceKilz
@ 2020-10-16  1:31   ` BonfaceKilz
  2020-10-16  2:56     ` Brett Gilio
  1 sibling, 1 reply; 18+ messages in thread
From: BonfaceKilz @ 2020-10-16  1:31 UTC (permalink / raw)
  To: 43967; +Cc: BonfaceKilz

---
 gnu/packages/python-xyz.scm | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 51bee25f66..89320e32d1 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -22362,3 +22362,6 @@ 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)))
+
+(define-public python2-parallel
+  (package-with-python2 python-parallel))
-- 
2.28.0





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

* [bug#43967] [PATCH v3 0/2] Add python2-parallel
  2020-10-12 18:22 [bug#43967] [PATCH] Add python2-parallel Bonface M. K.
  2020-10-13  7:13 ` Efraim Flashner
  2020-10-16  1:31 ` [bug#43967] [PATCH v2 0/2] " BonfaceKilz
@ 2020-10-16  2:02 ` BonfaceKilz
  2020-10-16  2:02   ` [bug#43967] [PATCH v3 1/2] * gnu/packages/python-xyz (python-parallel): New package BonfaceKilz
  2020-10-16  2:02   ` [bug#43967] [PATCH v3 2/2] * gnu/packages/python-xyz (python2-parallel): " BonfaceKilz
  2020-10-18 10:25 ` [bug#43967] [PATCH v4 0/1] gnu: Add python2-parallel BonfaceKilz
  2020-10-18 10:29 ` BonfaceKilz
  4 siblings, 2 replies; 18+ messages in thread
From: BonfaceKilz @ 2020-10-16  2:02 UTC (permalink / raw)
  To: 43967; +Cc: BonfaceKilz

I've just remembered that there was an earlier
suggestion to drop the "visit the webpage"
line. These patches do just that. Apologies for
the unnecessary noise.

BonfaceKilz (2):
  * gnu/packages/python-xyz (python-parallel): New package.
  * gnu/packages/python-xyz (python2-parallel): New package.

 gnu/packages/python-xyz.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

-- 
2.28.0





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

* [bug#43967] [PATCH v3 1/2] * gnu/packages/python-xyz (python-parallel): New package.
  2020-10-16  2:02 ` [bug#43967] [PATCH v3 0/2] Add python2-parallel BonfaceKilz
@ 2020-10-16  2:02   ` BonfaceKilz
  2020-10-16  2:02   ` [bug#43967] [PATCH v3 2/2] * gnu/packages/python-xyz (python2-parallel): " BonfaceKilz
  1 sibling, 0 replies; 18+ messages in thread
From: BonfaceKilz @ 2020-10-16  2:02 UTC (permalink / raw)
  To: 43967; +Cc: BonfaceKilz

---
 gnu/packages/python-xyz.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index d98be1c3b8..09004b14d9 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -87,6 +87,7 @@
 ;;; Copyright © 2020 Malte Frank Gerdes <malte.f.gerdes@gmail.com>
 ;;; Copyright © 2020 Joseph LaFreniere <joseph@lafreniere.xyz>
 ;;; Copyright © 2020 Tim Gesthuizen <tim.gesthuizen@yahoo.de>
+;;; Copyright © 2020 Bonface Munyoki Kilyungi <bonfacemunyoki@gmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -22332,3 +22333,31 @@ 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 python-parallel
+  (package
+    (name "python-parallel")
+    (version "1.6.4.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://www.parallelpython.com/downloads/pp/pp-"
+             version ".zip"))
+       (sha256
+        (base32
+         "1mzk4yabxj6r149fswhis18hd8dnag5sj8i4wb06450zq3pi8dh7"))))
+    (native-inputs
+     `(("unzip" ,unzip)))
+    (build-system python-build-system)
+    (arguments
+     `(#: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).")
+    (license license:bsd-3)))
-- 
2.28.0





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

* [bug#43967] [PATCH v3 2/2] * gnu/packages/python-xyz (python2-parallel): New package.
  2020-10-16  2:02 ` [bug#43967] [PATCH v3 0/2] Add python2-parallel BonfaceKilz
  2020-10-16  2:02   ` [bug#43967] [PATCH v3 1/2] * gnu/packages/python-xyz (python-parallel): New package BonfaceKilz
@ 2020-10-16  2:02   ` BonfaceKilz
  1 sibling, 0 replies; 18+ messages in thread
From: BonfaceKilz @ 2020-10-16  2:02 UTC (permalink / raw)
  To: 43967; +Cc: BonfaceKilz

---
 gnu/packages/python-xyz.scm | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 09004b14d9..a172f45078 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -22361,3 +22361,6 @@ Thus application written with PP will parallelize efficiently even on
 heterogeneous and multi-platform clusters (including clusters running other
 application with variable CPU loads).")
     (license license:bsd-3)))
+
+(define-public python2-parallel
+  (package-with-python2 python-parallel))
-- 
2.28.0





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

* [bug#43967] [PATCH v2 1/2] * gnu/packages/python-xyz (python-parallel): New package.
  2020-10-16  1:31   ` [bug#43967] [PATCH v2 1/2] * gnu/packages/python-xyz (python-parallel): New package BonfaceKilz
@ 2020-10-16  2:55     ` Brett Gilio
  2020-10-16 10:45       ` Bonface M. K.
  0 siblings, 1 reply; 18+ messages in thread
From: Brett Gilio @ 2020-10-16  2:55 UTC (permalink / raw)
  To: BonfaceKilz; +Cc: 43967

BonfaceKilz <bonfacemunyoki@gmail.com> writes:
> +(define-public python-parallel
> +  (package
> +    (name "python-parallel")
> +    (version "1.6.4.4")
> +    (source
> +     (origin
> +       (method url-fetch)
> +       (uri (string-append
> +             "https://www.parallelpython.com/downloads/pp/pp-"
> +             version ".zip"))
> +       (sha256
> +        (base32
> +         "1mzk4yabxj6r149fswhis18hd8dnag5sj8i4wb06450zq3pi8dh7"))))
> +    (native-inputs
> +     `(("unzip" ,unzip)))
> +    (build-system python-build-system)
> +    (arguments
> +     `(#: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)))

This looks fine. However, in the description, I think the last sentence
is not needed. Additionally, in the description "Thus application"
should read "Thus applications" (noting the ultimate s).

-- 
Brett M. Gilio
brettg@gnu.org
https://brettgilio.com/
E82A C026 95D6 FF02 43CA 1E5C F6C5 2DD1 BA27 CB87




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

* [bug#43967] [PATCH v2 2/2] * gnu/packages/python-xyz (python2-parallel): New package.
  2020-10-16  1:31   ` [bug#43967] [PATCH v2 2/2] * gnu/packages/python-xyz (python2-parallel): " BonfaceKilz
@ 2020-10-16  2:56     ` Brett Gilio
  0 siblings, 0 replies; 18+ messages in thread
From: Brett Gilio @ 2020-10-16  2:56 UTC (permalink / raw)
  To: BonfaceKilz; +Cc: 43967

BonfaceKilz <bonfacemunyoki@gmail.com> writes:

> ---
>  gnu/packages/python-xyz.scm | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
> index 51bee25f66..89320e32d1 100644
> --- a/gnu/packages/python-xyz.scm
> +++ b/gnu/packages/python-xyz.scm
> @@ -22362,3 +22362,6 @@ 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)))
> +
> +(define-public python2-parallel
> +  (package-with-python2 python-parallel))

I believe we are not currently taking new python2 packages since it has
hit EOL, the exception is for situations where there is a strong
dependency that can not be resolved without it. I might be mistaken.

-- 
Brett M. Gilio
brettg@gnu.org
https://brettgilio.com/
E82A C026 95D6 FF02 43CA 1E5C F6C5 2DD1 BA27 CB87




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

* [bug#43967] [PATCH v2 1/2] * gnu/packages/python-xyz (python-parallel): New package.
  2020-10-16  2:55     ` Brett Gilio
@ 2020-10-16 10:45       ` Bonface M. K.
  2020-10-16 23:27         ` Brett Gilio
  0 siblings, 1 reply; 18+ messages in thread
From: Bonface M. K. @ 2020-10-16 10:45 UTC (permalink / raw)
  To: Brett Gilio; +Cc: 43967

[-- Attachment #1: Type: text/plain, Size: 504 bytes --]

Brett Gilio <brettg@gnu.org> writes:

[...]
> This looks fine. However, in the description, I think the last sentence
> is not needed. Additionally, in the description "Thus application"
> should read "Thus applications" (noting the ultimate s).

Noted. I'll resubmit this later.

-- 
Bonface M. K. <https://www.bonfacemunyoki.com> 
Chief Emacs Mchochezi / Rieng ya software sare
Curator of <https://upbookclub.com> / Twitter: @BonfaceKilz
GPG Key: D4F09EB110177E03C28E2FE1F5BBAE1E0392253F

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 865 bytes --]

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

* [bug#43967] [PATCH v2 1/2] * gnu/packages/python-xyz (python-parallel): New package.
  2020-10-16 10:45       ` Bonface M. K.
@ 2020-10-16 23:27         ` Brett Gilio
  0 siblings, 0 replies; 18+ messages in thread
From: Brett Gilio @ 2020-10-16 23:27 UTC (permalink / raw)
  To: Bonface M. K.; +Cc: 43967

"Bonface M. K." <bonfacemunyoki@gmail.com> writes:

> Noted. I'll resubmit this later.

Thanks!

-- 
Brett M. Gilio
brettg@gnu.org
https://brettgilio.com/
E82A C026 95D6 FF02 43CA 1E5C F6C5 2DD1 BA27 CB87




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

* [bug#43967] [PATCH v4 0/1] gnu: Add python2-parallel.
  2020-10-12 18:22 [bug#43967] [PATCH] Add python2-parallel Bonface M. K.
                   ` (2 preceding siblings ...)
  2020-10-16  2:02 ` [bug#43967] [PATCH v3 0/2] Add python2-parallel BonfaceKilz
@ 2020-10-18 10:25 ` BonfaceKilz
  2020-10-18 10:29 ` BonfaceKilz
  4 siblings, 0 replies; 18+ messages in thread
From: BonfaceKilz @ 2020-10-18 10:25 UTC (permalink / raw)
  To: 43967; +Cc: BonfaceKilz, Brett Gilio

Hi guix! This patch strips out the python2 package definition and /just/ adds
the python3 package in addition to fixing some grammatical errors in the
package description.

BonfaceKilz (1):
  * gnu/packages/python-xyz (python-parallel): New package.

 gnu/packages/python-xyz.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

-- 
2.28.0





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

* [bug#43967] [PATCH v4 0/1] gnu: Add python2-parallel.
  2020-10-12 18:22 [bug#43967] [PATCH] Add python2-parallel Bonface M. K.
                   ` (3 preceding siblings ...)
  2020-10-18 10:25 ` [bug#43967] [PATCH v4 0/1] gnu: Add python2-parallel BonfaceKilz
@ 2020-10-18 10:29 ` BonfaceKilz
  2020-10-18 10:29   ` [bug#43967] [PATCH v4 1/1] * gnu/packages/python-xyz (python-parallel): New package BonfaceKilz
  4 siblings, 1 reply; 18+ messages in thread
From: BonfaceKilz @ 2020-10-18 10:29 UTC (permalink / raw)
  To: 43967; +Cc: BonfaceKilz, Brett Gilio

Hi guix! This patch strips out the python2 package definition and /just/ adds
the python3 package in addition to fixing some grammatical errors in the
package description.

BonfaceKilz (1):
  * gnu/packages/python-xyz (python-parallel): New package.

 gnu/packages/python-xyz.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

-- 
2.28.0





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

* [bug#43967] [PATCH v4 1/1] * gnu/packages/python-xyz (python-parallel): New package.
  2020-10-18 10:29 ` BonfaceKilz
@ 2020-10-18 10:29   ` BonfaceKilz
  2020-10-19  7:52     ` bug#43967: " Efraim Flashner
  0 siblings, 1 reply; 18+ messages in thread
From: BonfaceKilz @ 2020-10-18 10:29 UTC (permalink / raw)
  To: 43967; +Cc: BonfaceKilz, Brett Gilio

---
 gnu/packages/python-xyz.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index d98be1c3b8..9a43061bb3 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -87,6 +87,7 @@
 ;;; Copyright © 2020 Malte Frank Gerdes <malte.f.gerdes@gmail.com>
 ;;; Copyright © 2020 Joseph LaFreniere <joseph@lafreniere.xyz>
 ;;; Copyright © 2020 Tim Gesthuizen <tim.gesthuizen@yahoo.de>
+;;; Copyright © 2020 Bonface Munyoki Kilyungi <bonfacemunyoki@gmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -22332,3 +22333,31 @@ 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 python-parallel
+  (package
+    (name "python-parallel")
+    (version "1.6.4.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://www.parallelpython.com/downloads/pp/pp-"
+             version ".zip"))
+       (sha256
+        (base32
+         "1mzk4yabxj6r149fswhis18hd8dnag5sj8i4wb06450zq3pi8dh7"))))
+    (native-inputs
+     `(("unzip" ,unzip)))
+    (build-system python-build-system)
+    (arguments
+     `(#: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 applications written with PP will parallelize efficiently even on
+heterogeneous and multi-platform clusters (including clusters running other
+applications with variable CPU loads).")
+    (license license:bsd-3)))
-- 
2.28.0





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

* bug#43967: [PATCH v4 1/1] * gnu/packages/python-xyz (python-parallel): New package.
  2020-10-18 10:29   ` [bug#43967] [PATCH v4 1/1] * gnu/packages/python-xyz (python-parallel): New package BonfaceKilz
@ 2020-10-19  7:52     ` Efraim Flashner
  0 siblings, 0 replies; 18+ messages in thread
From: Efraim Flashner @ 2020-10-19  7:52 UTC (permalink / raw)
  To: BonfaceKilz; +Cc: Brett Gilio, 43967-done

[-- Attachment #1: Type: text/plain, Size: 277 bytes --]

I added a comment about no test suite and pushed it. Thanks!


-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

end of thread, other threads:[~2020-10-19  8:08 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-12 18:22 [bug#43967] [PATCH] Add python2-parallel Bonface M. K.
2020-10-13  7:13 ` Efraim Flashner
2020-10-13  8:08   ` Bonface M. K.
2020-10-13  8:19     ` Efraim Flashner
2020-10-16  1:31 ` [bug#43967] [PATCH v2 0/2] " BonfaceKilz
2020-10-16  1:31   ` [bug#43967] [PATCH v2 1/2] * gnu/packages/python-xyz (python-parallel): New package BonfaceKilz
2020-10-16  2:55     ` Brett Gilio
2020-10-16 10:45       ` Bonface M. K.
2020-10-16 23:27         ` Brett Gilio
2020-10-16  1:31   ` [bug#43967] [PATCH v2 2/2] * gnu/packages/python-xyz (python2-parallel): " BonfaceKilz
2020-10-16  2:56     ` Brett Gilio
2020-10-16  2:02 ` [bug#43967] [PATCH v3 0/2] Add python2-parallel BonfaceKilz
2020-10-16  2:02   ` [bug#43967] [PATCH v3 1/2] * gnu/packages/python-xyz (python-parallel): New package BonfaceKilz
2020-10-16  2:02   ` [bug#43967] [PATCH v3 2/2] * gnu/packages/python-xyz (python2-parallel): " BonfaceKilz
2020-10-18 10:25 ` [bug#43967] [PATCH v4 0/1] gnu: Add python2-parallel BonfaceKilz
2020-10-18 10:29 ` BonfaceKilz
2020-10-18 10:29   ` [bug#43967] [PATCH v4 1/1] * gnu/packages/python-xyz (python-parallel): New package BonfaceKilz
2020-10-19  7:52     ` bug#43967: " Efraim Flashner

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