all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [PATCH] gnu: Add perl-parallel-forkmanager.
@ 2017-01-12 16:40 Ra
  2017-01-12 20:27 ` Marius Bakke
  0 siblings, 1 reply; 4+ messages in thread
From: Ra @ 2017-01-12 16:40 UTC (permalink / raw)
  To: guix-devel


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

    * gnu/packages/perl.scm (perl-parallel-forkmanager): New variable.
---
 gnu/packages/perl.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 8f103ec..532e360 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -7770,3 +7770,29 @@ interface to File::Find::Object.")
   (description "Test::TrailingSpace tests for trailing spaces
 in Perl source files.")
   (license x11)))
+
+(define-public perl-parallel-forkmanager
+  (package
+    (name "perl-parallel-forkmanager")
+    (version "1.19")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "mirror://cpan/authors/id/Y/YA/YANICK/Parallel-ForkManager-"
+             version
+             ".tar.gz"))
+       (sha256
+        (base32
+         "0wm4wp6p3ah5z212jl12728z68nmxmfr0f03z1jpvdzffnc2xppi"))))
+    (build-system perl-build-system)
+    (native-inputs
+     `(("perl-test-warn" ,perl-test-warn)))
+    (home-page
+     "http://search.cpan.org/dist/Parallel-ForkManager")
+    (synopsis
+     "A simple parallel processing fork manager")
+  (description "Parallel::ForkManager is intended for use in
+operations that can be done in parallel where the number of
+processes to be forked off should be limited.")
+  (license (package-license perl))))
--
1.9.1

[-- Attachment #1.2: Type: text/html, Size: 2040 bytes --]

[-- Attachment #2: 0001-gnu-Add-perl-parallel-forkmanager.patch --]
[-- Type: application/octet-stream, Size: 1588 bytes --]

From dabe829696c3409390804d054290da8bb1ea392c Mon Sep 17 00:00:00 2001
From: Raoul Jean Pierre Bonnal <ilpuccio.febo@gmail.com>
Date: Thu, 12 Jan 2017 17:32:21 +0100
Subject: [PATCH]     gnu: Add perl-parallel-forkmanager.

    * gnu/packages/perl.scm (perl-parallel-forkmanager): New variable.
---
 gnu/packages/perl.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 8f103ec..532e360 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -7770,3 +7770,29 @@ interface to File::Find::Object.")
   (description "Test::TrailingSpace tests for trailing spaces
 in Perl source files.")
   (license x11)))
+
+(define-public perl-parallel-forkmanager
+  (package
+    (name "perl-parallel-forkmanager")
+    (version "1.19")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "mirror://cpan/authors/id/Y/YA/YANICK/Parallel-ForkManager-"
+             version
+             ".tar.gz"))
+       (sha256
+        (base32
+         "0wm4wp6p3ah5z212jl12728z68nmxmfr0f03z1jpvdzffnc2xppi"))))
+    (build-system perl-build-system)
+    (native-inputs
+     `(("perl-test-warn" ,perl-test-warn)))
+    (home-page
+     "http://search.cpan.org/dist/Parallel-ForkManager")
+    (synopsis
+     "A simple parallel processing fork manager")
+  (description "Parallel::ForkManager is intended for use in
+operations that can be done in parallel where the number of
+processes to be forked off should be limited.")
+  (license (package-license perl))))
-- 
1.9.1


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

* Re: [PATCH] gnu: Add perl-parallel-forkmanager.
  2017-01-12 16:40 [PATCH] gnu: Add perl-parallel-forkmanager Ra
@ 2017-01-12 20:27 ` Marius Bakke
  2017-01-12 23:45   ` Ra
  0 siblings, 1 reply; 4+ messages in thread
From: Marius Bakke @ 2017-01-12 20:27 UTC (permalink / raw)
  To: Ra, guix-devel

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

Ra <ilpuccio.febo@gmail.com> writes:

>     * gnu/packages/perl.scm (perl-parallel-forkmanager): New variable.

Thanks! This looks mostly good, see comments below. Can you send an
updated patch that also includes copyright information? Thanks in
advance!

> ---
>  gnu/packages/perl.scm | 26 ++++++++++++++++++++++++++
>  1 file changed, 26 insertions(+)
>
> diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
> index 8f103ec..532e360 100644
> --- a/gnu/packages/perl.scm
> +++ b/gnu/packages/perl.scm
> @@ -7770,3 +7770,29 @@ interface to File::Find::Object.")
>    (description "Test::TrailingSpace tests for trailing spaces
>  in Perl source files.")
>    (license x11)))
> +
> +(define-public perl-parallel-forkmanager

There is a pledge at the top of perl.scm asking to add packages in
alphabetic order. Can you adjust the location of this expression
accordingly?

> +  (package
> +    (name "perl-parallel-forkmanager")
> +    (version "1.19")
> +    (source
> +     (origin
> +       (method url-fetch)
> +       (uri (string-append
> +             "mirror://cpan/authors/id/Y/YA/YANICK/Parallel-ForkManager-"
> +             version
> +             ".tar.gz"))
> +       (sha256
> +        (base32
> +         "0wm4wp6p3ah5z212jl12728z68nmxmfr0f03z1jpvdzffnc2xppi"))))
> +    (build-system perl-build-system)
> +    (native-inputs
> +     `(("perl-test-warn" ,perl-test-warn)))
> +    (home-page
> +     "http://search.cpan.org/dist/Parallel-ForkManager")
> +    (synopsis
> +     "A simple parallel processing fork manager")

Synopsis should not start with an article. `guix lint` will complain
about this ;-)

Also, the line breaks after home-page and synopsis are not necessary.

> +  (description "Parallel::ForkManager is intended for use in
                   ^^^
                   Please use @code{Parallel::ForkManager} here.

> +operations that can be done in parallel where the number of
> +processes to be forked off should be limited.")
> +  (license (package-license perl))))

Otherwise LGTM!

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

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

* Re: [PATCH] gnu: Add perl-parallel-forkmanager.
  2017-01-12 20:27 ` Marius Bakke
@ 2017-01-12 23:45   ` Ra
  2017-01-13 11:44     ` Marius Bakke
  0 siblings, 1 reply; 4+ messages in thread
From: Ra @ 2017-01-12 23:45 UTC (permalink / raw)
  To: Marius Bakke, guix-devel


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

Hi Marius,

On Thu, Jan 12, 2017 at 9:27 PM Marius Bakke <mbakke@fastmail.com> wrote:

> Ra <ilpuccio.febo@gmail.com> writes:
>
> >     * gnu/packages/perl.scm (perl-parallel-forkmanager): New variable.
>
> Thanks! This looks mostly good, see comments below. Can you send an
> updated patch that also includes copyright information? Thanks in
> advance!
>
> > ---
> >  gnu/packages/perl.scm | 26 ++++++++++++++++++++++++++
> >  1 file changed, 26 insertions(+)
> >
> > diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
> > index 8f103ec..532e360 100644
> > --- a/gnu/packages/perl.scm
> > +++ b/gnu/packages/perl.scm
> > @@ -7770,3 +7770,29 @@ interface to File::Find::Object.")
> >    (description "Test::TrailingSpace tests for trailing spaces
> >  in Perl source files.")
> >    (license x11)))
> > +
> > +(define-public perl-parallel-forkmanager
>
> There is a pledge at the top of perl.scm asking to add packages in
> alphabetic order. Can you adjust the location of this expression
> accordingly?
>
> > +  (package
> > +    (name "perl-parallel-forkmanager")
> > +    (version "1.19")
> > +    (source
> > +     (origin
> > +       (method url-fetch)
> > +       (uri (string-append
> > +
>  "mirror://cpan/authors/id/Y/YA/YANICK/Parallel-ForkManager-"
> > +             version
> > +             ".tar.gz"))
> > +       (sha256
> > +        (base32
> > +         "0wm4wp6p3ah5z212jl12728z68nmxmfr0f03z1jpvdzffnc2xppi"))))
> > +    (build-system perl-build-system)
> > +    (native-inputs
> > +     `(("perl-test-warn" ,perl-test-warn)))
> > +    (home-page
> > +     "http://search.cpan.org/dist/Parallel-ForkManager")
> > +    (synopsis
> > +     "A simple parallel processing fork manager")
>
> Synopsis should not start with an article. `guix lint` will complain
> about this ;-)
>
> Also, the line breaks after home-page and synopsis are not necessary.
>
> > +  (description "Parallel::ForkManager is intended for use in
>                    ^^^
>                    Please use @code{Parallel::ForkManager} here.
>
> > +operations that can be done in parallel where the number of
> > +processes to be forked off should be limited.")
> > +  (license (package-license perl))))
>
> Otherwise LGTM!
>
Thanks for helping me in creating a right patch.
I think I did everything, below and attached the patch.

* gnu/packages/perl.scm (perl-parallel-forkmanager): New variable.
---
 gnu/packages/perl.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 8f103ec..4e8ed9a 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -12,6 +12,7 @@
 ;;; Copyright © 2016 Roel Janssen <roel@gnu.org>
 ;;; Copyright © 2016 Ben Woodcroft <donttrustben@gmail.com>
 ;;; Copyright © 2016 Jan Nieuwenhuizen <janneke@gnu.org>
+;;; Copyright @ 2017 Raoul J.P. Bonnal <ilpuccio.febo@gmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -5014,6 +5015,30 @@ show those variables which are in scope at the point
of the call.  PadWalker
 is particularly useful for debugging.")
     (license (package-license perl))))

+(define-public perl-parallel-forkmanager
+  (package
+    (name "perl-parallel-forkmanager")
+    (version "1.19")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "mirror://cpan/authors/id/Y/YA/YANICK/Parallel-ForkManager-"
+             version
+             ".tar.gz"))
+       (sha256
+        (base32
+         "0wm4wp6p3ah5z212jl12728z68nmxmfr0f03z1jpvdzffnc2xppi"))))
+    (build-system perl-build-system)
+    (native-inputs
+     `(("perl-test-warn" ,perl-test-warn)))
+    (home-page "http://search.cpan.org/dist/Parallel-ForkManager")
+    (synopsis "Simple parallel processing fork manager")
+    (description "@code{Parallel::ForkManager} is intended for use in
+operations that can be done in parallel where the number of
+processes to be forked off should be limited.")
+  (license (package-license perl))))
+
 (define-public perl-params-util
   (package
     (name "perl-params-util")
--
1.9.1

Ciao
--
Ra

[-- Attachment #1.2: Type: text/html, Size: 7217 bytes --]

[-- Attachment #2: 0001-gnu-Add-perl-parallel-forkmanager.patch --]
[-- Type: application/octet-stream, Size: 1970 bytes --]

From 86dbdc6d5097115b393d9df2fbb2139fc7ae48b0 Mon Sep 17 00:00:00 2001
From: Raoul Jean Pierre Bonnal <ilpuccio.febo@gmail.com>
Date: Fri, 13 Jan 2017 00:29:23 +0100
Subject: [PATCH] gnu: Add perl-parallel-forkmanager.

* gnu/packages/perl.scm (perl-parallel-forkmanager): New variable.
---
 gnu/packages/perl.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 8f103ec..4e8ed9a 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -12,6 +12,7 @@
 ;;; Copyright © 2016 Roel Janssen <roel@gnu.org>
 ;;; Copyright © 2016 Ben Woodcroft <donttrustben@gmail.com>
 ;;; Copyright © 2016 Jan Nieuwenhuizen <janneke@gnu.org>
+;;; Copyright @ 2017 Raoul J.P. Bonnal <ilpuccio.febo@gmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -5014,6 +5015,30 @@ show those variables which are in scope at the point of the call.  PadWalker
 is particularly useful for debugging.")
     (license (package-license perl))))
 
+(define-public perl-parallel-forkmanager
+  (package
+    (name "perl-parallel-forkmanager")
+    (version "1.19")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "mirror://cpan/authors/id/Y/YA/YANICK/Parallel-ForkManager-"
+             version
+             ".tar.gz"))
+       (sha256
+        (base32
+         "0wm4wp6p3ah5z212jl12728z68nmxmfr0f03z1jpvdzffnc2xppi"))))
+    (build-system perl-build-system)
+    (native-inputs
+     `(("perl-test-warn" ,perl-test-warn)))
+    (home-page "http://search.cpan.org/dist/Parallel-ForkManager")
+    (synopsis "Simple parallel processing fork manager")
+    (description "@code{Parallel::ForkManager} is intended for use in
+operations that can be done in parallel where the number of
+processes to be forked off should be limited.")
+  (license (package-license perl))))
+
 (define-public perl-params-util
   (package
     (name "perl-params-util")
-- 
1.9.1


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

* Re: [PATCH] gnu: Add perl-parallel-forkmanager.
  2017-01-12 23:45   ` Ra
@ 2017-01-13 11:44     ` Marius Bakke
  0 siblings, 0 replies; 4+ messages in thread
From: Marius Bakke @ 2017-01-13 11:44 UTC (permalink / raw)
  To: Ra, guix-devel

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

Ra <ilpuccio.febo@gmail.com> writes:
> Thanks for helping me in creating a right patch.
> I think I did everything, below and attached the patch.

Thank *you* for contributing, that was quick! I changed the copyright
header to use the "©" symbol and pushed as ce195ba1227 .

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

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

end of thread, other threads:[~2017-01-13 11:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-12 16:40 [PATCH] gnu: Add perl-parallel-forkmanager Ra
2017-01-12 20:27 ` Marius Bakke
2017-01-12 23:45   ` Ra
2017-01-13 11:44     ` Marius Bakke

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

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.