unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Marius Bakke <mbakke@fastmail.com>
To: Ra <ilpuccio.febo@gmail.com>, guix-devel <guix-devel@gnu.org>
Subject: Re: [PATCH] gnu: Add perl-parallel-forkmanager.
Date: Thu, 12 Jan 2017 21:27:24 +0100	[thread overview]
Message-ID: <87tw9458ib.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> (raw)
In-Reply-To: <CACQsWTN4Z3Pv9Ri2c0tLQQRKkbYJsAoS4Po=MfZk_j2vBYxmdg@mail.gmail.com>

[-- 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 --]

  reply	other threads:[~2017-01-12 20:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-12 16:40 [PATCH] gnu: Add perl-parallel-forkmanager Ra
2017-01-12 20:27 ` Marius Bakke [this message]
2017-01-12 23:45   ` Ra
2017-01-13 11:44     ` Marius Bakke

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87tw9458ib.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me \
    --to=mbakke@fastmail.com \
    --cc=guix-devel@gnu.org \
    --cc=ilpuccio.febo@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).