GNU bug report logs - #22808
Add a function to simplify many of the new python2-foo definitions

Previous Next

Package: guix;

Reported by: Christopher Allan Webber <cwebber <at> dustycloud.org>

Date: Thu, 25 Feb 2016 21:15:02 UTC

Severity: normal

Tags: patch

Done: Andreas Enge <andreas <at> enge.fr>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 22808 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Christopher Allan Webber <cwebber <at> dustycloud.org>
Cc: 22808 <at> debbugs.gnu.org
Subject: Re: bug#22808: Add a function to simplify many of the new python2-foo
 definitions
Date: Sat, 27 Feb 2016 00:26:22 +0100
Christopher Allan Webber <cwebber <at> dustycloud.org> skribis:

> Right now we have a lot of these that look very similar:
>
>   (define-public python2-chardet
>     (package
>       (inherit (package-with-python2
>                 (strip-python2-variant python-chardet)))
>       (native-inputs `(("python2-setuptools" ,python2-setuptools)))))

Right, we discussed before adding the python2-setuptools dependency
automatically as part of ‘package-with-python2’.  I think this would be
a good idea, indeed.

We need to see if there are exceptions to this rule.

Any takers?  :-)

Ludo’.




This bug report was last modified 6 years and 172 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.