all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Ben Woodcroft <b.woodcroft@uq.edu.au>
Cc: "guix-devel@gnu.org" <guix-devel@gnu.org>
Subject: Re: [PATCH] Add MAFFT.
Date: Wed, 16 Sep 2015 22:19:10 +0200	[thread overview]
Message-ID: <87eghyazi9.fsf@gnu.org> (raw)
In-Reply-To: <55F4187B.8020804@uq.edu.au> (Ben Woodcroft's message of "Sat, 12 Sep 2015 22:20:11 +1000")

Ben Woodcroft <b.woodcroft@uq.edu.au> skribis:

> From 0796e8be05977e6d30eab787a1550bd8d1f12b2d Mon Sep 17 00:00:00 2001
> From: Ben Woodcroft <donttrustben@gmail.com>
> Date: Sat, 12 Sep 2015 22:10:20 +1000
> Subject: [PATCH] gnu: Add mafft.
>
> * gnu/packages/bioinformatics.scm (mafft): New variable.

I’ll leave it to Ricardo, but two minor comments:

> +              (substitute* "Makefile"
> +                ;; remove mafft-homologs.rb from SCRIPTS
> +                (("^SCRIPTS = mafft mafft-homologs.rb")
> +                  "SCRIPTS = mafft")
> +                ;; remove mafft-distance from PROGS
> +                (("^PROGS = dvtditr dndfast7 dndblast sextet5 mafft-distance")
> +                  "PROGS = dvtditr dndfast7 dndblast sextet5")
> +                ;; remove mafft-profile from PROGS
> +                (((string-append "splittbfast disttbfast tbfast mafft-profile"
> +                                 " f2cl mccaskillwrap"))
> +                 "splittbfast disttbfast tbfast f2cl mccaskillwrap")
> +                (("^rm -f mafft-profile mafft-profile.exe") "#")
> +                (("^rm -f mafft-distance mafft-distance.exe") ")#")
> +                ;; do not install MAN pages in libexec folder
> +                (((string-append "^\t\\$\\(INSTALL\\) -m 644 \\$\\(MANPAGES"
> +                                 "\\) \\$\\(DESTDIR\\)\\$\\(LIBDIR\\)"))
> +                 "#"))

Maybe not a blocker, but I would really prefer to patterns to be literal
strings.  If they are too long, we can always split the literal over two
lines:

    "like \
this"

> +   (license (license:non-copyleft "file://license"
> +                                  "See license in the distribution."))))

I think this should be something like:

  (license (license:non-copyleft
             "http://mafft.cbrc.jp/alignment/software/license.txt"
             "BSD-3 with different formatting"))

Thanks,
Ludo’.

  reply	other threads:[~2015-09-16 20:19 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-23 12:43 [PATCH] Add MAFFT Ben Woodcroft
2015-07-25 19:26 ` Ricardo Wurmus
2015-07-26  3:10   ` Ben Woodcroft
2015-07-26  9:43     ` Andreas Enge
2015-07-26 10:16       ` Ricardo Wurmus
2015-07-26 10:29       ` Andreas Enge
2015-07-31 22:42         ` Ben Woodcroft
2015-08-25 20:58           ` Ludovic Courtès
2015-09-07  8:55             ` Andreas Enge
2015-09-07  9:07               ` Ricardo Wurmus
2015-09-12 12:20               ` Ben Woodcroft
2015-09-16 20:19                 ` Ludovic Courtès [this message]
2015-09-16 21:09                   ` Ricardo Wurmus

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

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

  git send-email \
    --in-reply-to=87eghyazi9.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=b.woodcroft@uq.edu.au \
    --cc=guix-devel@gnu.org \
    /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 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.