guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 1/1] Factor out a common pattern into a procedure.


From: Ludovic Courtès
Subject: Re: [PATCH v2 1/1] Factor out a common pattern into a procedure.
Date: Mon, 20 Oct 2014 15:34:34 +0200
User-agent: Gnus/5.130011 (Ma Gnus v0.11) Emacs/24.3 (gnu/linux)

Ian Denhardt <address@hidden> 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’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]