guix-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 4/6] gnu: python-llfuse: Update to 1.0, keep 0.41 variant.


From: Leo Famulari
Subject: Re: [PATCH 4/6] gnu: python-llfuse: Update to 1.0, keep 0.41 variant.
Date: Sun, 20 Mar 2016 22:49:04 -0400
User-agent: Mutt/1.5.24 (2015-08-30)

On Tue, Mar 15, 2016 at 05:25:58PM +0100, Ludovic Courtès wrote:
> Mathieu Lirzin <address@hidden> skribis:
> 
> > Leo Famulari <address@hidden> writes:
> >
> >> On Tue, Mar 15, 2016 at 11:53:33AM +0300, Alex Kost wrote:
> >>> Leo Famulari (2016-03-15 02:34 +0300) wrote:
> >>> 
> >>> [...]
> >>> >  (define-public python2-llfuse
> >>> > -  (package-with-python2 python-llfuse))
> >>> > +  (package (inherit (package-with-python2
> >>> > +                 (strip-python2-variant python-llfuse)))
> >>> > +    (propagated-inputs `(("python2-contextlib2" 
> >>> > ,python2-contextlib2)))))
> >>> > +
> >>> > +;; For address@hidden
> >>> > +(define-public address@hidden
> >>> 
> >>> All our package variables use '-' to separate name and version.  I think
> >>> this is good choice and we shouldn't use '@' in variable names.
> >>
> >> Okay, I replaced all use of '@' with '-'.
> >>
> >> Is the '@' syntax is only meant to be used on the command line?
> >
> > This syntax has appeared to solve some limitations in the command line
> > interface which was failing to properly match package names containing
> > numbers.
> >
> > I think it is OK to use it elsewhere as long as it does not break
> > things.  However in the case of scheme variables, I think it is not a
> > good idea to use '@' because it could lead people into thinking that
> > there is a strong relation between typing ‘guix build address@hidden and
> > defining a variable named address@hidden
> 
> Furthermore address@hidden (at sign) has a special meaning in Guile (info 
> "(guile)
> Using Guile Modules"), so even though it’s currently valid within an
> identifier, I’d suggest avoiding it.

Thanks for the explanation everybody!

I've made all the requested changes. Any more comments on this patch
series?

> 
> Ludo’.



reply via email to

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