From: ludo@gnu.org (Ludovic Courtès)
To: Ian Denhardt <ian@zenhack.net>
Cc: guix-devel@gnu.org
Subject: Re: [PATCH v2 1/1] Factor out a common pattern into a procedure.
Date: Mon, 20 Oct 2014 15:34:34 +0200 [thread overview]
Message-ID: <87fveix3th.fsf@gnu.org> (raw)
In-Reply-To: <d0595e4c909975c5ffcbcc72c1b42403965d5c30.1413756380.git.ian@zenhack.net> (Ian Denhardt's message of "Sat, 18 Oct 2014 22:03:42 -0400")
Ian Denhardt <ian@zenhack.net> skribis:
> The procedure version-prefix truncates a version string to a certain
> number of components. version-major+minor is a special case of this,
> which extracts the "major.minor" part of the string. Previously this
> was handled by an expression common to several packages.
>
> * guix/utils.scm (version-prefix, version-major+minor): New procedures
> * gnu/packages/backup.scm (duplicity): Use version-major+minor.
> * gnu/packages/cmake.scm (cmake): Likewise.
> * gnu/packages/gnome.scm (libbonobo, libbonoboui): Likewise.
> * gnu/packages/gnutls.scm (gnutls): Likewise.
> * gnu/packages/mail.scm (gmime): Likewise.
> * gnu/packages/mpd.scm (mpd): Likewise.
> * gnu/packages/mpi.scm (openmpi): Likewise.
Thanks, pushed! I’ve made the subject line more explicit.
Also, note that the paragraph above isn’t strictly necessary because
these procedures have docstrings anyway.
Ludo’.
next prev parent reply other threads:[~2014-10-20 13:34 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-19 22:06 [PATCH v2 0/1] Factor out a common pattern into a procedure Ian Denhardt
2014-10-19 2:03 ` [PATCH v2 1/1] " Ian Denhardt
2014-10-20 13:34 ` Ludovic Courtès [this message]
2014-10-20 18:47 ` Ian Denhardt
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=87fveix3th.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=guix-devel@gnu.org \
--cc=ian@zenhack.net \
/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.